# Need help asap

**URL:** https://forum.kirupa.com/t/need-help-asap/11622
**Category:** Uncategorized
**Created:** [January 20, 2003, 10:11am UTC](https://forum.kirupa.com/t/need-help-asap/11622 "2003-01-20T10:11:01Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Audrius](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@Audrius](https://forum.kirupa.com/u/Audrius)
#### Post date: [January 20, 2003, 10:11am UTC](https://forum.kirupa.com/t/need-help-asap/11622/1 "2003-01-20T10:11:01Z")

</div>

hey guys

I have situation:  
I have couple externel SWF’s for my web site; 1st - home.swf, which has some text , 2nd- swf is contact and the 3rd one is portfolio.swf

the problem i have is when i load externel swf (i.e contact info) into my home page it actually apears on the top of my home text  
how i should program actionscript to avoid this problem.

ps I have F MX  
the script i am using for mu buttons is as follow:

on (release) {  
\_root.contents.loadMovie(“contact.swf”);  
}

thank you in advance

Andy

---

<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: [January 20, 2003, 1:21pm UTC](https://forum.kirupa.com/t/need-help-asap/11622/2 "2003-01-20T13:21:30Z")

</div>

I think you’re looking for swapDepths!  
There’s a tutorial on this site for this action! Just use the swapDepths() action after the movie is loaded!:ub:

---

<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: [January 20, 2003, 1:55pm UTC](https://forum.kirupa.com/t/need-help-asap/11622/3 "2003-01-20T13:55:38Z")

</div>

or you just need to arrange your contents clip to be below your text when you have it there in flash

---

<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: [January 20, 2003, 2:40pm UTC](https://forum.kirupa.com/t/need-help-asap/11622/4 "2003-01-20T14:40:33Z")

</div>

OR instead of loading into a movie clip, load into levels, that way next time u click on another button, it will automatically unload that movie and load the other one!!

on (release) {  
loadMovieNum(“ur\_external\_movie\_here.swf”, 1);  
}

=)

---

<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: [January 20, 2003, 3:17pm UTC](https://forum.kirupa.com/t/need-help-asap/11622/5 "2003-01-20T15:17:23Z")

</div>

> \*Originally posted by Dave \*  
> \*\*OR instead of loading into a movie clip, load into levels, that way next time u click on another button, it will automatically unload that movie and load the other one!!

on (release) {  
loadMovieNum(“ur\_external\_movie\_here.swf”, 1);  
}

=) \*\*

that of course will mean it’ll DEFINITELY be above your text 😉

---

<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: [January 20, 2003, 3:33pm UTC](https://forum.kirupa.com/t/need-help-asap/11622/6 "2003-01-20T15:33:38Z")

</div>

Homepage can be external too =)
