Hey,
I pretty much am just looking for a more ‘elegant’ way to perform the same action below:
menu.onLoad = function(sucess){
var mClip:MovieClip = main.createEmptyMovieClip("menuClip",main.getNextHighestDepth());
drawSquare(mClip,200,65,0xeeee00,100);
mover(mClip);
mClip.onRollOver = function(){
mOver(this);
}
mClip.onRollOut = function(){
mOut(this);
}
}
the mover function calls an onEnterFrame and as you can see the rollovers are calling other functions. Is there a better way to write such functions? It works fine the way it is, but there must be a better way to perform that.
Thanks