3 Replies Latest reply on Oct 5, 2010 7:02 AM by BhaskerChari

    <mx:Model id="dataSet" source="i need use variable here"/>

    VladBlinov

      Hello.

       

      I define a string variable

       

      <mx:Script>

      <![CDATA[

           ...

           var xmlpath:String = "path to my xml file";

           ...

      </mx:Script>

       

      I want to use it as a source for determining the data model

       

      <mx:Model id="dataSet" source=xmlpath />

       

      Don't tell me how I do it correctly.

       

      Thanks.