Hello,

I am using this class:

<http://code.google.com/p/as3-multiple-file-preloader/>

And I need to determine the display object type (i.e. is it MovieClip
or Bitmap).

trace(getQualifiedClassName(loadedDisplayObject));

Gives me this output (in a loop of 3 images and 1 swf loaded):

flash.display::Bitmap
flash.display::Bitmap
flash.display::Bitmap
flash.display::MovieClip

Would that be the best way to test for MovieClip or Bitmap?

Based on what is being loaded, I need to do different things (i.e. if
MovieClip, I will need to control the timeline, if bitmap then I can
skip all the timeiline commands).

Thanks so much!

Cheers,
Micky
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to