# Controlling loaded swfs

**URL:** <https://forum.kirupa.com/t/controlling-loaded-swfs/108157>\
**Category:** Uncategorized\
**Created:** [April 22, 2004, 3:06am UTC](https://forum.kirupa.com/t/controlling-loaded-swfs/108157 "2004-04-22T03:06:33Z")\
**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, 3:06am UTC](https://forum.kirupa.com/t/controlling-loaded-swfs/108157/1 "2004-04-22T03:06:33Z")

</div>

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

[size=3][font=Times New Roman][color=black]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.[/color][color=black][font=Verdana][/font][/color][/font][/size]

[size=3][font=Times New Roman][color=black]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.[/color][color=black][font=Verdana][/font][/color][/font][/size]

[size=3][font=Times New Roman][color=black]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.[/color][color=black][font=Verdana][/font][/color][/font][/size]

[color=black][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][/color][color=black][font=Verdana][/font][/color]
