# A question about Class + Frames

**URL:** <https://forum.kirupa.com/t/a-question-about-class-frames/255859>\
**Category:** flash\
**Created:** [March 27, 2008, 5:06pm UTC](https://forum.kirupa.com/t/a-question-about-class-frames/255859 "2008-03-27T17:06:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ConceitoDigital](https://avatars.discourse-cdn.com/v4/letter/c/c0e974/32.png) [@ConceitoDigital](https://forum.kirupa.com/u/ConceitoDigital)\
**Post date:** [March 27, 2008, 5:06pm UTC](https://forum.kirupa.com/t/a-question-about-class-frames/255859/1 "2008-03-27T17:06:00Z")

</div>

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]:

```php

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 ?
