Click to See Complete Forum and Search --> : Preloading swf and stopping

05-04-2000, 07:37 PM
Do you wish to get swish for free?
Then solve my problem:
I have a movie called index.swf. It has a background sound which is a seperate sound file called loop.swf. I also have three seperate swf files called testlinks.swf,testrechts.swf and testmidden.swf. These are triggered by the roll over action. Now i have two problems:

1. how can i preload the sound loop.swf BEFORE the movie index.swf starts?
2. how can i preload the three test....swf files and not letting them start automatically, but triggered with roll over (when i trie to preload them, they are played when the movie index.swf start.

If one smart flash freak can solve this, he gets the credit on my site and gets swish3d for free! Note: you have to solve it by editiing my files and send them to me. The files are available for download at:
www.v-design.nl/index.swf (http://www.v-design.nl/index.swf) www.v-design.nl/loop.swf (http://www.v-design.nl/loop.swf)

All files are not protected.
I have copyright on these files so do not misuse my design please.

Good luck!

Tom Viguurs

05-05-2000, 06:47 PM
First you need to set up your preloader
so that it checks if frames are loaded
in the loop.swf first.
Then it starts preloading the next .swf file
and so forth.
then in each .swf file
make a layer called Actions...
in the first frame
add the stop action.

What this will all do is load the seperate
.swf files

and stop them from playing untill the button is pressed in the index.swf
It's all on how you set it up.

05-05-2000, 06:51 PM
One more thing

in the loops.swf
add the stop action in the first frame
and make a keyframe in frame 2
and start the loops

because if you put it in the first frame
it will still play the music which you don't want.

so simply put it into the second frame.

Reply if you need more info....

05-05-2000, 07:27 PM
one more thing... How does the loop.swf file has to look like then:
Where comes the sound, the actions etc.
Can you send me a solution?

I am really glad that you take the time to solve my problem

05-05-2000, 07:28 PM
Forgotten something:

How does the action script look like in the preloader in index.swf (main movie)
to call the swf files?

05-06-2000, 06:26 AM
Take this tutorial http://www.were-here.com/forum/tutorials/multiple-movie-preload/index.html

05-06-2000, 06:30 AM
Reread my posts

1st frame stop action
2nd frame add music
and set the SYNC to START

05-07-2000, 02:38 PM
heh LOOOOL!!!
it's easy!
i used it in my previous sites(well in my current one, too)
set up a movie clip.
make 2 frames.
in the first frame say to unload all the movies from level 16.
create a new keyframe.
in this keyframe in keyframe actions say that load movie(blah blah blah with .swf with music URL) in level 16. then in the first frame, make a button to go to second frame and in the second to go to first. easire than i thought.


05-07-2000, 05:33 PM
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by jydnas:
Reread my posts

1st frame stop action
2nd frame add music
and set the SYNC to START


I am totally confused now. I do not know what to do. Is there any way that i can send you the files so you can set me an example in them?

05-08-2000, 01:25 AM
Did you take the tutorial at were-here.com
on preloading multiple movies?

05-08-2000, 04:58 AM
Yes i have read the tutorial, but it didn't make any sense. In the tutorial i have to label a frame where there is no keyframe present. This is not able to be labeled then? The tutorial is unclear to me, but i may have found a solution for my problem. Only I am stuck with one more thing:
Is it possible to load a movie into the main movie to a certain frame number?
Load movie loop.swf frame #X

If you can help me with this, my entire problem is solved, because i will call the frame # in the movie to be loaded where the sound starts. The load movie in the preloader will load the movie, but stop at frame #1.
In frame #2 the sound will continue.

Greetings Tom Viguurs

[This message has been edited by stirred (edited 08 May 2000).]

05-09-2000, 02:51 AM
YES! make your key frame where you need it
like say frame 38 or whatever IN THE MAIN TIME LINE
and add the action

LOAD MOVIE ("sound.swf",1)

as soon as the player reaches that key frame
bammo it loads the external .swf file into
the main movie.

Try it out!