How do I cast to something that is in the _global tree. by that i mean. cast
referencing like this: _global.com.somepackage.SomeClass( var ) or is the
_prototype chain? I can't remember...

the situation is this, I have a BasicView class. that needs to dynamically
be upcast to other views that would potentially extend it, say a HomeView
that extends BasicView..

say like this:

var bv:BasicView = getSomeBasicView();
var newHomeView:_global.com.somepackage.HomeView =
_global.com.somepackage.HomeView( bv );

I'm pretty sure it's possible, don't remember how to do it...

thanks..
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to