flash CRACKS help me!
flash CRACKS help me!
- Started
- Last post
- 2 Responses
- toul
hi girls and boys. please help.
another f****ing flash problem!i tried to slide 4 objects to a special x coord.
the 4 objects a "made" with the attachMovie command.
so i speak to them via:
_root["button"+i]
how can i slide them with different speed to they destination? anyone out there who can help me.
THANK YOU.
- unfittoprint0
in those type of basic functions the speed is given by a number.
ie:
function slide (){
mc._x += 2;
}what you should do is make the speed a function parameter:
function slide (speed){
mc._x += speed;
}
//usage
this.onEnterFrame=function(){
slide(2);
}
- toul0
thank you unfit!!! that's it! yep.