Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Sounds In movieClip — Gideros Forum

Sounds In movieClip

a00zaa00za Member
edited May 2013 in General questions
i wanted to ask if there is a way to play the sound in a specific frame in the movieClip

Comments

  • wow, no one? how about this:

    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)
Sign In or Register to comment.