Shillito,
> I would like to set it so that the actual border 550x400 is the limit
> and the player cannot cross these dimensions. How would I go
> about this?
Generally, you'll use an if() statement in the routine that causes your
player to move. This routine presumably works in a frame loop (onEnterFrame
handler) or setInterval(), so while you're doing what it takes to update the
player's _x and _y properties, check their values to make sure they're no
smaller than zero and no greater than 550 or 400, respectively.
David
stiller (at) quip (dot) net
"Luck is the residue of good design."
Shillito - 31 May 2005 22:02 GMT
Thanks David.
I have now completed the actionscript and my first ever flash game, and it won't be the last. Thanks again.