This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > November 2007 > flash+js





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author flash+js
davidros

2007-11-06, 6:14 am

Hi!

How can I make a flash button call and execute an external javascript file?

on (release) {
?????
}
Rob Dillon

2007-11-08, 6:15 pm

on(release) {
getURL("javascript:functionName()");
}

is the simplest. If you are using Flash 8 or 9 then you can alternately use ExternalInterface() method to call a JS function.
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews