ah, yeah, ignore my post, do what the man says :)

JesterXL wrote:
> You don't need to cast via a function, you can do that already.  While this 
> works:
> 
> objectA = ViewStack.getChildAt(0);
> objectA.bar();
> 
> Since Flex' compiler thinks objectA is just a vanilla Object, thus can't 
> imply it's type.  However, if you want strict-typing, you can do:
> 
> objectA = object1(ViewStack.getChildAt(0));
> objectA.bar();
> 
> This assumes object1 is an imported class.
> 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
AIDS in India: A "lurking bomb." Click and help stop AIDS now.
http://us.click.yahoo.com/9QUssC/lzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to