Hi, I’ve got a custom class. The class has a
getter/setter method for variable called months Class MyComp extends HBox { private var __months:Array; public function get months():Array { return __months; } public function set months(monthArray:Array):void { Trace(“the value is getting set”); __months = monthArray; } } I try set the value with an mxml tag <ns:MyComp months=”{anotherArray}”
/> If I do this I get no trace from the setter method <ns:MyComp months=”anotherArray” /> If I do this I get the trace and the variable is set
to the String “anotherArray” which should throw a runtime type
error since the variable is Array I’m pretty confused… worked fine in Beta
3 Regards, Martin -- 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
-- |
- [flexcoders] [flex 2 final] Bug when binding value to prop... martin schioeth
- Re: [flexcoders] [flex 2 final] Bug when binding valu... Pan Troglodytes