PDA

View Full Version : Rewinding an mp3 player


axeldrummer
10-14-2007, 01:21 AM
Hey all,

Does anyone know how to manipulate the soundChannel.position property so that you rewind a flash soundChannel (mp3 in my case) in backward increments?

I try this:

audio_position = channel.position--;

This redefines the position to play at. Then goes to play function.

OR

audio_position = channel.position - 1000; //assuming 1000 is 1 second of time

But all these both just rewind to beginning. Any advice?

Appreciated :)

panel
10-15-2007, 09:30 AM
position property is read-only.

use

sound.play(20);


Here (http://www.actionscript.org/forums/showthread.php3?t=149218&highlight=sound) is post about pausing/resuming