# Passing variables between swiffs

**URL:** <https://forum.kirupa.com/t/passing-variables-between-swiffs/234675>\
**Category:** flash\
**Created:** [August 4, 2007, 2:53pm UTC](https://forum.kirupa.com/t/passing-variables-between-swiffs/234675 "2007-08-04T14:53:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpearson311](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@jpearson311](https://forum.kirupa.com/u/jpearson311)\
**Post date:** [August 4, 2007, 2:53pm UTC](https://forum.kirupa.com/t/passing-variables-between-swiffs/234675/1 "2007-08-04T14:53:08Z")

</div>

Hello all:

I’m trying to tell another swiff to gotoAndStop at a certain frame when it is loaded into \_level1 from \_level0. The swiff I’m loading into \_level1 has one layer with 4 different .jpgs on it. There are 4 seperate buttons at \_level0 that all load this swiff, but I’d like to be able to tell it to gotoAndStop at a certain frame in the loaded swiff depending on which button was clicked. For example:

```auto
 
on(release){
     my_mcl.loadClip("external.swf", 1);
     _level1.gotoAndStop(2);
}

```

If anyone can help, I’d appreciate it. Thanks!

JPearson311
