Home
hosting green
hosting green
 
hosting green

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

Flash Tutorials

Date 27th Feb 2010   Comments 25 Comments »

FULL VIDEO: www.tutvid.com This video was somehow automatically shortened by Youtube in Feb. of 2009. Instead of taking it down I decided to simply include a link to the full video on tutvid.com. Create this Volume slider quickly and easily! Have fun!

hosting green
hosting green

25 Responses to “Volume control :: Sound Slider in Flash!! – Flash Tutorial”

  1. papayoshi16 says:

    That’s just it, it’s a variable name. You can name that whatever you want as long as its consistent with every place the guy put mySong

  2. FlashFireEX says:

    @disturbanite80 Good point.

  3. disturbanite80 says:

    Where did he name the song variable “mySong”?

  4. santiagodecadi says:

    i didn’t forget to introduce the name of the instance of “reproductor” movieclip after “_root.” and play and stop button works…

    however, slider of volume doesn’t it. I guess that is for the last fragment of code…

  5. santiagodecadi says:

    if you make all that inside a movieclip instead of right into scene, it doesn’t work…

    how could i change the code:
    slider_1.onMouseMove = function() {
    newPoint = new Object();
    newPoint.x = this._x
    newPoint.y = this._y
    _root.reproductor.groove_1.globalToLocal(newPoint);
    _root.reproductor.mySong.setVolume(-1*newPoint.x);

    }

    ?????

    So i think that the problem is there…

  6. TheRuneOblivion says:

    If your video is only 19 Seconds long then go to a couple of videos in the desc and then come back to this one and it should be 19minutes again.. worked for me :)

    Also great tutorial :) Thank you, i will copy the AS so i can re use it some other time :D

  7. Iglitchlife says:

    right turn off hq/hd

  8. abcdefpaul says:

    thanks!!! :D :D :D

  9. acpet83 says:

    Good Job. Its AS2 guys, so select the proper settings in your IDE.
    Whether it works for u or not it’s irrelevant as this guy put some time into teaching something cool.
    What I’d like better explained though is the globalToLocal and that (-1*newPoint.x). Will a simple var x:Number = w/e; approach work here?
    Anyway, a good amount of not just basics are taught here for FREE so tutvid deserves at least the community’s appreciation.
    Thx tutvid, gj.

  10. khortonworld says:

    WTF !?!?! CUTS OF AT 0:19 !!!!

  11. FibreFilms says:

    if ur using cs4, when you link the sound you have to right click it in the library, slect properties, and in the bottom right hand corner of the properties window click on “ADVANCED” and the Linkage panel will pop up below.

  12. FibreFilms says:

    the asterix key *

  13. camdaddy09 says:

    yea i have cs4, and the script didnt work and i assume thats why, so if you get on your youtube account and read this please help a fellow nerd out.

  14. Apapilootoe says:

    I just got a glitch when I’m double click the slider and then I cant go back.

  15. iMoviesTV says:

    Where can i download that files?^^

  16. sunleoest says:

    Could I know what the use of snapping??
    from philippines

  17. sunleoest says:

    2:47 XD

  18. wrdeboise says:

    This is good. I’m trying to use AS3.0 as much as possible, so I’d probably create the eventListeners in lieu of onRelease for the functions.

  19. JackSpud999 says:

    i seriously dont get these things…? it says dont read this and then it says tommorow will be the best day of your life -.- seriously makes no sense :/

  20. SEspider says:

    Thanks tons.

    Questions.

    I want my video (separate from audio) AND my audio to play at start of the Flash.
    How do I get the audio to start and still control it?

    Thanks in advance. ;)

  21. cuchu192 says:

    “and what key did you use for times on the set volume part ?”

    yo me estoy preguntando lo mismo! que símbolo usas cuando haces el “setVolume”?? Después del -1 y antes de newPoint_x

    Por favor contestame que me vuelvo loco!!

  22. diademmaster45 says:

    and what key did you use for times on the set volume part

  23. diademmaster45 says:

    um is it posible to maek 4 songs playing at once

  24. FlashEpics says:

    don’t make yourself too hard.

  25. toronator27 says:

    PLEASE DONT READ THIS. YOU WILL GET KISSED ON THE NEAREST POSSIBLE FRIDAY BY THE LOVE OF YOUR LIFE. TOMORROW WILL BE THE BEST DAY OF YOUR LIFE. HOWEVER IF YOU DONT POST THIS COMMENT TO AT LEAST 3 VIDEOS YOU WILL DIE WITHIN 2 DAYS. NOW UV STARTED READIN DIS DUNT STOP THIS IS SO SCARY.Ã�Â&mac r;ÃÂ�»& Atilde;Â�¿ SEND THIS OVER TO 5 VIDEOS IN 143 MINUTES WHEN UR DONE PRESS F6 AND UR CRUSHES NAME WILL APPEAR ON THE SCREEN

Leave a Reply

 
hosting green

Powered by Yahoo! Answers

Powered by eShop v.3

 
Affiliate Program

 

Resell

copyrights DeFlash! 2009