Hi Henrik! Thanks for the quick reply, I really appreciate it. :)

On Wed, Dec 1, 2010 at 2:49 PM, Henrik Andersson <[email protected]> wrote:
> It fails the empty base class test. It is an extremely bad way.

Ah, I am glad I asked! :D

Any tips on a better way to test display object if it is BitMap and/or
MovieClip?

When I trace the loaded array:

trace(pre.objects); // get the loaded objects as an array

Here is the output:

[object Bitmap],[object Bitmap],[object Bitmap],[object MovieClip]

I was thinking "typeof(pre.objects[0])" would get me "[object
Bitmap]", for example, but it just outputs "object".

Thanks again!

Cheers,
Micky
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to