[flexcoders] Help with class

2006-10-12 Thread Karthik J
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

Re: [flexcoders] Help with class

2006-10-12 Thread Paul Andrews
: [flexcoders] Help with class 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