# Controlling an external SWF

**URL:** <https://forum.kirupa.com/t/controlling-an-external-swf/262954>\
**Category:** Uncategorized\
**Created:** [June 11, 2008, 12:24pm UTC](https://forum.kirupa.com/t/controlling-an-external-swf/262954 "2008-06-11T12:24:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohan\_iist](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@mohan\_iist](https://forum.kirupa.com/u/mohan_iist)\
**Post date:** [June 11, 2008, 12:24pm UTC](https://forum.kirupa.com/t/controlling-an-external-swf/262954/1 "2008-06-11T12:24:38Z")

</div>

i am loading an external swf in to a movie clip and controlling it by using a slider with a knob.  
once the onEnterFrame is encountered the swf starts to play.  
This can be paused. But after pause the knob cannot be moved by using the startDrag().  
how to solve this?

---

<div class="post-metadata">

**Author:** ![randomagain](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@randomagain](https://forum.kirupa.com/u/randomagain)\
**Post date:** [June 11, 2008, 12:34pm UTC](https://forum.kirupa.com/t/controlling-an-external-swf/262954/2 "2008-06-11T12:34:36Z")

</div>

probably because drag is an onenterframe event so youl have to restart an onenterframe function for the drag control
