Hi, > is there anybody who can explain how to > give a mx:HSlider-component the ability to > scrub in a MP3-file?
I use a progress bar for this but you can easy adapt this to a HSlider. The progress bar visualizes the play position of the mp3 file. If a user clicks in the progress bar the song position will be set appropriately. Ok, you should already have a soundFactory:Sound and channel:SoundChannel. Set the new song position by handle the click event of the progress bar (or a similar event in the case of a HSlider): [...] var pausePosition:Number = (soundFactory.length / songProgressBar.width) * songProgressBar.mouseX; channel.stop(); channel = soundFactory.play(pausePosition); [...] hope this helps, René

