Why is my movie clip instance null?

Posted by Khan on Stack Overflow See other posts from Stack Overflow or by Khan
Published on 2010-05-24T23:44:10Z Indexed on 2010/05/25 0:21 UTC
Read the original article Hit count: 659

Filed under:
|
|

I have 2 movie clips in my scene, one is charlie brown running and another is lucy lifting a football.

The movie clip instances are aptly named: lucyLifting and charlieRunning.

When I get to frame 75, I run the following code:

stop();
   trace(lucyLifting);
   trace(charlieRunning);

   lucyLifing.stop();
   charlieRunning.stop();

and I get the following output:

[object MovieClip]
null

Why isn't it recognizing my second movie clip instance? This is very frustrating....

Thank you in advance.

© Stack Overflow or respective owner

Related posts about flash

Related posts about actionscript-3