|
Sorry, nevermind my second question - I found the code
below in the docs. I would still really appreciate help with properly
resetting the validators.
Moishe Groger
// Override the setter method.
override public function set data(value:Object):void {
if(value != null) {
// Use super to set the value in the base class.
super.data = ""
// Determine the icon based on whether the item is on sale.
if (value.SalePrice == true)
onSale.source="http://myCompany.com/icons/saleIcon.jpg";
else
onSale.source="http://myCompany.com/icons/noSaleIcon.jpg";
}
// Dispatch the dataChange event.
dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE));From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Moishe Groger Sent: Thursday, July 06, 2006 4:56 PM To: [email protected] Subject: RE: [flexcoders] Binding in Flex 2.0, Cairngorm 2.0 Right... I guess it depends on your definition of "works". I don't
think -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|

