Want to do Popups using text taken from XML file.
Posted on 2011-05-12
I am currently reading the content of an XML file to populate a Textfield in Flash.
However, I would like to be able to add mouseover/mouseclick popup actions to selected/highlighted text .
While general html works, i dont think Div popup works. The following code inserted into my xml text doesnt not work :
<div id="simplediv" style="background-color:yellow;border:1px solid black;display:none;width:200px;height:200px;">Click anywhere in the document to auto-close me</div>
<a href="#" onclick="Popup.show('simplediv');return false;">Click Here To Show DIV</a>
My other option maybe is to create the popups using MovieClips. However, I would still need to know that my mouse is hovering on a specific text for me to call it.
Any ideas/pointers I can set myself off to?