There is a scene which users control with keyboard. You can accelerate with "up" key. I store speed in a variable.
What I want to do is displaying speed in a lcd-like movie object. It has a function called "setnumber (...)" so I can set the number on LCD. So I want to pass the speed parameter in main scene to the function in movie object.
I have not done this myself...
But I would do a goggle on ActionScipts key objects.
I know it will start something like this
on (keypress "S") {
action event here;
}
on (kepress "D") {
action event here;
}
nomad
sorry I hope I gave you some help
A book you might want to look into is "Flash MX 2004 ActionScript Bible by Robert Reinhardt
or any other Flash that uses ActionScripts.