flash menu fla
flash menu fla
Out of context: Reply #3
- Started
- Last post
- 7 Responses
- unfittoprint0
that just a slide function....
//within the white screen
changePos = function(targetX){
moviex=_x
moviex+= (targetx-moviex)/speed
_x= moviex;
}slide = function(targetX, speed){
clearInterval(slideLoop)
slideLoop= setinterval(this,"changePos", 30, targetX, speed);
}//on your buttons...
this.onPress = function(){
_parent.whiteMC.slide(this._x, 4);
}