Greetings Everyone,
I would like to create a PopUpRenderer with a button as it's content. I'm not seeing any clear way to add a button that run's it's own function when clicked. Any forwarded insight will be greatly appreciated.
Thanks, Tyler
Solved! Go to Solution.
Tyler,
So for that you need to edit the PopUpRendererSkin.mxml as I mentioned earlier. There are several thread talking about how to do this. Here is one:
Tyler,
Are you asking for a popup that ONLY has a button or are you asking how to add a button to a popup (like the Zoom To button)? Either way this would involve editing the PopUpRendererSkin.mxml from the Flex API.
I need to be able to add a button and some instructional text to the popup. Basically, I want to create an 'Add' button to the popup so that I can kick off a function that will add the graphic to a feature layer. Something like the ZoomTo button would be great but I would have to be able to attach my function to the onClick event.
Thanks.
Tyler
Tyler,
So for that you need to edit the PopUpRendererSkin.mxml as I mentioned earlier. There are several thread talking about how to do this. Here is one:
Thanks.