Click then Walk

Hello :slight_smile:

I’m trying to test myself to make a point & click kind of game. My first try, I managed to make the click thing but i have no idea how to make the walking part XD So it looks like click & appear right now :slight_smile:

The black box is supposed to be unwalkable but I don’t know how to do that yet :stuck_out_tongue:

http://www.swfupload.com/view/112571.htm

So far, these are the only codes I used, thanks to Flash’s Help tab.


var mouseListener:Object = new Object();
mouseListener.onMouseDown = function() {
	guy._x = _xmouse;
	guy._y = _ymouse;
};
Mouse.addListener(mouseListener);

Can anyone help? :slight_smile: I’ve attached my .fla file too XD