Here is a scrolling background and keyboard control test for some AS3 classes I been working on. I used the image of superman from some sprite graphics I found on the web. The images for his flight positions are loaded dynamically. This is for allowing me to load other images for different characters without changing too much script.
|
2 Responses to “Superman flash test”
Leave a Comment
|
Thanks for visiting www.keith-hair.net

Entries (RSS)
Hello Keith, I am trying to scroll a football field and I need some examples how to do that. Can you help me?
Thanks,
Dave
BTW Very good stuff
You can scroll things by constantly adding a value to the “.x” and “.y” property in a Event.ENTER_FRAME or setInterval.
Here is an example using some basic ways of scrolling a field.
http://keith-hair.net/blog/examples/field/football.html
http://keith-hair.net/blog/examples/field/football.fla