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
26filip
Posts: 220
Registered: ‎01-30-2011
My Device: Dev Alpha C, Z10 LE
My Carrier: Orange Poland
Accepted Solution

Packaging application - question

If I have in src folder of my app in Adobe Flex Builder 4 some images, must I it add to bar file during packaging? Or images are in swf file?
All time online :smileyvery-happy:
Please use plain text.
Developer
EraserX
Posts: 168
Registered: ‎01-13-2011
My Device: Not Specified

Re: Packaging application - question

I'm 99% sure you need to add it.  To check, simply take the .bar file that Flashbuilder makes, change the extension to .zip, and open it up.  If you see your images, then they weren't packaged into the swf so you need to include them.

Please use plain text.
Developer
26filip
Posts: 220
Registered: ‎01-30-2011
My Device: Dev Alpha C, Z10 LE
My Carrier: Orange Poland

Re: Packaging application - question

Yes, they are. Thaks for help.
All time online :smileyvery-happy:
Please use plain text.
Developer
jffurlan
Posts: 1,003
Registered: ‎01-16-2011
My Device: PlayBook (sim)
My Carrier: Rogers

Re: Packaging application - question

Two options you can do to not have to list each image separately:

1) embed each image in your code
2) put all your images in a folder (ie: "assets") under src. Then, when you're packaging via cmd line just add "assets" to the end and it will package everything in that folder
- If you like my response/post, or it helped you find an answer you were looking for, please provide a Kudo - white star to the bottom right of this post. -
- Please use the search bar at the top, or check out the PlayBook FAQ's for help getting started -
- Hockey DrillBook -
Please use plain text.
Developer
26filip
Posts: 220
Registered: ‎01-30-2011
My Device: Dev Alpha C, Z10 LE
My Carrier: Orange Poland

Re: Packaging application - question

Ok. Thanks for help.
Now I must repack my app. Is the bar file, that Adobe Flex Builder 4 made, ready to sign?
All time online :smileyvery-happy:
Please use plain text.
Developer
jffurlan
Posts: 1,003
Registered: ‎01-16-2011
My Device: PlayBook (sim)
My Carrier: Rogers

Re: Packaging application - question

I'm not sure as I use burrito and packaged via cmd
- If you like my response/post, or it helped you find an answer you were looking for, please provide a Kudo - white star to the bottom right of this post. -
- Please use the search bar at the top, or check out the PlayBook FAQ's for help getting started -
- Hockey DrillBook -
Please use plain text.