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.
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
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Software development tool | Software development | Software development services |
| Home design software | Software development company |
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___

