Find more Tutorials in one of this categories:
3d :: Access :: actionscript :: after-effects :: ajax :: animation :: asp :: autocad :: blender :: c-sharp :: cpp :: css :: design :: drawing :: dreamweaver :: eclipse :: excel :: fireworks :: flash-8 :: flash :: flex :: fruity-loops :: gimp :: hacking :: hibernate :: html :: illustrator :: indesign :: java :: javascript :: joomla :: linux :: mapping :: maya :: ms-project :: myspace :: pdf :: perl :: photoshop :: php :: php :: powerpoint :: psp :: python :: reason :: ruby :: second-life :: spring :: sql :: template :: ubuntu :: video :: visual-basic :: windows :: word :: xml
Search:

Home
Impressum

Volume control :: Sound Slider in Flash!! - Flash Tutorial

Flash Tutorials
Flash Tutorials Flash Tutorials
Flash Tutorials

Check this video out at Hi-Res here: http://www.tutvid.com/tutorial... this Volume slider quickly and easily! Have fun!

Channel: Film & Animation
Uploaded: January 1, 1970 at 12:59 am
Author: tutvid

Length: 19:12
Rating: 4.68
Views: 56808



Video Url:


Embed Code:

Video Comments

ZiWrath (January 1, 1970 at 12:59 am)
5:00
ZiWrath (January 1, 1970 at 12:59 am)
4:27
djfunkshowkid (January 1, 1970 at 12:59 am)
stream the .mp3 using var soundToLoad:Sound = new Sound();{ soundToLoad.loadSound("rgirl.mp3", true);}soundToLoad.onLoad = function () { this.start(0, 1);}
AstroFalcon (January 1, 1970 at 12:59 am)
slider_1.onMouseMove = function () {newPoint = new Object ();newPoint.x = this._xnewPoint.y = this._y_root.groove_1.globalToLocal(newPoint);_root.mySong.setVolume(-1*newPoint.x);}lol! Ops, I named my song cloud14, but just set the name of whatever you named your song.
AstroFalcon (January 1, 1970 at 12:59 am)
slider_1.onPress = function (){this.startDrag(true, _root.groove_1._x, _root.groove_1._y, _root.groove_1._x + 520, _root.groove_1._y);}slider_1.onRelease = function (){this.stopDrag ();}play_btn.onRelease = function() { mySong = new Sound (); mySong.attachSound("cloud14"); mySong.start (0, 50); }stop_btn.onRelease = function () { stopAllSounds();}
prelar (January 1, 1970 at 12:59 am)
thnx for the tutorial.. it seems quite easy thow i've been having probs with this peace of code for a few days... i just love youtube! anything can be found here :p if i have questions i hope you dont mind answering...
mrwong23 (January 1, 1970 at 12:59 am)
Oops this is the second part of the script.}stop_btn.onPress = function () { stopAllSounds ();}slider_1.onMouseMove = function (){ newPoint = new Object ();newPoint.x = this._xnewPoint.y = this._y_root.groove_1.globalToLocal(newPoint);_root.mySong.setVolume(-1"newPoint.x);}
mrwong23 (January 1, 1970 at 12:59 am)
slider_1.onPress = function (){this.startDrag(true, _root.groove_1._x, _root.groove_1._y, _root.groove_1._x + 560, _root.groove_1._y);}slider_1.onRelease = function (){this.stopDrag ();}play_btn.onRelease = function (){mySong = new Sound ();mySong.attachSound("bouncesong");mySong.start (0, 50);
mrwong23 (January 1, 1970 at 12:59 am)
Hi everybody,this is a nice little AS, but it doesn't work on my computer?! >:(I only got the error message **Error** Scene=Scene 1, layer=as, frame=1:Line 21: ')' or ',' expected }Total ActionScript Errors: 2 Reported Errors: 2??What can be that problem?Thx, from germany
TowerSL (January 1, 1970 at 12:59 am)
Thanks this helped this helped! 5 stars. Stop by my page.