ActionScript Flash Predefined Global Variables -


Can someone send me a link, or list all global variables that are predefined by Flash Action Script 3 ? For example, like the current time, or current frame etc.

Thank you, Thoie

I'm not sure whether anyone is or not As a matter of fact, you will use the platform or the main movie clip object.

  trace ("frame:" + myMovieClip.currentFrame); Var now: date = new date (); Trace ("time:" + now.getTime ());   

If I need a global variable, then I usually use a singleton pattern.

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -