[flexcoders] Re: PopUpButton with TileList and custom renderer works, but 2 annoyances

2010-07-27 Thread Amy
--- In flexcoders@yahoogroups.com, "Alexander" wrote: > > Thanks, I don't have warning anymore after I've changed the code. > > The horizontal scrolling issue seems to be a Flex 3 bug: > when I change the width and height, so that there is only > a vertical scrollbar - then everything starts to

[flexcoders] Re: PopUpButton with TileList and custom renderer works, but 2 annoyances

2010-07-27 Thread Alexander
Thanks, I don't have warning anymore after I've changed the code. The horizontal scrolling issue seems to be a Flex 3 bug: when I change the width and height, so that there is only a vertical scrollbar - then everything starts to work ok. = MyRenderer.mxml: http://www.adobe.com/2006/mxml";

[flexcoders] Re: PopUpButton with TileList and custom renderer works, but 2 annoyances

2010-07-26 Thread Alexander Farber
Hello again, On Sat, Jul 24, 2010 at 5:39 PM, Alexander Farber wrote: > 1) For some reason I get numerous warnings: > warning: unable to bind to property 'label' on class 'Object' (class > is not an IEventDispatcher) > > 2) The TileList tl2 has a scrolling issue. I've searched around > (for examp

[flexcoders] Re: PopUpButton with TileList and custom renderer works, but 2 annoyances

2010-07-26 Thread valdhor
The binding errors are due to your item renderer binding to the data property which is an object. As the error says you cannot bind to a plain object. Modify your class as follows: [Bindable]private var myLabel:String; public override function set data(value:Object):voi