Flex Externalinterface Callback
Flex: public function callFromJavaScript():String { test.label='dfdsfsdf'; return '1'; } public function init():void { ExternalInterface.addCallback('sendToFla
Solution 1:
ExternalInterface functions are know to have issues across browsers and operating systems. Some of the recommendations are,
- User
swfobjector any other standard library toembedyour swf. (swfobject) - Use 'allowscriptaccess=always'
- Give proper
idandnameto the embed tag idandnameattribute should be always same.- If your swf file is coming from a different domain than the html page, use
Security.AllowDomain('domain-of-html-page.com')
Post a Comment for "Flex Externalinterface Callback"