Page 1 of 2
control parameters in flash-need help
Posted: Tue Dec 07, 2004 09:17
by Anonymous
Does anyone know how to tell the rparameter in flash actionscript to go to specified frame in the timeline?
i want to have 4 objects in the flash movie and control their timeline through the 4 rparameters in resolume.
need help
for this evening!!
Posted: Tue Dec 07, 2004 10:27
by edwin
i guess you made four instances of your movieclip (or different movieclips), then make sure you check the rparameter in the main loop of your animation and set the framenum of your movieclips with that value.
so:
frameN = (totalframes/100)*rparameter1;
_root.clip.gotoAndStop(frameN);
Posted: Tue Dec 07, 2004 10:28
by edwin
an extra tip,
set the fps of your flash movie to 25 fps for much smoother playback.
cheers
Edwin
Posted: Thu Dec 09, 2004 10:34
by Anonymous
thanks Edwin
anyway i couldnt make it work.i did what you said and its still not working..
i made each movie with 100 frames so is it still necesarry to make a frame number variable?
im puttimg here this fla so if you will have some time please check what i made wrong.
respect
Posted: Thu Dec 09, 2004 10:36
by Anonymous
oops\.here goes the fla
Posted: Thu Dec 09, 2004 10:37
by Anonymous
oops\.here goes the fla
Posted: Thu Dec 09, 2004 10:57
by Anonymous
oops.fla is too big.here is the link: htttp://
www.prolinea.pl/ustawy/prorok01.fla
Posted: Thu Dec 09, 2004 17:49
by edwin
Hi,
I will have a look at your file.
cheers
Edwin
Posted: Thu Dec 09, 2004 23:18
by Anonymous
hi
i checked it once again and i have found that i simply forgot to add stop action to first frames of the movie clips and i didnt initialize frameN,U...variables...but even if i correct it only one movieclip with rparameter1 is working,the rest of clips stays at first frame...waiting for your answer.
thanks
Posted: Fri Dec 10, 2004 10:35
by bart
did you set the timeline control to flash?