Hi I wish I could open a Pop Up Window with html code to add a disclaimer from a button inside widget I created.
It should look like what happen when I click a button you can add from HeaderControllerWidget.mxml....configuring the xml file...how can I use it?
Thanks
Naty
<links> | ||
<link> | ||
<content> | ||
<![CDATA[ | ||
<p align='center'> | ||
<img src='assets/images/globe.png'/> | ||
<br/> | ||
<br/> | ||
<font size="+2"><b><a href="http://links.esri.com/flexviewer" target='_blank'>ArcGIS Viewer for Flex</a></b></font> | ||
</p> | ||
]]> | ||
</content> | ||
</link> | ||
<link label="Privacy Statement" url="dpo.pdf"/> | ||
</links> |
Naty,
If you look at the HeaderController Widget code you will see that the about link launches and uses the HTMLPopup.mxml. So all your widgets button would need to do is something like this:
import com.esri.viewer.components.HTMLPopup;
HTMLPopup.show("Your HTML Content",
"Close",
"300",
"500");
Thanks Robert....This fixed my problem.