Hellow masters!
I want the black shadow to fade out on mouse over & go back to normal on mouse out! It seems pretty easy but I cant work with the actionscripts so plz help me!
Thx
on (rollOver) {
_alpha =“0”;
}
on (rollOut) {
_alpha =“100”;
}
plz adapt
system
October 22, 2003, 6:31pm
2
Hey landgenoot
Are you using it for a button or a movieclip ?
system
October 22, 2003, 6:35pm
3
Haai
for MC, its a cover for a background
the background will apear when you roll over with the mouse
system
October 22, 2003, 6:38pm
4
Ok, use this on the timeline your movieclip is in:
mc.onRollOver = function(){
this.onEnterFrame = function(){
this._alpha > 0 ? this._alpha -= 10 : delete this.onEnterFrame
}
}
mc.onRollOut = function(){
this.onEnterFrame = function(){
this._alpha < 100 ? this._alpha += 10 : delete this.onEnterFrame
}
}
system
October 22, 2003, 6:47pm
5
hmmm… It doesn’t seem 2 work
system
October 22, 2003, 7:29pm
6
I’m sure it works … are you sure you gave your movieclip the correct instance name ?
system
October 22, 2003, 7:35pm
7
can I send you the .fla by mail, so you have a better idea of what I mean? I tried to put it on the forum but it was too big
system
October 22, 2003, 7:41pm
8
Sure, voetsjoeba[at]hotmail.com
system
October 22, 2003, 7:54pm
9
Hey Voets! I was just helping another dude out with the same problem!
I referred him to the same script you helped me out with not too long ago and then this one after I found it. You say it so much better than I can!
system
October 23, 2003, 9:09am
10
Voetsjoeba has found a way & it works real fine!
system
October 23, 2003, 3:31pm
11
i used the method by voets and it worked for an object, but when i put text in the mc, it wouldn’t work, anyone know why?
system
October 23, 2003, 4:04pm
12
& what if you make an MC of the text :-\ ?
system
October 23, 2003, 4:05pm
13
thats what i did, i made a mc of the text
system
October 23, 2003, 4:42pm
14
try breaking the text apart inside of the movie clip. that usually does the trick
system
October 23, 2003, 5:41pm
15
You can not animate dynamic texts without embedding the font outlines. If you don’t really require the text to be dynamic, you can either break it apart, or make the text static