[Flashcoders] call AS function from html links

2010-04-06 Thread Andrew Sinning
In AS2, is there a straightforward way to use the TextFormat.url and TextFormat.target properties to call an AS function when a user clicks on a text fields? This seems like it should be a pretty basic function. I want to have some text with some hyperlinks, but the hyperlinks need to call

RE: [Flashcoders] call AS function from html links

2010-04-06 Thread Merrill, Jason
AS function from html links In AS2, is there a straightforward way to use the TextFormat.url and TextFormat.target properties to call an AS function when a user clicks on a text fields? This seems like it should be a pretty basic function. I want to have some text with some hyperlinks

Re: [Flashcoders] call AS function from html links

2010-04-06 Thread Glen Pike
Hi, You can use the asfunction parameter inside a a tag in AS2 - since Flash 5 http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary073.html Slightly different, but hopefully it shouldn't be too difficult to work in? Glen Andrew

Re: [Flashcoders] call AS function from html links

2010-04-06 Thread Andrew Sinning
Thanks a lot. You'd think this would be mentioned in the docs for TextFormat.url or TextFormat.target. Glen Pike wrote: Hi, You can use the asfunction parameter inside a a tag in AS2 - since Flash 5