PDA

View Full Version : Roll Out Scripting


Heimdall
11-20-2003, 01:25 AM
Need some help from some scripting gurus:

I have a button,

It has a rollOver command, a rollOut command, and finally an onRelease command.

Here's the script:

on (rollOver) {
gotoAndPlay ("web");
}
on (rollOut) {
gotoAndPlay ("webout");
}
on (release) {
gotoAndPlay ("webhit");
}

Ian Jones
11-20-2003, 10:20 AM
erm... umm.. and what exactly was your question?

Heimdall
11-20-2003, 08:51 PM
Whoops,

Looks like the other half was cut off.

Try "2":

Need some help from some scripting gurus:

I have a button,

It has a rollOver command, a rollOut command, and finally an onRelease command.

Here's the script:

on (rollOver) {
gotoAndPlay ("web");
}
on (rollOut) {
gotoAndPlay ("webout");
}
on (release) {
gotoAndPlay ("webhit");
}

Challenge:
I want to keep the rollOut action from executing if the "release" command executes.

Flash 5 Mac OSX.2

I'll repost this at the top.


-Heimdall

CGTalk Moderation
01-16-2006, 05:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.