Would anyone be able to help me with how to create a routine for a movieclip.
What i mean by routine is the things a mc has to do before its finished. I can code this by doing it step by step but that will take ages. What i want is. For the mc to move from side to side.
Eg
step1 = move right till its at a certain point.
step2 = wait here.
step3 = move left till its at a certian point.
step4 = move right till its at a certian point.
step5 = wait here.
step6 = move right till its at a certian point.
And so on. So what i want to know is how would i do this. I have considered a function. to move the mc. Which calls its next destination from an array. But i wouldnt know how to write it properly.
My thoughts are the in the arry have to _x cordinantes for each move.
eg (205, 400, 21, 16) ...
and in the function
function move(){
// call the co-ordinates.And move the mc to that co-ordinante.
}
ThankS In AdvancE
