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
Developer
jocala
Posts: 51
Registered: ‎03-17-2011
My Device: Playbook
Accepted Solution

Design mode

I'm converting an air app I have running on my Samsung Epic. Unfortunately, it's mxml-wrapped AS.

 

When I attempt design mode in Burrito I get the error: "Design mode could not load qnx-air.swc. It may be incompatible with this SDK, or invalid."

 

Is there a way around this?  Or do I need to convert my app to pure AS?

 

 

 

 

Developer
thesmileman
Posts: 345
Registered: ‎03-13-2011
My Device: Playbook

Re: Design mode

I think I remember an intro document saying it needs to be AS. With that said there may be a way around it.
Developer
jocala
Posts: 51
Registered: ‎03-17-2011
My Device: Playbook

Re: Design mode

It will run on the simulator as is. However, I have no way to design except to edit mxml by hand. 

Developer
thesmileman
Posts: 345
Registered: ‎03-13-2011
My Device: Playbook

Re: Design mode

Here is another post which talks about using mxml or actionscript which may provide some in site.
http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-Adobe-AIR/BB-playbook-offer-MXML-vs-Air/m-p...
Developer
jocala
Posts: 51
Registered: ‎03-17-2011
My Device: Playbook

Re: Design mode

Thanks for the links. Much study needed. My app runs perfectly, but it still thinks it's on a phone. It's landscape mode only, but it expands to the entire size of the device which is overkill on a tablet. 

 

I need to find a way to control the apps height & width. Can anyone point me in the right direction?.

 

 

 

 

 

 

 

 

 

Developer
thesmileman
Posts: 345
Registered: ‎03-13-2011
My Device: Playbook

Re: Design mode

[ Edited ]

 

[SWF(width="1024", height="600", backgroundColor="#000000", frameRate="30")] 

Change the width and height as you want them but I don't see why you want to do that.

 

Developer
jocala
Posts: 51
Registered: ‎03-17-2011
My Device: Playbook

Re: Design mode

Perhaps I wasn't clear. When run, my application fills the entire screen of the simulator, top to bottom. I want the app's initial display window smaller. Do all playbook apps run full-screen?

Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10

Re: Design mode

All apps run full screen.

Developer
jocala
Posts: 51
Registered: ‎03-17-2011
My Device: Playbook

Re: Design mode

Thanks!

Visitor
troyatta
Posts: 1
Registered: ‎06-28-2011
My Device: 7100t

Re: Design mode

[ Edited ]

This is very informative post for me as well.These kind of healthy discussion impact a lot on reader

 

 

______________________________________________________________________________

Joomla Templates | Website Templates | CSS Templates