I am new to Actionscript and making a game to learn its ways. The game relies heavily on timing as it will be spawning enemies timed with music. For example spawn 2 enemies at exactly 1:31 minutes, start firing at exactly 1:32 etc.
An example of ways I have thought to approach was using timers with events.for example: to spawn an enemy I would have have a timer that has timer(100000,0); which when up will active a spawning enemy. Problems with this approach is 1, that would require too many timers and 2, I have heard the timer is not very accurate.
Is there any accurate ways to time many events which won’t slow down the game greatly?
flv with embedded cuepoints
see this links
http://www.kirupa.com/forum/showthread.php?277542-Cue-Points-flv-embedded
http://edutechwiki.unige.ch/en/Flash_video_component_tutorial