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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Adobe AIR Development

Reply
Contributor
NicholasLEby
Posts: 33
Registered: ‎12-23-2010
My Carrier: vodaphone

Re: Simulator Errors

Thanks :smileyhappy: You are very helpful.  i set the info (height - width - frame) in standard properties of Flash Professional CS5. 

 

As far as programmatically, no, not setting a explicit scaleMode, or align, or anything, should I be? No metadata tag - wasn't aware I needed that using Flash Pro.

 

Thats good to know about Tweener, wasn't ware PB already had it, i'm using TweenMax, but will be very easy to switch to Tweener (Tweener was an old fav of mine in my Flash days)

 

Thanks again.

Please use plain text.
Developer
JRab
Posts: 2,462
Registered: ‎11-04-2010

Re: Simulator Errors

[ Edited ]

UPDATE: If you are looking for the solution to the original question asked it is as follows:


peter9477 wrote:

It sounds like it's the switch to Flash Professional which is causing troubles, not your own code.  Still, to make sure, can you (if you haven't already) build that same Hello World app in the new IDE and try again?

 

It also doesn't sound like you are probably anywhere near having the problem with oversize manifests.  Still, to help you learn: the .bar file package that gets created is really just a .zip file with a different file extension.  If you extract that (make a backup, then rename one of them to have a .zip extension, then unzip, or just use your usual unzip application) you'll see two folders inside, one with the MANIFEST.MF file in it, and the other called air/ and containing all your .swf files and other assets.  The manifest file is just a text file that tells the system what it should expect to find in the .bar file, including "hashes" for each file so the integrity of the data can be checked as it's installed in the PB.


 

Followed Up By:


NicholasLEby wrote:

OK OK OK great news. After doing the HelloWorld, I decided to delete the airi, xml, bar and swf of old file, and regenerate them all to start fresh, and it works! :smileyhappy: [...]

 

Thanks!


 

As for anyone looking for the solution to distorted screen size, it is as follows:

 

hey,

 

this problem was brought up or something similar to it about a week ago. but may be helpful to you. in the following thread a user experienced the same problem and modified their xml file to fix the sizing issue:

 

http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-Adobe-AIR/Simulator-screen-width-crunched-w...

 

hope that helps. good luck!

J. Rab (Blog) (Twitter)
--
1. If you liked my post or found it useful please click on the thumbs up and provide a Like!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!

Approved Apps: OnTrack | ssShots | Hangman
Please use plain text.
Developer
peter9477
Posts: 5,617
Registered: ‎12-08-2010
My Carrier: none

Re: Simulator Errors

Nicholas, note that each topic can have only one accepted Answer, which means that people looking at your initial question and clicking on "View the Solution" will get to JRab's response, which was actually an answer to your followup question (which probably should have been posted as a separate question, per forum convention, which I now see must be to avoid exactly this of problem).

Peter Hansen -- (PlayBook and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.
Contributor
NicholasLEby
Posts: 33
Registered: ‎12-23-2010
My Carrier: vodaphone

Re: Simulator Errors

Peter, yea good point - sorry, i'm not big into Forums, last forum I belongs to was gotoAndLearn a few years back, but what you said make perfect sense. Anyway can I change it, I don't think so?

Please use plain text.
Developer
JRab
Posts: 2,462
Registered: ‎11-04-2010

Re: Simulator Errors

[ Edited ]

hey Nicholas,

 

dont sweat it! you're new here so no worries. i've updated my post with the answer peter gave from the older post along with your follow up. hopefully this will clear up any confusion.

 

good luck with the rest of your playbook development!

J. Rab (Blog) (Twitter)
--
1. If you liked my post or found it useful please click on the thumbs up and provide a Like!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!

Approved Apps: OnTrack | ssShots | Hangman
Please use plain text.
Contributor
NicholasLEby
Posts: 33
Registered: ‎12-23-2010
My Carrier: vodaphone

Re: Simulator Errors

[ Edited ]

Hey guys! Happy Holidays! About finished with my PlayBook App, before I try to submit to Blackberry anyone wanna critique it / make suggestions? I exported it for the desktop so you guys can use it. Simple Dribbble api app, pulls content, displays it, hopefully will be first dirbbble app on playbook! :smileyhappy: 

 

http://cl.ly/3lTG

 

Thanks!

Please use plain text.