PDA

View Full Version : AN VALUABLE TECHNIQUE?


Metrov 8
01-21-2001, 04:43 PM
If I build an all Flash site, I create menu buttons that load individual MCs. However, I've noticed that sometimes there is a delay in loading an MC. I believe this is due to network congestion, because it doesn't happen all the time, only sporadically.

So, it would be best, I believe, if all the MC's could be pre-loaded [without the viewer even knowing it]. To do this, I load the MCs with Load Movie commands in keyframes in the main interface. The MCs have a stop action and blank frame in the first frame.

Then I use TellTarget commands in the menu buttons to tell the MC to GO TO frame 2 which is where the content resides.

Now, when I want to bring up a new MC, I want the original MC to go away. To do this, I need to use a variable command in the buttons.

This is the tricky part, and I suggest a tutorial on how to write the script for the buttons. I believe this would be the most efficient way to create an all Flash website. mgb and I have already begun a discussion on the subject at the following thread:

http://www.actionscripts.org/forums/showthread.php3?threadid=242

Thanks for considering my suggestion. Metrov

zanex
02-07-2001, 07:27 PM
If need be I could offer my Fla's in confidence for you to check out and maybe see where I'm going wrong? Or I could devise a basic concept Fla example on how to create the "open close doors/preloader" technique and you could make the required changes and post it at a personal location on the web, just for people who are serious about it.

Jesse
02-08-2001, 12:47 AM
COuldn't you just load your movies into clip ont he main stage whose visibility is set to False and the clip itself has a preloader, and when preloaded fully it does:
this._visible = Ture;

??
I think that would work fine, or am I missing the point?

Cheers

Jesse