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
New Developer
warhoon
Posts: 6
Registered: ‎02-10-2011
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?

Please use plain text.
Developer
ashish117
Posts: 40
Registered: ‎07-20-2010

Re: Missing AIRHelloWorld.swf

 

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

Please use plain text.
New Developer
warhoon
Posts: 6
Registered: ‎02-10-2011

Re: Missing AIRHelloWorld.swf

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

Please use plain text.
Developer
jtegen
Posts: 6,148
Registered: ‎10-27-2010
My Carrier: AT&T

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".

Please use plain text.
New Developer
warhoon
Posts: 6
Registered: ‎02-10-2011

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?

Please use plain text.
Developer
jtegen
Posts: 6,148
Registered: ‎10-27-2010
My Carrier: AT&T

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.

Please use plain text.
New Developer
warhoon
Posts: 6
Registered: ‎02-10-2011

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!

Please use plain text.
Developer
jtegen
Posts: 6,148
Registered: ‎10-27-2010
My Carrier: AT&T

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.

Please use plain text.