This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Other Languages and the fly likes Flash CS3 Actionscript - Moving a sprite with arrow keys and others Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Languages » Other Languages
Bookmark "Flash CS3 Actionscript - Moving a sprite with arrow keys and others" Watch "Flash CS3 Actionscript - Moving a sprite with arrow keys and others" New topic
Author

Flash CS3 Actionscript - Moving a sprite with arrow keys and others

Tom-Colin Kelly
Greenhorn

Joined: Dec 09, 2011
Posts: 27
hello
i am having some trouble moving a sprite (in my case a red car) around the screen as i am wanting it to dodge other cars for a game. Is there any way i can do that?
Also is thee any way of randomly generating when a sprite e.g. other cars to dodge, to move across the screen so that it is not the same every time?
if anyone can help me i would appreciate it greatly
Tom.
 
jQuery in Action, 2nd edition
 
subject: Flash CS3 Actionscript - Moving a sprite with arrow keys and others
 
Similar Threads
Getting pixels from a Graphics instance
Read this?
sprite
What does it mean to convert tile positions to pixel positions in a tilebased map?
String on Layer