A question about Class + Frames

Hello!

I’m new to AS3.

I made a Class, in a external file. Called “ClassImade” that extends MovieClip.

[COLOR=Green]---------------
| 1st Frame |
---------------

[COLOR=Black]Canvas[/COLOR]:

  • MovieClip (called “abc”)

[COLOR=Black]Code[/COLOR]:


var anything = new ClassImade(abc);
stop();

[/COLOR]
[COLOR=Blue]
[COLOR=DarkGreen]---------------
| 2nd Frame |
---------------

[COLOR=Black]Canvas[/COLOR]:

  • Totally empty[/COLOR][/COLOR]

My class “[COLOR=Green]ClassImade[/COLOR]” just get the first parameter, “MovieClip” (in this example the movieclip “abc”) and make it goes to second frame all the time.

In the second frame of the Movie “abc” I have a sound. The third is empty with a Stop().

-----------
| Results |
-----------

When I am in the First Flash Frame. The sound plays in Loop, all the time. Its ok!

When I am in the Second Flash Frame. The sound still plays in loop. Thats my question, why? if I dont have the movieclip “abc” in the second Frame… Why it still plays normal invisible , like it was there ?