hi!
can anyone give me an actionscript that i can apply to a symbol that when the mouse is over this symbol (movie clip or button) then the size of it increases by like 100-200%…?
i’ll appreciate ne help at all
cya
hi!
can anyone give me an actionscript that i can apply to a symbol that when the mouse is over this symbol (movie clip or button) then the size of it increases by like 100-200%…?
i’ll appreciate ne help at all
cya
By increases do you mean you want it to just get bigger or expand to that point?
it is already a small size so when the mouse is over it, it expands…
Would probably be easier to do it with a tween unless there is some reason you can’t but if you want to use actionscript this should give you some idea.
thats exactly what i need but when i copy paste the actionscript from your mc to mine, it doesnt work
does it matter if my movie clip is in a movie clip already…?
Make sure you change “Box” to whatever name you gave yoru movie clip.
make sure you past the Action on the clip not on frame…
i did attach it to the movie clip… but doesnt work still
How about naming ur instance name box.
you might want to try this one …
it should work with any symbol … just paste it in its actions
onClipEvent (load) {
var scale = 100
}
onClipEvent (enterFrame) {
this._xscale += (scale - this._xscale) / 10
this._yscale += (scale - this._yscale) / 10
}
on (rollOver) {
scale = 200
}
on (rollOut) {
scale = 100
}
[size=1]PS: I haven’t seen the example at the 4th post … so I apologize if that’s the same :-[/size]
i think it’s the same effect but by another way…
may it helps someone else … :sigh:
C:-)
hey … I just downloaded the example …
basically it’s the same but I did it with a half of code
thanx alot everyone!!! and kax, it worked!! i appreciate all of you that replied with ideas thnx
:: Copyright KIRUPA 2024 //--