Question
I want to change movie clip script to frame script
I want to change
below this script into frame.So what i can do?
below this script into frame.So what i can do?
quote:
"
onClipEvent(load){
xvel=10;
yvel=10;
}
onClipEvent(enterFrame){
xpos=Stage.width/2;
ypos=Stage.height/2;
_x=xpos;
if(_y<ypos){
_y+=yvel;
}
if(_y>ypos){
_y-=yvel;
}
} "