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

Two Things...

Status
Not open for further replies.
Dec 24, 2001
857
GB
I need help with two things:

1) I'm creating a website in Flash. I have my 'home page' which links to a number of other parts and all have preloaders. In the preloader, it loads the movie and waits for you to press a button. I was wondering, how can I make it so that Flash skips the preloader if its already loaded that page before because having to press the button every time is irritating?
I have the preloader in scene 1, and the rest in scene 2. As an example, I linked from the home page to a downloads section, and then in the downloads section, I created a button with the following code:

on (release) {
unloadMovieNum (0);
loadMovieNum ("homepage.swf", 0);
gotoAndPlay ("Scene 2", 1);
}


I was hoping that it would load the movie and jump straight to scene 2 where the main part of the home page is (skipping the preloader altogether), but it didn't work.

2) Second thing...a while back, someone posted a thread about a java applet or something which shook your browser (looked like there was an earthquake on your screen). Where can I get this applet, and how can I incorporate it into Flash. The reason I ask is because I have an idea where the movie loads and as it plays a certain part, it shakes the screen.

As always, any help is appreciated...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top