Hi Julian,
You were nearly there with:
Object.registerClass("mFooA", FooA);
var aObject:FooA_Class = _root.attachMovie("FooA", "FooA", 1);
Just change it to:
Object.registerClass("mFooA", FooA);
var aObject:FooA_Class = FooA_Class(_root.attachMovie("FooA", "FooA", 1));
(as Class(x) is the equivalent of the Java class cast operator (Class)x)
HTH,
Ian
On 7/7/06, Mike Britton <[EMAIL PROTECTED]> wrote:
Perhaps, but you never know: someone on this list may have a better
solution for your problem.
Mike
_______________________________________________
[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