# Lost...need help!

**URL:** <https://forum.kirupa.com/t/lost-need-help/57037>\
**Category:** flash\
**Created:** [July 9, 2004, 6:11pm UTC](https://forum.kirupa.com/t/lost-need-help/57037 "2004-07-09T18:11:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TKturner](https://avatars.discourse-cdn.com/v4/letter/t/d07c76/32.png) [@TKturner](https://forum.kirupa.com/u/TKturner)\
**Post date:** [July 9, 2004, 6:11pm UTC](https://forum.kirupa.com/t/lost-need-help/57037/1 "2004-07-09T18:11:47Z")

</div>

OK, my brain just can’t comprehend this…

I am using video so I want everything to be single swf files and then I want to link it all, I followed the flash site tutorial to set up my flash site, it worked ok except when you click my button and the swf file loaded it played under the scene I was on. I want to click my button and have it take you to the new swf file and I want the old one to go away. Here is the code I used,  
[size=3][font=Times New Roman]on (release) {[/font][/size]

[size=3][font=Times New Roman] \_root.contents.loadMovie(“movie 1.swf”);[/font][/size]  
[font=Times New Roman][size=3][/size][/font]  
[font=Times New Roman][size=3][/size][/font]  
I know I should be using parent or get target…I’m just kinda lost.

Thank you in advance for your help!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 12, 2004, 10:28am UTC](https://forum.kirupa.com/t/lost-need-help/57037/2 "2004-07-12T10:28:09Z")

</div>

use

```auto
_root.contents.setDepth(1200)

```

wellchange the depth of the movie to higher than the rest ofyour movie… im not sure on the wording of the above code as i havent used it ina while and i dont have access to fmx atm…  
investigate depths 😉

Prophet.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 12, 2004, 12:23pm UTC](https://forum.kirupa.com/t/lost-need-help/57037/3 "2004-07-12T12:23:57Z")

</div>

i think it’s swapDepths(1200) or swapDepth(1200)
