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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Seperate Movies or Several Scenes in One Movie **Beginners Question* 1

Status
Not open for further replies.

rossmcl

Programmer
Apr 18, 2000
128
Can someone explain the basic theory -

If my Flash site is going to be reasonably large, am I better to keep the separate parts of it in different movies and call where necessary, or put all the flash in the one movie and have different scenes.

Please explain to a FLASH beginner!

If it is better to seperate into diff movies, what is the code for calling another movie.

Thanks a lot.
Ross
 
hi


Tough one. It's a toss up between the two. Both have advantages and disadvantages, but if you opt for 'scenes' and it's not good enough, then it's easy enough to alter it to suit the 'load/unload' approach, or vice-versa.

If you do want to try the load/unload approach it's easy enough. The action required to load a movie is:

Load Movie ("your-movie.swf", 1)

[where the '1' represents the level to load the movie into]and to unload is:

Unload Movie (the level you want to unload)

If you don't know the concept of levels ite pretty easy to grasp. Just imagine sheets of paper piled neatly on a table. The bottom sheet is Level0. When you load a movie into Level1 you're just covering Level0, adding a sheet to the pile....and so on. To stop the pile getting too heavy you might want to remove a sheet or two using the 'Unload' action.

Where you put the loadmovie/unloadmovie/scene actions obviously depends on your site, but they can be on the timeline, assigned to a button, or called from within a movie-clip.

Anyway I hope this helps, and that not too many people disagree, but its trial-and-error really.

dD


davdesign@hotmail.com

^^^^^^^^^^^^^^^^
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top