Welcome!

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

Web and WebWorks Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
Posts: 160
Registered: ‎03-12-2011
My Device: PlayBook♥
My Carrier: eplus
Accepted Solution

BlackBerry 10 and Flash: Opening a URL

Hi guys,

 

I'm working on an app for BB10 and PlayBook right now.

It's pretty much done and we'd be ready to release. But there's that 1 error we have to fix:

 

The html5 app has a flash app, embedded like this:

 

<embed src="game.swf" id="frame" allowfullscreen="false"></embed>

 

The problem is probably a permission problem:

This file, offline, won't open external URLs. Taking a .swf that's online opens the URLs just right.

I guess it's the same as in Chrome: as long as the flash file is local, I get a permission error:

 

Adobe Flash has stopped a possibly insecure action:

The following local file on your computer:

/Users/florianerlemann/Dropbox/Public/wyb/z10/game.swf

tried to communicate with this file:

/Users/florianerlemann/Dropbox/Public/wyb/z10/index.html

 

 

In chrome you can change the settings so that it works.

Is there a way for me to get this working?


Any answer is appreciated!! 

Flo

----------
Please give free Likes if I helped you out! Smiley Happy
Highlighted
Developer
Posts: 160
Registered: ‎03-12-2011
My Device: PlayBook♥
My Carrier: eplus

Re: BlackBerry 10 and Flash: Opening a URL

I found the solution myself for BB10. But it doesn't work for PlayBook:

It's an Adobe security problem that doesn't allow the .swf to access the network. That can be solved by going into publish settings in Flash Pro and change the option "only access local files" to "only access network files".

Hope it helps the community!
Flo
----------
Please give free Likes if I helped you out! Smiley Happy