Hi, I am creating a 5 frames form for input by others. Every
page will have a Next Button to let users move to the next frame.
Can the same instance name be given for all the Next buttons?
So that when I code the Click event in frame 1, using the
listener object method. I only need to write the code once, and all
5 buttons share the same code.
Is that possible?
Can the same instance name be used but...
Theoretically it should be possible. But, first, why are you
using the Listener object method? Wouldn't a simple ''onRelease''
method be simpler?
The easiest way around this is to place the Next button on a
separate layer with only one keyframe in Frame 1. That way it will
appear in all 5 frames. Only need to code it once to direct the
playhead to nextFrame().
Subscribe to:
Post Comments
(Atom)
No comments:
Post a Comment