# Controlling loaded swfs

**URL:** <https://forum.kirupa.com/t/controlling-loaded-swfs/49376>\
**Category:** flash\
**Created:** [April 22, 2004, 2:57am UTC](https://forum.kirupa.com/t/controlling-loaded-swfs/49376 "2004-04-22T02:57:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lockinsky](https://avatars.discourse-cdn.com/v4/letter/l/71e660/32.png) [@Lockinsky](https://forum.kirupa.com/u/Lockinsky)\
**Post date:** [April 22, 2004, 2:57am UTC](https://forum.kirupa.com/t/controlling-loaded-swfs/49376/1 "2004-04-22T02:57:41Z")

</div>

[font=Times New Roman][size=3]Hi All,[/size][/font]

[font=Times New Roman][size=3]I tried yesterday to sort this out, but didn’t explain it very well and I think everyone lost interest. So I’ll try once more.[/size][/font]

[font=Times New Roman][size=3]What I’m trying to do is create buttons in one swf that load another swf and also give instructions to begin playing from a certain frame in that swf. The target swf has a preloader on frame 1 and then a movie clip that contains a video in frame 2. Depending on which button the user presses the video will be cued up ready to play at different frames.[/size][/font]

[font=Times New Roman][size=3]I think it may need an if statement ie if x=34 then goto frame 34, but I can’t seem to pass the variables to the loaded swf.[/size][/font]

[font=Times New Roman][size=3]In the zip file is an example of what I’m trying to do. I would really appreciate any help on this.[/size][/font]
