-
button inside script
Hello, i have seen in one sample file there is script inside button (we have 4 up,over,down,hit) there is script on up & over frames.
can we write script for that also please help me in finding this...
-
Hi Devendra, I'd like to help but I don't really know what you're talking about. You want to know if you can write a script in a button. What should the script do?
-
Hi,
i saw some script in buttons, how can i add scrit inside button layers.
-
Ahh now we're talking! Buttons use handlers that start with ON. You ahve a few options
onRelease (when the button is released)
onPress (when it is pressed)
onRollOver (when the mouse rolls over the button)
on RollOut (when the mouse rolls away)
An example is
on (release) {
gotoAndStop(10);
}
The realease can be changed and the command (gotoAndStop) can be changed.
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
|