This works for me when I'm doing library unit testing:

var child:Shape = addChild(new newImage()) as Shape;
// or
addChild(new newImage());
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to