-
Sound
Check / download sound player with pause button, volume control slider and real time position/duration.
Maybe someone knows how get a duration/position progress bar?
Btw. Kusko, where are you? I hope you will return soon with a new version. 3DFA is a great, so please come back :]
-
amazing...
can you explain please how did you made the slider volume (i didn't downloaded the .movie yet) :)
-
My english sucks. Better check this tutorial and analyse my code:
Code:
muzyka.setVolume(ratio);
ratio = mySlider.dragger.x;
/// slider
mySlider.dragger.onPress = function()
{
this.startDrag(true,0,0, mySlider.line._width,0);
this.onEnterFrame = function()
{
ratio = Math.round(this._x*100/mySlider.line._width);
root.getVolume = ratio;
}
}
mySlider.dragger.onMouseUp = function()
{
this.stopDrag();
}
mySlider - Variable (Instant) name of movie "mySlider".
dragger - Variable name of object (dragger) in movie "mySlider".
mySlider.line._width - object "line" and his width in mySlider movie.