8 Replies Latest reply on Jun 14, 2011 8:15 AM by brendalc1636

    how to access mxml component from as


      Hi all,


      I am newbee to flex.


      I am using flex builder 4.5


      how to access mxml component from external as file?




      mxml file:


      File name test.mxml


      It has text area.


      <s:TextArea x="20" y="40" includeIn="state3" id="textarea1"/>


      External as file


      File name :  display.as


      var mn:test=new test();


      mn.textarea1.text="hi .....";


      I got this error:


      ReferenceError: Error #1069: Property text1 not found on MeetandConfer and there is no default value.


      Thank and Regards