[flexcoders] ListItemRenderer [Bindable(dataChange)]

2007-09-14 Thread Troy Simpson
get data():Object { return _data; } /** * @private */ public function set data(value:Object):void { _data = value; invalidateProperties(); dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE)); } Thanks, -- Troy Simpson

[flexcoders] How to dispatch event from ItemRenderer?

2007-09-11 Thread Troy Simpson
):void { this.lbl.text = value.label; } } } -- -- Troy Simpson

Re: [flexcoders] How to dispatch event from ItemRenderer?

2007-09-11 Thread Troy Simpson
from the itemRenderer, and that is about it. And listen for it - Original Message From: Troy Simpson [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, September 11, 2007 3:40:27 PM Subject: [flexcoders] How to dispatch event from ItemRenderer? I have created a List

Re: [flexcoders] How to dispatch event from ItemRenderer?

2007-09-11 Thread Troy Simpson
; } } } //-- On 9/11/07, Troy Simpson [EMAIL PROTECTED] wrote: Would you have an example of how to do this with the example code that I provided? I was thinking that I could

[flexcoders] How do I set Layout Constraints in ActionScript?

2007-09-07 Thread Troy Simpson
(); } override public function set data(value:Object):void { super.data = value; var text:Text = new Text() var rdo:RadioButton = new RadioButton(); this.removeAllChildren(); this.addChild(text); this.addChild(rdo); } } Thanks, -- Troy Simpson

[flexcoders] What do this error mean? 1195

2007-09-07 Thread Troy Simpson
: 1195: Attempted access of inaccessible method group through a reference with static type mx.controls:RadioButton. I don't understand the error message. Could someone explain this to me? Thanks, -- Troy Simpson