I want a button to increase in size while I have my mouse over it, and decrease when i drag it away, this code example doesn’t update every frame like onClipEvent(enterFrame) does…
on(rollOver){
_xscale += 10;
}
on(rollOut){
_xscale -= 10;
}
I want it more like:
onClipEvent(enterFrame){
if(rollOver){
_xscale += 10;
}
if(rollOut){
_xscale -= 10;
}
}
But that doesn’t work (of course), so how do I do it? I’ve tried
this: http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary097.html[url=“http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary097.html”]
but I can’t get that to work either… help!