-
Button problems in flash!!! :s
Hello
Im a bit of a newbie to flash. Been trying just to make some basic pages and ive hit a bit of a problem with the buttons. I realise that you can set the buttons to have different states but i cant work out how to activate the different animations for when the cursor is over the button, clicks the button etc.Can any one help me out?
Cheers guys for looking.
-
Senior Member
If you double click the button, you see that there are four parts of the timeline: Up, over, down and hit.
If you e.g. want to play an animation when the mouse is over the button, you just insert the movie clip in the "over" section in the button timeline.
You can also use this code, attached to the button:
on(rollOver){
movieclip.play();
}
on(rollOut){
movieclip.stop();
}
That would start and stop a movie clip (here with the instance name "movieclip") on rollover and rollout.
I'm not sure if i've answered all you asked for now, if there's anything more, just ask!
Magnus
-
cheers m8! i think you ave. if i havent ill ask again! thank you
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|