We can add inline codes in MXML. However we when try to get properties from NULL object in MXML(inline code), flex doesn't throw error. However when we do same thing in action script tag, we can see script error thrown.
how this behavior is captured in MXML. Any idea.
For eg:
Class ValueTo //Model class
{
public var name:string;
}
<fx:Script>
<![CDATA[
public var v:ValueTo;
]]>
</fx:Script>
<mx:Label **text="{v.lable}"** /> //No error thrown, when v=null, i.e null.label