Buttons in two layers and cursor change.

Dekastello
Dekastello used Ask the Experts™
on
Description:
- I have got area on the scene (I’ve done as button). If you go over the area (button) with cursor
(rollOver) {
    gotoAndPlay(2);
}
- start to play an animation on a frame 2
- other buttons are (as menu) inside the area (top the button)
- the animation stop playing if you go out the area (button) -> you go back to the frame 1

Problem 1:
- If I use for the area (button) an instruction
(rollOout) {
    gotoAndPlay(1);
}
- stop to paly the animation if you go over the menu buttons also
-> that is unwelcome
I’ve resolved the problem -> put other bigger button behind the area (button) and use action for it
(rollOout) {
    gotoAndPlay(1);
}
- there is another problem
- if you go out the area (button) too fast -> the scene doesn’t go to frame 1 and still play the animation on frame 2
-> that is unwelcome also

How could I do it?

Problem 2:

If you go over the area the “arrow” cursor change to a “hand” cursor because it is done as a button.

I don’t like it because the area (button) doesn’t have any active attribute for users.

How could I do that? I want standard cursor (arrow) if you go over the area.

Tank’s a lot for your help.
Peter.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
i think i have some understanding of what you want, but im not sure.  you could send me the file so i could look at it. and if you could explain it a little better....


peace
mtb007

Commented:
koscho.j@mellon.com
Commented:
problem 2..(MX only)
give an instance name to your button area..say.. backbut..on the button put the code ..

on(rollOver){
     backbut.useHandCursor=false;
}

Z

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial