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

Adobe AIR Development

Reply
New Contributor
glaeken
Posts: 4
Registered: ‎06-17-2012
My Device: None
My Carrier: None

Game from Flash Professional to Blackberry Playbook

Hello,

 

I have developed a game entirely in Adobe Flash Professional with AS3 and I want to export it so that it can be a bar file and thus test it in the Playbook Simulator. I'm working on a MAC running the Simulatior with VMWare fusion. I tried following the steps listed here http://supportforums.blackberry.com/t5/Adobe-AIR-Development/Tips-Definitive-guide-to-AIR-apps-for-p... but some things are out of date. I've managed to create a .bar file, but when I deploy it to the Simulator it launches and immediately quits (goes back to the icon list) without showing a single frame.

 

Is there a way or an up-to.date tutorial online which can help me take my Flash game to the Playbook?

 

Thanks.

Please use plain text.
New Contributor
glaeken
Posts: 4
Registered: ‎06-17-2012
My Device: None
My Carrier: None

Re: Game from Flash Professional to Blackberry Playbook

UPDATE: I found this tutorial http://uimbibe.com/video/1W5XX7MKXRRB/Use-Flash-Professional-to-Publish-Apps-for-the-BlackBerry-Play... and I managed to follow all the steps. The bar file is succesfully created and launched in Blackberry Simulator but as soon as it does it closes. I never get to see the game I made. 

 

Is there anything I'm doing wrong?

Please use plain text.
Contributor
shevbg
Posts: 33
Registered: ‎01-15-2011
My Device: Not Specified

Re: Game from Flash Professional to Blackberry Playbook

I'm looking into doing the same thing and am looking for the best solution. What I was thinking of doing is export the game from Flash Pro into a .swf file and then loading it in a Flash Builder ActionScript mobile project..

Please use plain text.
Developer
pyth
Posts: 506
Registered: ‎01-19-2011
My Device: My Trusty Red Plane
My Carrier: Outer Space

Re: Game from Flash Professional to Blackberry Playbook

There are a lot of things that could actually be wrong, which is why your .bar-file immediately closes. Unfortunately, you aren't using any programming interface, which makes it hard to debug, to corner your error. In any case, if your .swf-file runs perfectly on desktop, but refuses to work as a .bar, what comes to my mind are the following things:

 

- your XXXX-app.xml is incorrect

- you specified an icon that does not exist or cannot be found

- you specified a splashscreen that does not exist or cannot be found

- your blackberry-tablet.xml contains incorrect fields

- you use higher specs than the playbook has, e.g. Stage3D or the newest AIR versions

 

if you know a bit AS3, you could try to create a new AS3-Project, embed your .swf directly and load it directly (never done that though). If you use FlashBuilder, it handles the packaging for you

-----------------------------------------------------------------------
I'm a bird from outer space. But I'm not flappy o.o
Please use plain text.
BlackBerry Development Advisor (Retired)
dmalik
Posts: 427
Registered: ‎02-22-2012
My Device: BlackBerry Z10, BlackBerry Dev Alpha C, BlackBerry PlayBook
My Carrier: Bell

Re: Game from Flash Professional to Blackberry Playbook

Here is a new tutorial I just created covering how to do this for BlackBerry 10. The steps are the same for PlayBook - http://supportforums.blackberry.com/t5/Adobe-AIR-Development/How-to-Create-a-BlackBerry-10-AIR-Appli... 

 

Regards,
Dustin 

Follow me on Twitter: @dustinmalik
-----------------------------------------------------------------------------------------------------
Keep up to date on BlackBerry development: http://devblog.blackberry.com/
Please use plain text.