Oh, I should add, this is after I commented out the line:
if(targetMC instanceof MovieClip == false) targetMC.__proto__ = new MovieClip();

from MovieAssets - which I assume was your temporary hack to fix
things. It all works for me without this line.

Cheers,
 Ian

On 8/23/06, Ian Thomas <[EMAIL PROTECTED]> wrote:
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
_______________________________________________
[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

Reply via email to