Hi Chris,
I've tried that (with a bit tweaking for syntax errors) and it all
works fine - instanceof returns the correct results. This is loading a
clip I created from scratch (Flash 8, WinXP) - if you have a sample
clip I can try that's failing for you, that's be good.
However, I did have to correct the trace statements:
trace("Is this a movieclip:"+clip instanceof MovieClip); // Always
outputs 'false'
trace("Is this a movieclip:"+(clip instanceof MovieClip)); // Always
gives the correct answer.
It's not something as simple and silly as that, is it? I assume not. :-)
Cheers,
Ian
On 8/23/06, Chris Allen <[EMAIL PROTECTED]> wrote:
Hi Ian,
Thanks for looking into this.
I did indeed try running it with Flash compiling. Try this in an FLA
and you should see the same results:
_______________________________________________
[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