Need help asap

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

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:

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

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);
}

=)

*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 :wink:

Homepage can be external too =)