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
Posts: 21
Registered: ‎03-21-2011
My Device: none
My Carrier: none

Re: Trying to use the new 0.9.4 SDK, classes not found?

John, now that you mention it, maybe I selected the old Air 2.0 installation and not the Air 2.5 when installing 0.9.4...I'll try a reinstall.

Contributor
Posts: 21
Registered: ‎03-21-2011
My Device: none
My Carrier: none

Re: Trying to use the new 0.9.4 SDK, classes not found?

Nope.  Same problem.  

 

Reinstalled, ensured I had AIR 2.5 and set the entire 0.9.4 as a source path for good measure...

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

Re: Trying to use the new 0.9.4 SDK, classes not found?

Is there a way to 'add' the SDK to your IDE instead of selecting individual libraries?

Regular Contributor
Posts: 54
Registered: ‎03-16-2011
My Device: PlayBook
My Carrier: Developer

Re: Trying to use the new 0.9.4 SDK, classes not found?

I Got the exact same problem, Native methods are not allowed and  50+ other errors....

cant find solution to this Smiley Frustrated

Highlighted
Contributor
Posts: 32
Registered: ‎01-03-2011
My Device: Not Specified

Re: Trying to use the new 0.9.4 SDK, classes not found?

 


reissgrant wrote:

Sorry, this is using Flash CS5.  Settings and errors are below:


It seems that you don't include the qnx-air.swc, which located in "Adobe Flash Builder Burrito\sdks\blackberry-tablet-sdk-0.9.4\frameworks\libs\air\qnx-air.swc" , and make sure the linkage type set to "External".

 

Contributor
Posts: 21
Registered: ‎03-21-2011
My Device: none
My Carrier: none

Re: Trying to use the new 0.9.4 SDK, classes not found?

Thanks for the reply.  I changed all of the linkages yesterday to 0.9.4, air (external), blackberry and qnx with no success.

Regular Contributor
Posts: 54
Registered: ‎03-16-2011
My Device: PlayBook
My Carrier: Developer

Re: Trying to use the new 0.9.4 SDK, classes not found?

Im starting to be a bit stressed, so im thinking of going over to flex.

 

Its pretty easy do convert FPro application to flex one,

 

1) select you movieclip in library (you want to convert to flex component)

2) in commands menu, choose convert to flex component

2.1 - now you should get 2 new objects in library.

3) The one with you movieclip name in Linkage is the one you need to rightclick

and choose export SWC...

 

Then export swc to your flex project folder. then you need to import that class 

which should look like something:

 

If movieclip name in library was mcVolumeBar then import would look like:

 

import mcVolumeBar;

 

var vol:mcVolumeBar = new mcVolumeBar();

 

of course this is easy with smaller project Smiley Happy but its probably only hope right now to get the app done before 31'st march

Contributor
Posts: 21
Registered: ‎03-21-2011
My Device: none
My Carrier: none

Re: Trying to use the new 0.9.4 SDK, classes not found?

Thanks for the tip Danel.

 

I ended up just scrapping the Alert Window for now and using a dynamic animated text field.  

 

Submitted last night Smiley Wink

Regular Contributor
Posts: 54
Registered: ‎03-16-2011
My Device: PlayBook
My Carrier: Developer

Re: Trying to use the new 0.9.4 SDK, classes not found?

cool, i tried too alert and logindialog but it didnt work at all in FPro

 

but would be smooth to use BB-styled components, they are pretty slick Smiley Wink

Contributor
Posts: 21
Registered: ‎03-21-2011
My Device: none
My Carrier: none

Re: Trying to use the new 0.9.4 SDK, classes not found?

Yeah I would love to use those new features in 0.9.4; when I update my apps I will probably include those, if I can figure out the link issues by then.  Or I just need to switch to Burrito, ha. 

 

I did use the qnx ListDialog though from 0.9.3 and it looks pretty slick, and has the nice momentum scrolling action common on tablets and phones.