How do I send an event from a click on an image in a textfield? Clicking on the
actual text fires the event, but it doesn't fire when clicking on an image from
the library placed inline:
pageText.displayValue.htmlText = '<p><a href="event:a1"><b><img src="plus"
/>Our world-class scientists</b></a></p>';
pageText.displayValue.addEventListener(TextEvent.LINK, toggleVisibility);
function toggleVisibility(e:Event) {
trace('text event triggered');
}
Thanks!
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders