View Full Version : embeding the OtheR script......
how do i embed some java script into a button state???
all right .so i use the FScommand in the scripts command???
Jesse
05-09-2001, 05:01 AM
No, you put the script in the HTML page and trigger it via button using getURL and the "javaScript://" syntax, see the example in this tutorial:
http://www.actionscripts.org/tutorials/beginner/spawn_browser/index.shtml
That button triggers a javascript embeded in the parent HTML document of the Flash file.
Cheers
Jesse
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.