PDA

View Full Version : [mx] Actionscript Link in Textfield



chr.ruetgers
February 7th, 2003, 04:17 AM
In textfields it's possible to insert a HTML-style link. Is there any solution to activate a actionscript function from a link like this in the text?

I would like to load another text into the textfield when clicking a word into the text.

Thanks in advance,

senocular
February 7th, 2003, 08:21 AM
you would use ASFunction
it was an undocumented feature of Flash 5, but its known of now...

http://www.macromedia.com/support/flash/ts/documents/asfunction.htm

:)