This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Flash Site Design > April 2005 > Probably really simple...
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 |
Probably really simple...
|
|
| Mysterious Bob 2005-04-27, 5:43 am |
| Ok this is probably really basic, but i'm somewhat of a newb. I'm trying to
make it so that when i rollover a button, it changes color and stays that
color. Right now i can make it so it changes color, but then when i roll the
mouse off, it just goes back to the original color...
| |
|
| Put the same graphic in keyframes 1 and 3 of your button.
shawn
"Mysterious Bob" <webforumsuser@macromedia.com> wrote in message
news:d4n7fm$3hk$1@forums.macromedia.com...
> Ok this is probably really basic, but i'm somewhat of a newb. I'm trying
to
> make it so that when i rollover a button, it changes color and stays that
> color. Right now i can make it so it changes color, but then when i roll
the
> mouse off, it just goes back to the original color...
>
| |
| Buccixor 2005-04-27, 7:31 am |
| Use a movieclip to do that..
If I understood correctly you want the mouse-over to happen only once,
right?
So create a movieclip with the button as you first want it to be seen
and on the second frame the way you want it after the mouse over.
The put simple actionscript to send the clips playhead to frame 2 on
mouseover.
on(rollOver){
this.gotoAndStop(2);
}
in earlier flash player versions it should be :
onClipEvent(mouseOver){
this.gotoAndStop(2);
}
Don't really remember at wich version the mc on() behaviour was introduced..
Mysterious Bob wrote:
> Ok this is probably really basic, but i'm somewhat of a newb. I'm trying to
> make it so that when i rollover a button, it changes color and stays that
> color. Right now i can make it so it changes color, but then when i roll the
> mouse off, it just goes back to the original color...
>
| |
|
|
| Mysterious Bob 2005-04-27, 11:14 pm |
| ok that helped so much, but now i have another question. I'm trying to make
something like a word find...but i want it so that whenever they rollover the
letter that isnt part of a word, it turns red. So i have to make every single
letter a movie clip, and we're talking about 100 words, so doing that for every
letter will be EXTREMELY long. is there anyway to get around this?
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|