I have an arrow image I want to pass a URL to dynamically. This image is in a movie where the content comes in via an XML and scrolls through a number of messages. Each message has its own destination URL, and I want this URL to be attached to the existing arrow so that the arrow image is a link. How do I do this?
If this was just a textfield I’d do something like this:
var myURL:String = “<a href=’” + URLfromXML + "’> + someText + “</a>”;
field.htmlText = myURL;
But of course this won’t work since this isn’t a text field, it’s an image. Right now the image is a gif but it could easily be made into a movie clip or button.