Changing the volume


show more Changing the volume provides you with in-depth training on Web. Taught by Todd Perkins as part of the Flash CS3 Professional Beyond the Basics show less
please wait ...

Changing the volume

Now let's talk about changing the volume when you drag your mouse on top of the Volume Bar. If you're following along I'm working in 11_Changing_Volume.fla, in the 11 folder, in the Chapter 9 folder, in the Exercise Files folder. As always, we will click the Publish Settings button in the Property Inspector, click the ActionScript 3.0 Settings button, delete current class path and pick the new class path, which is in the Chapter 9 folder, in the 11 folder, Star folder and the Classes folder.

And we will click OK to exit all the windows. Now we'll open up our ActionScript files, so choose File, Open, and in the Chapter 9 folder, go to the 11 folder and the Start folder, classes, com, lynda, audio, mp3. I'm going to select the VolumeControl.as file, and I'm going to click Open, to open that file. At the very bottom of the constructor function we'll connect the Volume Bar to our mouse by typing volBar.addEventListener and the even it's going be MouseEvent.MOUSE_DOW...

Changing the volume
Video duration: 6m 40s 5h 21m Intermediate

Viewers:

Changing the volume provides you with in-depth training on Web. Taught by Todd Perkins as part of the Flash CS3 Professional Beyond the Basics

Subject:
Web
Software:
Flash Professional
Author:
please wait ...