before issuing myclip:play(), attach a little onEnterFrame callback (local f = function(o) ... end) that increments a frame counter and triggers a sound at specific value(s)? don't forget you can also extend the MovieClip object..
won't be the best timing but might be workable. sorry, no code, haven't had any coffee yet this morning.
also if you have rock-solid frame rate already then you can simply calculate how long it takes to reach that frame and set up sound playback via timer function that only executes once.
http://esem.name/sound ♫ sound and music at ShadyLabs (Clouds of Steel, Aftermath Alvin)
Comments
before issuing myclip:play(), attach a little onEnterFrame callback (local f = function(o) ... end) that increments a frame counter and triggers a sound at specific value(s)? don't forget you can also extend the MovieClip object..
won't be the best timing but might be workable. sorry, no code, haven't had any coffee yet this morning.
also if you have rock-solid frame rate already then you can simply calculate how long it takes to reach that frame and set up sound playback via timer function that only executes once.