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 Developer
Posts: 7
Registered: ‎02-10-2011
My Device: Not Specified
Accepted Solution

Missing AIRHelloWorld.swf

I have Adobe Flash Builder 4.0.1 and the latest 0.9.3 versions of both the simulator and the SDK running on Windows 7...

 

I follow the instructions from the guide, but when I try to debug the project the compiler gives me the error:

 

"............\Adobe Flash Builder 4\AIRHelloWorlld\bin-debug\AIRHelloWorld.swf does not exist"

 

What am I missing?

Developer
Posts: 40
Registered: ‎07-20-2010
My Device: Not Specified

Re: Missing AIRHelloWorld.swf

 

did you change the extension of the file to .as  ... else the code won't compile

New Developer
Posts: 7
Registered: ‎02-10-2011
My Device: Not Specified

Re: Missing AIRHelloWorld.swf

 I did. The name of the file is "AirHelloWorld.as" where I put the code.

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

Re: Missing AIRHelloWorld.swf

Should be in the /src directory (default package), and in the properties screen, under Flex Applications, make certain that renamed AS file is the "default".

New Developer
Posts: 7
Registered: ‎02-10-2011
My Device: Not Specified

Re: Missing AIRHelloWorld.swf

Thank you for the help.... checked all that and it looks to bo OK as is.

 

The AIRHelloWorld.as file is located in src/(default package)

 

It is also marked as default on the properties screen under Flex Applications.

 

But I noticed that under the Problems tab, it says:

 

-------------------------------

Description Resource Path Location Type
unable to open 'C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\blackberry-tablet-sdk-0.9.3\frameworks\libs\mx' AIRHelloWorld Unknown Flex Problem

-------------------------------

There is no "mx" in the libs directory.... Might I have made a misstake installing?

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

Re: Missing AIRHelloWorld.swf

Try creating a new project from scratch and be certain to rename the default source file from MXML to AS.  Like:

 

Helloworld.mxml  to Helloworld.as

 

In the wizard (believe it is the second to last step in the wizard).

 

If you still get the problems, then re-install the SDK.

New Developer
Posts: 7
Registered: ‎02-10-2011
My Device: Not Specified

Re: Missing AIRHelloWorld.swf

Thank you.....

 

I had alreday tried to redo the hello world example almost ten times, so I decided to redo the installation directly instead. AND I also downloaded the AIR 2.5 SDK separately and pointed the installation of the Blackberry SDK to it during the installation, which I didn't do when I installed the first time. I am not sure if that was the thing that did it, but now it works.

 

Thank you all for the help!

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

Re: Missing AIRHelloWorld.swf

Glad to hear it.  That's what I have too, a standa long folder of just AIR 2.5.  Makes updateing the BB SDK a lot easier.