Hello!:thumb:
Please check the www.techmarksupport.com [ flash version ]
The site is simpy great.I downloaded it with decompiler
and studied it. Tried to do the same but couldn’t!
There are movements in both x and y direction.
Y is NOT what interests me.
By decompiling it i found
MOVIECLIP (a)(( very wide shape with images)) with the script:
// Sprite (‘a’) actions…
// Frame 1 actions…
x_vel = ( xvel - _x ) * 0,1;
y_vel = ( yvel - _y ) * 0,1;
setProperty("",_x,Number (x_vel) + Number (_x));
setProperty("",_y,Number (y_vel) + Number (_y));
// Frame 2 actions…
gotoAndPlay(1);
on the stage there are buttons which when pressed
move that movieclip across the stage (X CORDINATE) and stop at
specified coordinates.
first button -
on( press ){
_root.a:xvel = 0;
_root.a:yvel = 0;
}
second button -
on( press ){
_root.a:xvel = -780;
_root.a:yvel = 0;
}
please try to make some simple copy of it
and sand me that FLA if possible!!!
THANK YOU IN ADVANCED!!!
GREETINGS FROM C R O A T I A!!!
MATIJA PREMEC