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
Developer
Posts: 1,123
Registered: ‎02-10-2009
My Device: 8130 / 8350 / 9530 / 9550 / 9850 / PlayBook
My Carrier: Verizon

Re: Updated Community Library

That error is due to the library using FLEX. I have a rewritten version of the DateParser class that doesn't need FLEX. I'll post it when I get home.

Developer
Posts: 200
Registered: ‎03-10-2011
My Device: Not Specified

Re: Updated Community Library

Thanks so much! I'm trying to get my app done before the deadline and I if you've already done that that's fantastic!!

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

Re: Updated Community Library

You can also select "MX+Spark" in FB to get around the Flex issue with DateFormatter.  We will update the library without it once the post has been made.

Developer
Developer
Posts: 1,123
Registered: ‎02-10-2009
My Device: 8130 / 8350 / 9530 / 9550 / 9850 / PlayBook
My Carrier: Verizon

Re: Updated Community Library

Here are the classes I changed to get around the FLEX issue. You'll just need to update the package values/locations when you add them to your project(s).

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

Re: Updated Community Library

Thanks CMY.  I will review it and add the changes to the core library and update Google Code hopefully this week.

Developer
Posts: 200
Registered: ‎03-10-2011
My Device: Not Specified

Re: Updated Community Library

"You'll just need to update the package values/locations when you add them to your project(s)."

 

Sorry, I'm pretty new to Flash Builder, could you give me a basic idea as how to set this up without conflicting classes?

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

Re: Updated Community Library

The import paths are different than the QNX import paths.  So you just need to change it there.  The APIs are the same (a little more in this library to make life easier).

Developer
Posts: 200
Registered: ‎03-10-2011
My Device: Not Specified

Re: Updated Community Library

Oh? No need to edit my projects properties? Awesome! Thanks JTegen!

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

Re: Updated Community Library

Other than inluding the library SWC file, no.

Developer
Posts: 200
Registered: ‎03-10-2011
My Device: Not Specified

Re: Updated Community Library

[ Edited ]

But these are .as files..? So how can I import them like a library?

 

Nevermind I think I figured it out. Smiley Happy

 

EDIT: Anyway to make it so I don't have to write out "external.DateChooser" every time I use the DateChooser? I mean, specifically eliminating the "external." part.

 

EDIT2: I'm getting

 

Description	Resource	Path	Location	Type
unable to resolve '../assets/TextInputPressedWhite.png' for transcoding	InputControl.as	/src/external	line 76	Flex Problem

Among other similar problems with these files..