-
gotoAndPlay error
flash cs3 on actionscript 1 & 2 (with flash 8) gives this error when i try to preview the .fla as a .swf:
Code:
Wrong number of parameters; gotoAndPlay requires between 1 and 2.
why is it doing that? what does it mean? and how can i fix it?
thanks
-
gotoAndPlay(parameter here)
eg
gotoAndPlay(10) - this will make the playhead go to frame 10
-
i have gotoAndPlay(30); and it still says it
-
Senior Member
my guess would be that the timeline you have that gotoAndPlay(30); sitting on, does not actually have a 30th frame, and thus the error...
you may be missing a _root. or a _parent.
ie: _parent.gotoAndPlay(30);
what the hell's a motion tween?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|