-
Movie Clip Rollover
I want to apply this code to a movie clip, but there's not an option for a rollOver on a movie clip. Do I HAVE to embed a button within the movie clip. Here's the code I came up with.
this.onRollOver=function(){
black=new Color(this);
black.setRGB(Ox000000);
}
this.onRollOut=function(){
aqua=new Color(this);
aqua.setRGB(Ox33CCCC);
}
-
FK's Geezer Mod
Give the movie clip an instance name and attach your code to a frame, not the movie clip:
_root.mcName.onRollOver=function(){
black=new Color(this);
black.setRGB(Ox000000);
}
_root.mcName.onRollOut=function(){
aqua=new Color(this);
aqua.setRGB(Ox33CCCC);
}
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
|