|
-
wow... itz my 3rd question of the day... once again, i have a simple question that is too challenging for me. how do apply an rollover effect on a button such that when a user places his or her cursor on top of the button, the button gets bigger and blurry (in a loop-ing manner). am i supposed to do something with four states of the button (up,over, down and hit)? or is related to actionscripting? or both? thank you very much for stopping by. peace
alex
-
Old dog learning new tricks
Ela Alecho...
There r two ways of doing this.
U can put a movieclip with the animation u want in the over state only.
U can place an empty in the first frame and a stopped mc over the button. Then with actionscript assigned in the button, tell the mc to go and play frame 2. Like:
on (rollover){
_root.theclip.gotoAndPlay (2);
}
-
hey thanx... just a few more questions...
hey. thanx for replying to my message... i just have few more questions...
1. how do i put a movieclip just on over state?
2. what do you mean by 'stopped mc' over the button? how is that different from the first method?
3. i am kinda confused with the actionscript you told me... (i dont know much about actionscript, sorry)
on (rollover){
_root.theclip.gotoAndPlay (2);
}
what is "_root.theclip"? i see '_root' quite often but what is it?
thank you very much again. peace
-
make your animation a movie clip
then in the over state of the button
drag the movie clip into the stage
-
thanx!!!
-
Old dog learning new tricks
When u put a movieclip in the stage u put an instance of it and not the real thing. So u must name this instance in order to control it. U name it by using the instance panel.
_root represents the main timeline.
_root.theclip means there is an instance called theclip inside the main timeline.
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
|