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
Contributor
philipm
Posts: 12
Registered: ‎03-25-2011
My Device: 9800
My Carrier: Unknown

Problem with HelloWorld Application

Hi

 

Ive only set up Flash Builder Burrito today and have been trying to take out the following tutorial:

 

http://docs.blackberry.com/en/developers/deliverables/25068/Create_a_Flash_project_FB45_1397366_11.j...

 

When I try to run it however, I get the following error:

 

 

Error occurred while packaging the application:
Packaging failed:1
C:\Users\pmcparlane\Adobe Flash Builder Burrito Preview\HelloWorld\bin-debug\HelloWorld-app.xml: error 302: Root content HelloWorld.swf is missing from package
Error: AIR validation failed

 

Error occurred while packaging the application:
Packaging failed:1C:\Users\pmcparlane\Adobe Flash Builder Burrito Preview\HelloWorld\bin-debug\HelloWorld-app.xml: error 302: Root content HelloWorld.swf is missing from packageError: AIR validation failed

 

Any ideas?


Thanks

Phil

Please use plain text.
Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Problem with HelloWorld Application

[ Edited ]

In your app.xml file, do you have the name of the SWF file (full file name) in the <content> tag?

 

 

Please use plain text.
Contributor
philipm
Posts: 12
Registered: ‎03-25-2011
My Device: 9800
My Carrier: Unknown

Re: Problem with HelloWorld Application

Absolute silly mistake on my part. Named the class differently to the class file name.

 

Thanks anyway

Please use plain text.