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
jeroen13
Posts: 39
Registered: ‎02-07-2012
My Device: Blackberry curve 8520 // Blackberry playbook 64GB
My Carrier: Vodafone

Playbook samples - cant get them working

hi, i'm trying to run the sample apps provided by Blackberry for the playbook.

 

in flashbuilder 4.6 I get these errors:

 

Description	Resource	Path	Location	Type
1017: The definition of base class BackButton was not found.	BackButtonSkinned.as	/SampleAirLibrary/src/samples/ui/buttons	line 29	Flex Problem
1017: The definition of base class CellRenderer was not found.	DefaultHistoryRenderer.as	/SampleAirLibrary/src/samples/ui/components	line 27	Flex Problem
1017: The definition of base class CellRenderer was not found.	MenuListCellRenderer.as	/SampleAirLibrary/src/samples/ui/menu	line 31	Flex Problem
1017: The definition of base class CellRenderer was not found.	SuggestionItem.as	/SampleAirLibrary/src/samples/ui/menu	line 33	Flex Problem
1017: The definition of base class CellRenderer was not found.	ThumbnailRenderer.as	/SampleAirLibrary/src/samples/ui/components	line 25	Flex Problem
1017: The definition of base class Container was not found.	DownloadProgress.as	/SampleAirLibrary/src/samples/ui/components	line 33	Flex Problem
1017: The definition of base class Container was not found.	ExpandedMenu.as	/SampleAirLibrary/src/samples/ui/menu	line 39	Flex Problem
1017: The definition of base class Container was not found.	Menu.as	/SampleAirLibrary/src/samples/ui/menu	line 34	Flex Problem
1017: The definition of base class Container was not found.	MenuScrollPane.as	/SampleAirLibrary/src/samples/ui/menu	line 31	Flex Problem
1017: The definition of base class OutlineButtonSkinBlack was not found.	OutlineButtonSkinTransparent.as	/SampleAirLibrary/src/samples/ui/buttons	line 26	Flex Problem
1017: The definition of base class RadioButton was not found.	ClickableMenuItem.as	/SampleAirLibrary/src/samples/ui/menu	line 29	Flex Problem
1017: The definition of base class TileList was not found.	ThumbnailTileList.as	/SampleAirLibrary/src/samples/ui/components	line 28	Flex Problem
1017: The definition of base class UIComponent was not found.	Background.as	/SampleAirLibrary/src/samples/ui/components	line 26	Flex Problem
1017: The definition of base class UIComponent was not found.	IconLabel.as	/SampleAirLibrary/src/samples/ui/components	line 41	Flex Problem
1017: The definition of base class UIComponent was not found.	NavigationMenu.as	/SampleAirLibrary/src/samples/ui/menu	line 45	Flex Problem
1017: The definition of base class UIComponent was not found.	PlayBar.as	/SampleAirLibrary/src/samples/ui/components	line 57	Flex Problem
1017: The definition of base class UIComponent was not found.	ScrollingMarquee.as	/SampleAirLibrary/src/samples/ui/components	line 28	Flex Problem
1017: The definition of base class UISkin was not found.	BackButtonSkin.as	/SampleAirLibrary/src/samples/ui/buttons	line 29	Flex Problem
1017: The definition of base class UISkin was not found.	MenuListCellRendererSkin.as	/SampleAirLibrary/src/samples/ui/menu	line 24	Flex Problem
1020: Method marked override must override another method.	BackButtonSkin.as	/SampleAirLibrary/src/samples/ui/buttons	line 40	Flex Problem
1020: Method marked override must override another method.	BackButtonSkinned.as	/SampleAirLibrary/src/samples/ui/buttons	line 52	Flex Problem
1020: Method marked override must override another method.	BackButtonSkinned.as	/SampleAirLibrary/src/samples/ui/buttons	line 62	Flex Problem
1020: Method marked override must override another method.	Background.as	/SampleAirLibrary/src/samples/ui/components	line 59	Flex Problem
1020: Method marked override must override another method.	Background.as	/SampleAirLibrary/src/samples/ui/components	line 68	Flex Problem
1020: Method marked override must override another method.	ClickableMenuItem.as	/SampleAirLibrary/src/samples/ui/menu	line 39	Flex Problem
1020: Method marked override must override another method.	ClickableMenuItem.as	/SampleAirLibrary/src/samples/ui/menu	line 51	Flex Problem
1020: Method marked override must override another method.	ClickableMenuItem.as	/SampleAirLibrary/src/samples/ui/menu	line 58	Flex Problem
1020: Method marked override must override another method.	ClickableMenuItem.as	/SampleAirLibrary/src/samples/ui/menu	line 64	Flex Problem
1020: Method marked override must override another method.	DefaultHistoryRenderer.as	/SampleAirLibrary/src/samples/ui/components	line 52	Flex Problem
1020: Method marked override must override another method.	DefaultHistoryRenderer.as	/SampleAirLibrary/src/samples/ui/components	line 53	Flex Problem
1020: Method marked override must override another method.	DefaultHistoryRenderer.as	/SampleAirLibrary/src/samples/ui/components	line 55	Flex Problem
1020: Method marked override must override another method.	DownloadProgress.as	/SampleAirLibrary/src/samples/ui/components	line 124	Flex Problem
1020: Method marked override must override another method.	ExpandedMenu.as	/SampleAirLibrary/src/samples/ui/menu	line 225	Flex Problem
1020: Method marked override must override another method.	IconLabel.as	/SampleAirLibrary/src/samples/ui/components	line 73	Flex Problem
1020: Method marked override must override another method.	IconLabel.as	/SampleAirLibrary/src/samples/ui/components	line 84	Flex Problem
1020: Method marked override must override another method.	Menu.as	/SampleAirLibrary/src/samples/ui/menu	line 123	Flex Problem
1020: Method marked override must override another method.	Menu.as	/SampleAirLibrary/src/samples/ui/menu	line 145	Flex Problem
1020: Method marked override must override another method.	Menu.as	/SampleAirLibrary/src/samples/ui/menu	line 170	Flex Problem
1020: Method marked override must override another method.	MenuListCellRenderer.as	/SampleAirLibrary/src/samples/ui/menu	line 52	Flex Problem
1020: Method marked override must override another method.	MenuListCellRenderer.as	/SampleAirLibrary/src/samples/ui/menu	line 57	Flex Problem
1020: Method marked override must override another method.	MenuListCellRendererSkin.as	/SampleAirLibrary/src/samples/ui/menu	line 29	Flex Problem
1020: Method marked override must override another method.	MenuScrollPane.as	/SampleAirLibrary/src/samples/ui/menu	line 74	Flex Problem
1020: Method marked override must override another method.	NavigationMenu.as	/SampleAirLibrary/src/samples/ui/menu	line 150	Flex Problem
1020: Method marked override must override another method.	NavigationMenu.as	/SampleAirLibrary/src/samples/ui/menu	line 313	Flex Problem
1020: Method marked override must override another method.	OutlineButtonSkinTransparent.as	/SampleAirLibrary/src/samples/ui/buttons	line 36	Flex Problem
1020: Method marked override must override another method.	PlayBar.as	/SampleAirLibrary/src/samples/ui/components	line 171	Flex Problem
1020: Method marked override must override another method.	PlayBar.as	/SampleAirLibrary/src/samples/ui/components	line 271	Flex Problem
1020: Method marked override must override another method.	PlayBar.as	/SampleAirLibrary/src/samples/ui/components	line 284	Flex Problem
1020: Method marked override must override another method.	ScrollingMarquee.as	/SampleAirLibrary/src/samples/ui/components	line 70	Flex Problem
1020: Method marked override must override another method.	ScrollingMarquee.as	/SampleAirLibrary/src/samples/ui/components	line 72	Flex Problem
1020: Method marked override must override another method.	ScrollingMarquee.as	/SampleAirLibrary/src/samples/ui/components	line 81	Flex Problem
1020: Method marked override must override another method.	SuggestionItem.as	/SampleAirLibrary/src/samples/ui/menu	line 43	Flex Problem
1020: Method marked override must override another method.	SuggestionItem.as	/SampleAirLibrary/src/samples/ui/menu	line 65	Flex Problem
1020: Method marked override must override another method.	SuggestionItem.as	/SampleAirLibrary/src/samples/ui/menu	line 71	Flex Problem
1020: Method marked override must override another method.	ThumbnailRenderer.as	/SampleAirLibrary/src/samples/ui/components	line 38	Flex Problem
1020: Method marked override must override another method.	ThumbnailTileList.as	/SampleAirLibrary/src/samples/ui/components	line 105	Flex Problem
1020: Method marked override must override another method.	ThumbnailTileList.as	/SampleAirLibrary/src/samples/ui/components	line 111	Flex Problem
1045: Interface ICellRenderer was not found.	SuggestionItem.as	/SampleAirLibrary/src/samples/ui/menu	line 33	Flex Problem
1046: Type was not found or was not a compile-time constant: Label.	Test.as	/Test/src	line 26	Flex Problem
1046: Type was not found or was not a compile-time constant: UIComponent.	TransitionEvent.as	/SampleAirLibrary/src/samples/events	line 27	Flex Problem
1046: Type was not found or was not a compile-time constant: UIComponent.	TransitionEvent.as	/SampleAirLibrary/src/samples/events	line 28	Flex Problem
1120: Access of undefined property Device.	BatteryTrigger.as	/SampleAirLibrary/src/samples/download/taskmanager/wakeup	line 31	Flex Problem
1120: Access of undefined property Device.	BatteryTrigger.as	/SampleAirLibrary/src/samples/download/taskmanager/wakeup	line 32	Flex Problem
1120: Access of undefined property Device.	BatteryTrigger.as	/SampleAirLibrary/src/samples/download/taskmanager/wakeup	line 33	Flex Problem
1120: Access of undefined property Device.	BatteryTrigger.as	/SampleAirLibrary/src/samples/download/taskmanager/wakeup	line 38	Flex Problem
1120: Access of undefined property Device.	BatteryTrigger.as	/SampleAirLibrary/src/samples/download/taskmanager/wakeup	line 39	Flex Problem
1120: Access of undefined property Device.	BatteryTrigger.as	/SampleAirLibrary/src/samples/download/taskmanager/wakeup	line 40	Flex Problem
1120: Access of undefined property Device.	PowerChargingCondition.as	/SampleAirLibrary/src/samples/download/taskmanager/wakeup	line 27	Flex Problem
1120: Access of undefined property Device.	PowerLevelCondition.as	/SampleAirLibrary/src/samples/download/taskmanager/wakeup	line 29	Flex Problem
1120: Access of undefined property DeviceBatteryEvent.	BatteryTrigger.as	/SampleAirLibrary/src/samples/download/taskmanager/wakeup	line 32	Flex Problem
1120: Access of undefined property DeviceBatteryEvent.	BatteryTrigger.as	/SampleAirLibrary/src/samples/download/taskmanager/wakeup	line 33	Flex Problem
1120: Access of undefined property DeviceBatteryEvent.	BatteryTrigger.as	/SampleAirLibrary/src/samples/download/taskmanager/wakeup	line 39	Flex Problem
1120: Access of undefined property DeviceBatteryEvent.	BatteryTrigger.as	/SampleAirLibrary/src/samples/download/taskmanager/wakeup	line 40	Flex Problem
1120: Access of undefined property DeviceBatteryState.	PowerChargingCondition.as	/SampleAirLibrary/src/samples/download/taskmanager/wakeup	line 27	Flex Problem
1120: Access of undefined property QNXApplication.	Cache.as	/SampleAirLibrary/src/samples/cache	line 91	Flex Problem
1120: Access of undefined property QNXApplication.	Cache.as	/SampleAirLibrary/src/samples/cache	line 92	Flex Problem
1120: Access of undefined property QNXApplication.	Cache.as	/SampleAirLibrary/src/samples/cache	line 93	Flex Problem
1120: Access of undefined property QNXApplicationEvent.	Cache.as	/SampleAirLibrary/src/samples/cache	line 91	Flex Problem
1172: Definition qnx.events:DeviceBatteryEvent could not be found.	BatteryTrigger.as	/SampleAirLibrary/src/samples/download/taskmanager/wakeup	line 19	Flex Problem
1172: Definition qnx.events:DeviceBatteryEvent could not be found.	PowerLevelCondition.as	/SampleAirLibrary/src/samples/download/taskmanager/wakeup	line 22	Flex Problem
1172: Definition qnx.events:QNXApplicationEvent could not be found.	Cache.as	/SampleAirLibrary/src/samples/cache	line 39	Flex Problem
1172: Definition qnx.fuse.ui.text:Label could not be found.	Test.as	/Test/src	line 6	Flex Problem
1172: Definition qnx.system:Device could not be found.	BatteryTrigger.as	/SampleAirLibrary/src/samples/download/taskmanager/wakeup	line 20	Flex Problem
1172: Definition qnx.system:Device could not be found.	PowerChargingCondition.as	/SampleAirLibrary/src/samples/download/taskmanager/wakeup	line 20	Flex Problem
1172: Definition qnx.system:Device could not be found.	PowerLevelCondition.as	/SampleAirLibrary/src/samples/download/taskmanager/wakeup	line 21	Flex Problem
1172: Definition qnx.system:DeviceBatteryState could not be found.	PowerChargingCondition.as	/SampleAirLibrary/src/samples/download/taskmanager/wakeup	line 21	Flex Problem
1172: Definition qnx.system:DeviceBatteryState could not be found.	PowerLevelCondition.as	/SampleAirLibrary/src/samples/download/taskmanager/wakeup	line 23	Flex Problem
1172: Definition qnx.system:QNXApplication could not be found.	Cache.as	/SampleAirLibrary/src/samples/cache	line 40	Flex Problem
1172: Definition qnx.ui.core:UIComponent could not be found.	ModalWindow.as	/SampleAirLibrary/src/samples/ui/menu	line 23	Flex Problem
1172: Definition qnx.ui.core:UIComponent could not be found.	TransitionEvent.as	/SampleAirLibrary/src/samples/events	line 20	Flex Problem
1180: Call to a possibly undefined method Label.	Test.as	/Test/src	line 26	Flex Problem

 

 

Thanks in advance

Please use plain text.
BlackBerry Development Advisor (Retired)
dmalik
Posts: 427
Registered: ‎02-22-2012
My Device: BlackBerry Z10, BlackBerry Dev Alpha C, BlackBerry PlayBook
My Carrier: Bell

Re: Playbook samples - cant get them working

It seems to me like you didn't import any of the BlackBerry AIR SDK libraries. Also make sure that you downloaded the PlayBook AIR SDK and not the BlackBerry 10 AIR SDK.

 

Regards,

Dustin

Follow me on Twitter: @dustinmalik
-----------------------------------------------------------------------------------------------------
Keep up to date on BlackBerry development: http://devblog.blackberry.com/
Please use plain text.
Developer
jeroen13
Posts: 39
Registered: ‎02-07-2012
My Device: Blackberry curve 8520 // Blackberry playbook 64GB
My Carrier: Vodafone

Re: Playbook samples - cant get them working

i installed the Playbook SDK, not the BB10,

i added the QNX and PB & AIR .SWC's .

now there are no errors, but i only can run the app as 'Web Application' , not an installable app.......



????????????????????????????????
Please use plain text.
Developer
KermEd
Posts: 169
Registered: ‎05-18-2009
My Device: NA
My Carrier: NA

Re: Playbook samples - cant get them working

Hey I know you :smileywink:

Can you toss more details up on what you mean?

Normally we need to use Debug on device. Or build as release package. Are those options sending you to a Web build?

Sounds like it's not set up as actionscriot mobile
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: Playbook samples - cant get them working

If it is an AIR app, you should be able to run it as a desktop app (for the most part).
Please use plain text.