This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > December 2003 > Can actionscript change a "Button's" "Behavior"?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Can actionscript change a "Button's" "Behavior"?
jay_architect webforumsuser@macromedia.com

2003-12-18, 8:39 pm

While a movie is playing in "level 0" a button is pressed to launch another movie in "level 1". Is there a way to change the button that was pressed from a "button" to a "graphic" using its behavior? Or is there another option?

Thank you in advance for your help.
j


Myrddraal webforumsuser@macromedia.com

2003-12-18, 8:39 pm

are you wanting to do this so that the hand cursor will not appear on that button??

If so, just use myButton.useHandCursor = false; and that'll do the trick

-Jason


henri

2003-12-19, 9:40 pm

You could use an MC with a onRelease f.i.

myMovieClip.onRelease = function() {
// your code
}

and put after selection a

delete myMovieClip.onRelease;


Henri



"jay_architect" <webforumsuser@macromedia.com> wrote in message
news:brt564$gmq$1@forums.macromedia.com...
quote:

> While a movie is playing in "level 0" a button is pressed to launch


another movie in "level 1". Is there a way to change the button that was
pressed from a "button" to a "graphic" using its behavior? Or is there
another option?
quote:

>
> Thank you in advance for your help.
> j
>
>




Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews