Internet Commerce

Partners & Affiliates














Developer Channel

internet.com


Tutorials Home What's New Top Rated Submit myTutes Random!

Search Tutorials


Tutorials Tutorials » Audio

Categories Flash MX Audio Player
Author: Tim Murray | Website: http://www.gmg.com.au |

 
Page 9
«prev ... 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ... next»

Part 2: Planning our controls

What do we want to end up with? For the "Western Australia: Land and People" exhibition we needed a movie control that we could just drag and drop on any file that had audio in it (we had over 80 files to add controls to, so it had to be quick and simple). This means that everything has to be put in to a single movie so that we can just drag and drop the controls onto our sound. So first up:

  1. We needed a movie clip to contain our controls. We called this movie "media-controls".

Within that we needed Play/Pause and Rewind buttons, giving:

  1. Play button, "play".
  2. Pause button, "pause".
  3. Rewind button, "rew".

A slider would be nice, for selecting a point to play from:

  1. We wanted a movie clip to contain the slider, "progress-bar".

And the slider should have a Drag button for positioning the playhead:

  1. Drag button, "dragger".

The slider should probably also contain a preload or streaming indicator to give some feedback on how much of the sound has been loaded so far:

  1. Movie clip to indicate preload, "frames-loaded".

This image shows the slider (on the left) with the dragger and a light grey preload indicator. On the right are the rew, play, and pause buttons. All these elements will be contained in a single movie clip ready for us to drop on to a sound.

That'll do for now. We're going to build and test the controls in test.fla and then, when it all works, we'll rip out the control movie and dump it into a media-controller.fla where we will make it available as a shared resource. That way, we'll be able to use it anywhere.

All right, easy bits first.

«prev ... 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ... next»

» Level Advanced

Added: : 2004-02-17
Rating: 8.34 Votes: 63
Hits: 2769
» Author
Tim is a co-director of the Glasson Murray Group, providing quality graphic design, illustration, 3D visualisation, interactive environments, virtual reality, multimedia and website services.
» Download
Download the files used in this tutorial.
Download (2157 kb)
Get conversion and unzipping tools for PC and Mac here!

» Forums
More help? Search our boards for quick answers!

Please rate this tutorial, 10 is the top rating, you can also click the comments link to read/write a review.
10 9 8 7 6 5 4 3 2 1
Read or Post Comments
 
   
 


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers