tom rhodes wrote:
var myContent:MovieClip = loadEvent.currentTarget.content as MovieClip;

It is never a good idea to just cast to MovieClip. Cast to the real class of the object. Or at least an interface that you know that it will implement.

Do note that there are complications regarding having multiple definitions of the same class and so on when loading swf files.
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to