Hi again. Im building a website in flash… a few problems… i have never done a whole site in flash. Now how would i do this… making all the pages and all in one movie, and making the movie without playing and going through all the pages… just when i click? thanx
The way I do it is…have one main swf file…i usually call base.swf , and then i load each seperate movie into it. i.e. : navigation, content, etc.
How would you do that? and how would you link it all up and stuff?
thanks
there are lots of different ways to do this, and everybody’s got a different way it seems–zao’s way of having external .swfs loading is nice and easy:
loadMovieNum(“content.swf”, levelNum);
you just have to have the loading swf in the same directory on the drive
(make sure your loading movie is the same size as your main flash movie, and place your content accordingly.
the only problem with this method is that it can be cumbersome to have to keep opening up external files to change them. usually, i do a mixture, where i keep most of the content in the main movie, and use loadMovie for big files/sections.
here’s another way to set up your movie in flash:
basic structure:
(navigation, content1, content2, content3, background, etc.)
make a content layer and add keyframes for as many content sections as you have. in each keyframe put your content for that section.
make a labels layer, add a keyframe to each frame and label it according to the section in the same frame on the content layer.
make an actions layer and put a stop in each frame.
make a navigation layer, but don’t put any keyframes so that your navigation structure/buttons persist across your whole movie.
in each button, put gotoAndPlay(“label”)
other sections, such as background, etc. may either persist across your movie, or else you can add blank keyframes to eliminate the content in that frame on that layer.
you can also use the loadMovie command within this format: just substitute the loadMovie code for gotoAndPlay(“label”)
hope this helps…
-mojo
Justin, take a look at this tutorial, it will introduce you to what mojo has explained, good luck. =)
Thank you all.:ninja: