Groups | Blog | Home
all groups > flash (macromedia) > august 2005 >

flash (macromedia) : one more action script question


Todd Benrud
8/17/2005 11:02:44 PM
I've added stop(); on a seperate layer called action in every key frame 1-5.
In seperate layers and keyframes I have 5 different photos. In a layer
called button I've placed 2 buttons, one that will take you to next frame
and on to previous. My movie stops but the buttons will not work. I placed
the action

on (release) {
nextFrame("1");
}

but I get this error

**Error** Scene=Scene 1, layer=Layer 7, frame=6:Line 2: Wrong number of
parameters; prevFrame requires exactly 0.
prevFrame(1);

I would like one button to take me to next frame and another to take me to
previous frame. Without basic actions I'm lost. Can't wait for studio8!!

Please help.
Thanks
Todd

Chris, thanks for your help with my last post

--
-----------------------------------
www.benrud.net
Enjoy Life!!

Todd Benrud
8/17/2005 11:56:37 PM
thanks!!!

[quoted text, click to view]

urami_
8/18/2005 2:54:34 PM

[quoted text, click to view]

next frame does not take parameters, it is as it says NEXT frame
nextFrame(); same apply to previous frame action.


on (release) {
nextFrame();
}


--
Regards

Urami

--


<urami>
http://www.Flashfugitive.com
</urami>

<web junk free>
http://www.firefox.com
AddThis Social Bookmark Button