;

PDA

Click to See Complete Forum and Search --> : Controlling a Movie


colboy
06-12-2004, 11:20 AM
I'm trying to create a picture gallery. I have a movie with my main 16 pictures, 1 frame each and 16 thumbnails. First I want to be able to stop the movie when the project is launched. I tried swf1.stop() on the keyframe, but it doesn't seem to work.

Also on each thumnail I perform the following

on (release)
{
swf1.gotoandstop(6);
}

Where the number is the frame I want displayed in the movie. However it always goes back to frame 1 and then all the thumbnails have no effect.

I'm sure there is a simple thing I am missing, but I can't see it. Help!

Many thanks

Steamer
06-12-2004, 12:48 PM
I'm new to koolmoves colin but ill give this a try.

for the first problem where the movie loads and dont stop make a copy of the first frame so that 1st and 2nd frames are the same and then add a stop action in your score/timeline on the 2nd frame

for the second problem open your properties for the picture and add an action go to keyframe(3) and stop on release

for the next picture do the same only make it go to keyframe(4) and stop on release

so on and so forth

hope it fixes ya up

Fingermonkey
06-12-2004, 12:54 PM
The Go to and Stop action does not work on the first frame of a movie. Place your 16 thumbnails on frame 1 then add two more identical frames (frames 2 and 3). Next, place your 16 images on frames 4 thru 19. Now open up the Actions and Sounds Overview, select frame 2 and add the following action: Go to Frame 3 and Stop (You can do this with KM, you don't need to write in any actionscript). Now go to frame 3 and place Go to Frame and Stop actions for each of the thumbnails so each links to it's corresponding picture (frame). Now, make sure you add some type of back button (with a Go to Frame 1 and Play action) on each of the frames (4-19) so the viewer can navigate back to the thumbnails frame.