Themuppeteer
Programmer
Hello,
I have the following problem working with Flash 5,
I don't quit now how exactely I make a global variable.
and how do I make a variable declaration specific to a movieclip AND initialize it only once when the clip is created (like a private variable in C++ and its constructor)
Why do I want that ?
I want to make a bouncing ball, so I want to keep the vars left and up to check where my ball is going. Then when it reaches an end,it must reverse its direction.
thnx. Greetz,
The Muppeteer.
themuppeteer@hotmail.com
Don't eat yellow snow...
I have the following problem working with Flash 5,
I don't quit now how exactely I make a global variable.
and how do I make a variable declaration specific to a movieclip AND initialize it only once when the clip is created (like a private variable in C++ and its constructor)
Why do I want that ?
I want to make a bouncing ball, so I want to keep the vars left and up to check where my ball is going. Then when it reaches an end,it must reverse its direction.
thnx. Greetz,
The Muppeteer.
themuppeteer@hotmail.com
Don't eat yellow snow...