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
swfobject
or any other standard library toembed
your swf. (swfobject) - Use 'allowscriptaccess=always'
- Give proper
id
andname
to the embed tag id
andname
attribute 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"