Hello,
<s:MyComponents var1="test1" var2="test2"/>
and in my components
<s:MyComponents>
<fx:script>
<[[cdata
public var var1:String;
public function set var2(value:String) {
if(value == "test2") trace("it work");
}
]]>
</fx:script>
</s:MyComponents>
this example work but it doesn't work when
<s:MyComponents var2="test2" var1="test1"/>
Thanks
--
View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/mxml-and-variables-priority-tp9666.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.