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

Posts: 32
Registered: ‎02-02-2011
My Device: Playbook
My Carrier: none

Custom Picker changed in 1.0.1



hi. the solution provided in page 1 of this thread (customPicker) was working for me for until SDK 1.0.1.

now i get an error message:



CustomPicker.as, Line 15 1178: Attempted access of inaccessible property __backgroundButton through a reference with static type CustomPicker.

here is the code again.

	import qnx.ui.picker.Picker;
	public class CustomPicker extends Picker
		public function CustomPicker()
		override public function setButtonSkin(skin:Object):void


strangely, when i remove the line in question, of course i lose the error but my custom skinning still seems to work fine on my desktop as displayed in the flash player (i'm building my app in flash pro).
but in the simulator 1.0.1 i'm losing my custom changes to the picker. (actually, could this be a simulator issue? my old build using SDK 0.9.4 (which doesn't get the error message and looks perfect in the simulator 0.9.4) loses its custom settings also when sent to the 1.0.1 simulator.) 
Dirty Kitchen Cooking Timer