# AS2 swf loaded into AS3 swf stop and play controls

**URL:** <https://forum.kirupa.com/t/as2-swf-loaded-into-as3-swf-stop-and-play-controls/288577>\
**Category:** flash\
**Created:** [May 18, 2009, 1:30pm UTC](https://forum.kirupa.com/t/as2-swf-loaded-into-as3-swf-stop-and-play-controls/288577 "2009-05-18T13:30:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![becca2anne0](https://avatars.discourse-cdn.com/v4/letter/b/13edae/32.png) [@becca2anne0](https://forum.kirupa.com/u/becca2anne0)\
**Post date:** [May 18, 2009, 1:30pm UTC](https://forum.kirupa.com/t/as2-swf-loaded-into-as3-swf-stop-and-play-controls/288577/1 "2009-05-18T13:30:57Z")

</div>

I’m using SWFbridge to load an AS2 swf into an AS3 swf. Everything is loaded fine but I can control the stop and play of my AS2 swf anymore because flash is using it as a Display object as opposed to a movie clip. I tried to make it a movieclip but I got an error that it is read only. Help?!  
The AS3 file is a carousel: Here’s the code that adds the AS2 swf to the carousel and where I need it to stop.

```auto
  
           private function imageHandler2(event:*):void {
            event.currentTarget.removeEventListener(Event.COMPLETE,imageHandler2);
            loader2.content=MovieClip;
            addChild(loader2.content);
            loader2.content.stop();
            loader2.content.addEventListener(MouseEvent.CLICK,checkFrontClick2Handler);
            carousel.addItem(loader2.content, "webinars");
        }

```

I also tried casting it as MovieClip(loader2.content).stop(); which gives me this error:  
TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::AVM1Movie@3b326a9 to flash.display.MovieClip.  
at CarouselDoc/::imageHandler2()
