Flash Tutorial Volume Control Using Custom Sliders In Actionscript 3.0

preview_player
Показать описание
Lesson 6 of the Actionscript 3.0 Video Textbook for Sound Programming by Adam Khoury. This video shows how to implement custom sliders into Flash for sound volume control purposes. Adding it to the EnterFrame event makes life easy and volume changes are smooth for the user.
Рекомендации по теме
Комментарии
Автор

Thanks, Adam! You and your videos made my projects a megaton easier, and a huge thanks for even having source files on your website. It makes learning all of this so much better. Seriously, you freaking rule, man.

Lusin
Автор

instead of the 4 lines you suggest in CS5 works a little bit differently I took me a couple of hours to figure it out and i ended with this code and it works perfectly... if you had the same problem with me...
var channel:SoundChannel = new SoundChannel();
var sTransform:SoundTransform = new SoundTransform();

var newLevel:Number = slider value
sTransform.volume = newLevel;
channel.soundTransform = sTransform;

flangofas
Автор

Hello Adam. Thank you very much for all your tutorials. I finished the custom slider tutorial, came here and this one has other mc objects on stage. Do you have a video tutorial on your playlist where I can learn to implement the slider controlling size, animation, and others? I also went to the website but could not locate the source file there. Thanks again. You are a wonderful teacher!

dropochris
Автор

hi there i still gave a problem because i added the slider to my radio player but when i run it it show me an error about access to a property i hope you can help me with it

minivatos
Автор

how can i implement this into a round volume slider is that possible? thx a lot for the tutorials there quite helpfull and great job in explaning

alexbalea
Автор

Hey Adams, thanks for this vd, does this work on cs5?

flangofas
Автор

Edit below - realised I made a typo previously in this post.

Using CS4. I've followed all your Video Textbook vids with no probs except this one. As soon as I entered the "4 lines of code" the slider stops working and I get this error:

Description: 1120: Access of undefined property volumeSlider.

Source: var newLevel:Number = volumeSlider.sliderKnob.x / 100;

Adam or anyone - can you help pls? I wanted to include this for a college assignment.

irena
Автор

i am not sure but do you have any tutorials that show how to convert a psd into a html website, slideshows and how to embed flash in html.

timmyjan
Автор

may I ask for a control volume creation file

marifdarmawan
Автор

Using CS4. I've followed all your Video Textbook vids with no probs except this one. As soon as I entered the "4 lines of code" the slider stops working and I get this error:
Description: 1120: Access of undefined property volumeSlider.
Source: var newLevel:Numbr = volumeSlider.sliderKnob.x / 100;
Adam or anyone - can you help pls? I wanted to include this for a college assignment.

irena
Автор

GOT THE ANSWER WITH THE HELP OF A USER GROUP:

Replace the word "volumeSlider" with "mySlider" and it will work!

irena
welcome to shbcf.ru