all groups > flash actionscript > july 2004 >
You're in the

flash actionscript

group:

Call Actionscript function from hyperlink


Call Actionscript function from hyperlink Whittaker007
7/19/2004 10:51:20 PM
flash actionscript:
Hi there,

I am loading HTML text from an external file. I want to be able to use a
hyperlink in the HTML text to call an Actionscript function rather than open a
browser window. I intend to play the Flash movie as a standalone executable, so
I can't use fscommand to call javascript on the host page to pass the function
all back to Flash (which would be a hacky way to do it anyway). Is there a way
to do this?

Thanks,

Scott
Re: Call Actionscript function from hyperlink Whittaker007
7/19/2004 10:56:06 PM
Re: Call Actionscript function from hyperlink Whittaker007
7/19/2004 11:07:38 PM
....and now I've answered my own question. If you are reading this beacuse you have a similar problem, the answer is to use asfunction like so:

Re: Call Actionscript function from hyperlink Whittaker007
7/19/2004 11:10:39 PM
aahm, that should be:

AddThis Social Bookmark Button