| View previous topic :: View next topic |
| Author |
Message |
froomzer
Joined: 23 May 2006 Posts: 148
|
Hey, how can I get a mouseout effect to play on mouseout of a button?
Like a fade when your mouse is taken off a button |
| |
|
|
|
|
Roombor
Joined: 02 Jun 2006 Posts: 111
|
| On (rollOut){//actions} |
| |
|
|
froomzer
Joined: 23 May 2006 Posts: 148
|
| So I add that in my button action, but how do I tell it to play a certain frame of a movie clip |
| |
|
|
Roombor
Joined: 02 Jun 2006 Posts: 111
|
| Target the clip in the actions of the rollOut cmd |
| |
|
|
froomzer
Joined: 23 May 2006 Posts: 148
|
| (don't know much action script) |
| |
|
|
Roombor
Joined: 02 Jun 2006 Posts: 111
|
| _root.yourClip.gotoAndPlay("yourFrame"); |
| |
|
|
froomzer
Joined: 23 May 2006 Posts: 148
|
| Ah, so my button should actually be like a movie clip rather |
| |
|
|
Roombor
Joined: 02 Jun 2006 Posts: 111
|
| "yourFrame" would be a frame label, else, you can just use the number of the frame yu want to start at |
| |
|
|
froomzer
Joined: 23 May 2006 Posts: 148
|
| Where would I store the movie clip |
| |
|
|
Roombor
Joined: 02 Jun 2006 Posts: 111
|
| Button can afect the mc |
| |
|
|
froomzer
Joined: 23 May 2006 Posts: 148
|
So a movieclip with an empty first frame, hidden ontop of my button
With stop action on first frame |
| |
|
|
|
|
Roombor
Joined: 02 Jun 2006 Posts: 111
|
Wherever yu want, you can target it thru an absolute path i.e. _root.yourClip
Name your clip yourClip for that to work |
| |
|
|
|