|
-
How to change MovieClip color on rollover.....
Pretty simple stuff, but for some reason its not working for me.. 
On layer 2 I have my movie clips loc1, loc2, loc3....etc... inside a movie clip (Inner Main) , and on layer 1 I have a movie clip (click).
Code:-
for (i in mc) {
if (typeof (mc[i]) == "movieclip" && i != "click") {
myBtn = mc[i];
myBtn._alpha = 0;
myBtn.onRollOver = function() {
myBtn._alpha=100;
var colorful = new Color("this");
colorful.setRGB(0x003366);
};
myBtn.onRollOut = function() {
myBtn._alpha=0;
};
myBtn.onPress = function() {
};
};
Tags for this Thread
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
|