javascript

See here pages with javascript tag :

PageDateUserDescriptionDiscussionTags
Calling a JavaScript function from ActionScript 2007/12/12 20:52   flashjs, tutorial, javascript Again, make sure all four of the required JavaScript files are included in the HTML page that contains the JavaScript function you want to invoke. <script type="text/javascript" src="Exception.js"></script> <script type="text/javascript" src="FlashTag.js"></script> <script type="text/javascript" src="FlashSerializer.js"></script> <script type="text/javascript" src="FlashProxy.js"></script> 24 Comments , ,
Calling an ActionScript function from JavaScript 2007/10/24 06:48   flashjs, tutorial, javascript To call an ActionScript function from JavaScript, make sure the four required JavaScript files are included in your HTML page like this: <script type="text/javascript" src="/ci/jsflash/JavaScriptFlashGateway.js"></script> 6 Comments , ,
Getting Return Values from Function Calls 2007/02/21 03:33   flashjs, tutorial, javascript This page shows a simple example of how to get return values from JavaScript when calling a JavaScript function from Flash. The same technique works when getting return values from Flash when calling a Flash function from JavaScript, but you just reverse the function order.   , ,
Receiving a function call from Flash within JavaScript 2007/02/21 03:31   flashjs, tutorial, javascript You don't have to do anything special in your JavaScript code in order to receive function calls from Flash. As long as the required JavaScript files are included in the page, JavaScript functions can be invoked from Flash with any number of arguments.   , ,
Receiving a function call from JavaScript within Flash 2007/02/21 03:32   flashjs, tutorial, javascript In order to allow JavaScript to call functions within your Flash content, you need to create an instance of the JavaScriptProxy class and specify the object that functions will be proxied to. import com.macromedia.javascript.JavaScriptProxy; var proxy:JavaScriptProxy = new JavaScriptProxy(_root.lcId, this); 24 Comments , ,
Retrieving JavaScript Browser Info from ActionScript 2007/02/21 03:33   flashjs, tutorial, javascript The example below shows how to retrieve JavaScript Browser info from ActionScript. ActionScript (browser_info.swf) import com.macromedia.javascript.*; var proxy:JavaScriptProxy = new JavaScriptProxy(_root.lcId, this); function getBrowserInfo():Void { proxy.call("getBrowserInfo"); } function getBrowserInfoReturn(browser:Object):Void { //can get more info from System.capabilities for(var x:String in browser) { trace(x + " : " + browser[x]); } } getBr… 22 Comments , ,

RSS Feed for javascript tag.

You could leave a comment if you were logged in.
 
tags/javascript.txt · Last modified: 2007/02/21 03:31 (external edit)
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki