Thursday, March 08, 2007

Importing and Controlling Sound

See Kenny Bellew's Flash Sound Object Tutorial for an excellent resource on MANY sound issues!

Here are a few things I've been working with. Each file builds on the previous.

1. Basic sound control. Loads sound. User controls play, pause, and stop.
basicPlayback.html

2. Basic sound control plus the play and pause buttons toggle between each other (note: the stop button isn't working correctly).
basicPlaybackToggle.html

3. Basic sound control w/ button toggle. In testing, provides method to trace where playhead is at pause.
playbackMoveFrames.html

Conceivably, this last item could provide the information to allow a sound item to skip ahead if the user is moving faster than the audio file with written information. (I haven't gotten to that next step).

Contact me if you'd like to get the original .fla file. These are too big to upload, plus the sound file isn't really legitimate for me to load. (I can be found on the Studio website linked at right).

0 comments: