Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Different level of movies?

Status
Not open for further replies.

abiemjee

MIS
May 4, 2003
16
CA
Hi...I made a "host movie clip" that will load my external menu.swf and update.swf movie clips.

However is it possible that, say if you click on a button in the menu.swf (after it is loaded in the host movie clip of course) that it will unload the update.swf + menu.swf (but keep the host movie clip because there's something else inside, it is not just a blank movie clip to hold external movies)? Like i would want to load a "changer.swf" first that runs while the new external movie is being loaded and after the new external movie is loaded the changer.swf then is unloaded and the new external movie loads into place.

Is this possible? how? and do i have to change the way I load my initial menu.swf + update.swf movies? because I loaded them by target into 2 blank movie clips inside the host movie so I can place them wherever i want.

Hope my question is clear..if you can help me can you please be as clear as possible? I'm really bad at flash actionscripting =( Thanks!!
 
no one knows hoiw to do this?? =(

or wus i being too complicated on my problem?
 
its perfectly possible but rather pointless unless the swf to be loaded is very large with a lot of stuff marked export for actionscript.

what you seem to be wanting is a movie to act as a preloader while these other files are loading which unless they fit the description above is fractions of a second.


or maybe i have misunderstood your question.
 
yeah exactly..a preloader...
but also there is the problem that...if i load movies into targets into the parent movie instead of using levels...then how can i "unload" those movies with a command and load other movies into other places?

thanks
 
if you load a movie into an empty clip then when you load another movie into that clip the first movie is automatically unloaded. so no need for unload.
 
yeah..but my situation is that..

parent movie loads externaL menu.swf into an empty clip
but when u click on a selection in the menu.swf it would UNLOAD the menu.swf fromthe empty clip that is IN the parent movie clip and load another movie into the parent's empty movie clip.

is that possible?...because i need to control the parent clip 2 unload the menu.swf IN the menu.swf or like you said, if not unload then i hve to load another movie clip into the empty clip in the PARENT movie clip from commands of menu.swf...hwo do i do that? =(
 
sounds like all you need is
1. clip to load the menu
2. another clip to load the content when a menu selection is made
 
yeah..but how do i do that?...that's my problem...
i need to control the parent movie to load another movie clip when a selection is clicked on the menu (discarding the menu.swf AND another update.swf @ sametime)

it's liek this

|_parent clip_| ------(blank clip)menu.swf
------(blank clip2)update.swf

and when a selection is clicked in the menu.swf it needs 2 turn into
|_parent clip_|-----(blank clip)something.swf
-----(blank clip2)*EMPTY*

i dopnt know howto discard the menu and update.swfs and load the new one in..because i used targets when loading the menu and update.swf =(
 
I've been following this thread and don't understand what you're trying to do, the way you're explaining it.
Why don't you post a link to your .fla(s), so we can possibly get a better understanding of all of this!

Regards,

cubalibre2.gif
 
you dont touch the 'parent' thing

------(blank clip)menu.swf
------(blank clip2)update.swf
is what you want to keep...the menu ought to be always there. so from the menu buttons its just

on (release){
loadmovie("something.swf",clip2);
}
 
yeah but i want 2 take out the menu.swf too w/the loading of a new external movie clip..=(

mm okay i will soon.....i'll post the movies...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top