issit possible to include javascript in flash?? pls tell mi!! thanx!!
You can use JavaScript in this way: In HTML where swf is embedded, write java script function: Code: <HTML> <HEAD> <TITLE>Test</TITLE> <script language="JavaScript"> <!-- function myFunction(){ } //--> </script> </HEAD> <BODY bgcolor="#FFFFFF"> </BODY> </HTML> and in Flash use (in frame, or in button): Code: getURL("JavaScript: myFunction()") and that`s all my friend...:-) ZeroIQ
<HTML> <HEAD> <TITLE>Test</TITLE> <script language="JavaScript"> <!-- function myFunction(){ } //--> </script> </HEAD> <BODY bgcolor="#FFFFFF"> </BODY> </HTML>
getURL("JavaScript: myFunction()")
Yes, read this..... http://www.macromedia.com/support/fl...ts/tn4160.html
Forum Rules