We recently ran into the "Warning: Changes to unknown property ... will not be detected" compiler issue. All the usual tricks did not work and the FAQ did not help.
This problem is often the result of the binding being more agressive than needed in "dot down" situations. The curly brace syntax is being used for both binding and "expression evaluation" So, if you are referencing foo.bar.baz.boz, you can often get away with a binding trigger on a prefix of the expression, (e.g., foo.bar) and then evaluating the rest without binding (e.g., .baz.bar). That is, it is often the case that baz and boz change if and only if foo or bar changes (and that flex knows the types of foo and bar) I suspect this is true in most deeply nested "dot down" situations. In this case you can get around the compiler warning by tricking Flex to trigger on the prefix. For example: public static function bindingFixer(object:Object) : Object { return object; } <mx:Label text="{Util.bindingFixer(foo.bar).baz.buz}"/> The function call is enough to cause flex to trigger binding on foo.bar alone, but the expression is evaluated more/less as foo.bar.baz.buz. Is this worthy of incorporation into the FAQ? ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hvocqag/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123141573/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/">In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!</a>.</font> --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/