Title: State Engine code-based Loop into time-based Loop Post by: sawariya on June 03, 2009, 01:57:59 AM Hi,
I need advice/example of how to set up and use a time-based Loop either addEventListener or setInterval instead of the code-based while Loop (below). I realize the design needs rethink and change because of Flash/AS3 event flow ... and Loop differences but I'm hoping to see a simple example of where and how to best attach addEventListener or setInterval to eng-obj and how that would help to loop through different states ? thanks ! .................... keyword software (http://www.google.com) high speed internet provider (http://www.google.com/broadband.htm) |