Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Posts: 19
Registered: ‎06-08-2011
My Device: Playbook
My Carrier: 12345

ExternalInterface.call does not work on Playbook



 I have created swf file which uses

ExternalInterface.call("window.alert", "test");

but it does not seem to work on playbook. 


I have also seen if the ExternalInterface is available on playbook and it gives me a true value, which means it is available on playbook.


var isAvailable:Boolean = ExternalInterface.available

var availTxt:TextField = new TextField();


availTxt.text = "Checking---"+isAvailable.toString();





Also added  --------flash.system.Security.allowDomain("*");----in my flash file and 

<param name="allowScriptAccess" value="always" />  

for my html file. I need this function to send a value from flash to html using javascript.


Is there anything else that I need to do so that my script works. 


Thank You.


Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,
My Carrier: T-Mobile UK, Three, O2, Orange, Sunrise, Swisscom

Re: ExternalInterface.call does not work on Playbook

Seeing that this is an Actionscript question, wouldn't it be best to post it in the Tablet OS AIR forum?

Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Posts: 11
Registered: ‎03-29-2011
My Device: Bold 9700
My Carrier: Developer

Re: ExternalInterface.call does not work on Playbook

hm... I thinks, that it is webworks problem.

I tried to use ExternalInterface in my webworks project too.

And seems that it doesn't works properly.

Any comment from RIM developers?

Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: ExternalInterface.call does not work on Playbook

External interface is currently not working with Flash when you are browsing a local page hosted in your WebWorks application. If your WebWorks application is bringing in the page from a remote source then ExternalInterface works.


It appears to be some kind of origin/security issue when the Flash player see's that the content is from a local source.  We have been working with the Browser and Flash team but have not yet found a solution.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
New Developer
Posts: 25
Registered: ‎09-13-2012
My Device: Playbook, Z10, Z30, Q10, Q5
My Carrier: None

Re: ExternalInterface.call does not work on Playbook

any news regarding this issue?
will work for bb10?




I am in a strange new world...