Hi!
I wonder how to create a timeline for my sound that i attached to a variabel. And then how to control where in the timeline the sound should play.
Cheers!
ZeusVL
hi ZeusVL,
Is this sound a short soundbyte or is it a song?
What is going to cause the sound to fire (a certain frame in an animation or a button)?
hi. Well, this is fire the song:
mySound = new Sound()
mySound.attachSound(theSound)
mySound.start()
And it´s a song, but a short sound also.
Reply as soon as possible!
thanks!
hi ZeusVL,
Your code looks good. I assume the “the Sound” in your attachSound() line is the linkage name of your sound in your library. Is the sound playing at all when you publish? Whats the specific problem?