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
):void
{
this.lbl.text = value.label;
}
}
}
--
--
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
;
}
}
}
//--
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
();
}
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
:
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
6 matches
Mail list logo