0 Replies Latest reply on Oct 12, 2006 4:56 AM by j.karthik

    Help with class

    j.karthik Level 1
      Hi,
      I am new to Flex2. I have a class called test.as. I am trying to create object in mxml script tag by

      var t:test = new test();

      If I try to access any the prop of object itz throwing error.
      But if I define the same inside a function itz working fine.
      Why is it so? I cant use that object outside the function.
      Is there any solution or is it like that.

      Regards,
      JK