Start learning with our library of video tutorials taught by experts. Get started
Viewed by members. in countries. members currently watching.
Through several hands-on tutorials, instructor Todd Perkins shows how to best build dynamic, streamlined sites using Flash CS3 Professional. Learn how to create custom keyboard shortcuts, apply advanced text techniques such as animating scrolling text with custom easing controls, and using advanced animation techniques. Flash CS3 Professional Beyond the Basics covers many challenging features, including adding complex interactivity to a Flash CS3 project and getting Flash content on a phone. Exercise files accompany the tutorials.
In this chapter we're going to build an object oriented Mp3 player. Now what I mean by object oriented is we're going to use classes to create it. When you use classes to build an application and you build an object oriented application, you really take Advantage of the power of ActionScript 3.0. Let's take a look at the finished Mp3 player and talk about how it works. If you have access to the Exercise Files, it's in the Chapter 09 folder, and in the 01 folder, and it's a swf file called viewing_finished.swf.
I'm going to open it up and put it towards the center of the screen. So when I say object oriented, I mean there's a separate ActionScript file to control the play and pause buttons, the seeking back and forward buttons, the progress slider, the volume bar. There's even a separate file to control all the playback of the sound. Let's take a look at how works and what it does. For one this Wedgekase and Chad Freed information is actually inside of the Mp3s that are being loaded dynamically from the songs folder.
That songs folder is in the same folder that the swf file is in. Now when I click the play button I can hear the sound. I can the pause button to pause the sound. If I drag the progress slider, I can change the point in the song, and the song resumes playing when I release my mouse button. I can also control the volume of the sound by clicking and dragging the volume slider. I can change tracks by clicking the next and previous buttons.
And there's a look at our object oriented Mp3 player. Well enough talking about it, let's make it.
There are currently no FAQs about Flash CS3 Professional Beyond the Basics.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.