# Control external swf from main timeline

**URL:** <https://forum.kirupa.com/t/control-external-swf-from-main-timeline/167243>\
**Category:** Uncategorized\
**Created:** [October 26, 2005, 3:49pm UTC](https://forum.kirupa.com/t/control-external-swf-from-main-timeline/167243 "2005-10-26T15:49:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rodi](https://avatars.discourse-cdn.com/v4/letter/r/ec9cab/32.png) [@Rodi](https://forum.kirupa.com/u/Rodi)\
**Post date:** [October 26, 2005, 3:49pm UTC](https://forum.kirupa.com/t/control-external-swf-from-main-timeline/167243/1 "2005-10-26T15:49:06Z")

</div>

I have a external SWF loading into a target on my main swf. Is there a way to control the timeline from the loaded movie from the main timeline. So , control B timeline from A. I’ve tried mcholder.gotoAndPlay (2); but it won’t work. Also, how can I get the mumbers of frames from the external swf into the main timeline. Will a global variable work?

Thanks
