____
03-31-2003, 07:49 PM
mySound = new Sound();
mySound.attachSound("myLinkageName");
mySound.start();
duration = mySound.duration; //(total time of sound)
elapsed_time = mySound.position; //(elapsed time of sound)
So how would you use these in conjunction to reverse, pause, or fastforward a song. From searching I've determined that these measure the song in Milliseconds but haven't seen anything on how to rewind/fast forward it.
Would it be similar to a text box, where you create a loop to where you press something it adds or subtracts milliseconds?
Thx in advance
Eric
mySound.attachSound("myLinkageName");
mySound.start();
duration = mySound.duration; //(total time of sound)
elapsed_time = mySound.position; //(elapsed time of sound)
So how would you use these in conjunction to reverse, pause, or fastforward a song. From searching I've determined that these measure the song in Milliseconds but haven't seen anything on how to rewind/fast forward it.
Would it be similar to a text box, where you create a loop to where you press something it adds or subtracts milliseconds?
Thx in advance
Eric