PDA

View Full Version : Movie clip - gotoandplay(...);



Drunken
April 24th, 2003, 05:46 AM
Hey!

I have a movie clip and on frame 60 of that movie clip with an action, "gotoAndPlay("Scene 1", 1);", but it doesn't work...still playing the movie clip and don't go to frame 1 of scene 1..... :eye:

Anbody know a solution for this???

thks

virusdoder
April 24th, 2003, 05:56 AM
can you maybe set a stop()

Flashmatazz
April 24th, 2003, 06:19 AM
Try to do it using framelabels.

Put a framelabel on frame 1 of Scene 1, e.g. 'myScene1'

Then in frame 60 of your mc, put:


gotoAndPlay("myScene1");

markcq
April 24th, 2003, 06:53 AM
check your spelling, and check if you used upper or lower case. remember flash is case sensitive... i know because my my friend and myself spent 20 minutes looking for an error like that... it ended up we used a capital letter for the Scene, and in the coding we wrote it all in lower case.

markcq

Drunken
April 24th, 2003, 07:12 AM
i don't understand why it didn't works.....grrrr.....

if you try link from a mc to a scene with a gotoandplay("Scene 1",1); or with a frame label, gotoandplay("start"); ....never works....

λ
April 24th, 2003, 07:18 AM
MCīs donīt work with scenes. If you can, try putting this on your mc:
_root.gotoAndPlay(25)
and this on frame 25 of the main timeline:
gotoAndPlay("myScene1", 1)
then it should work.

Drunken
April 24th, 2003, 07:24 AM
Ei njs12345, thk u!! it works eheheh

thks for all that help me!