http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=kb400730
http://tutorials.lastashero.com/2005/10/understanding_externalinterfac.html
http://blog.deconcept.com/2005/08/16/external-interface/
ExternalInterface has some limitations:
- The ExternalInterface class requires you, the developer, to write a library of extra code in both ActionScript and JavaScript, to expose the functionality of your Flex application to JavaScript, and vice versa.
- The ExternalInterface class also limits what you can pass across the gap – primitive types, arrays, and simple objects are legal, but user-defined classes, with associated properties and methods, are off-limits.
- The ExternalInterface class enables you to define an interface so your JavaScript can call your ActionScript – FABridge essentially lets you write JavaScript instead of ActionScript.
No comments:
Post a Comment