Common SWF questions: How can I call a Javascript function?To call Javascript from Actionscript, it's a simple as this: The AS2 / AS3 (Both are the same)var msg1:String = "Hello"; This example above passes two variables to the function. The JavascriptPut the following just before the closing head tag in HTML: <script type="text/javascript"> The result |
Site content Copyright © 2001-2014 Galaxy Graphics Limited. | Privacy Policy | Terms of use |