Embedding Sound with Flash, Part III: Streams: A Final Word - Doc JavaScript | WebReference

Embedding Sound with Flash, Part III: Streams: A Final Word - Doc JavaScript


Embedding Sound with Flash, Part III: Streams

A Final Word

In this column we continued our first two installment on the FlashSound JavaScript API, Embedding Sound with Flash, Part I: The Basics, and Embedding Sound with Flash, Part II: Playing Variations. This column rounded up this miniseries on the FlashSound JavaScript API. We focused in this column on stream files. We showed you how to start a stream from any random frame number. We taught you how to pause a stream and how to continue a paused track. We discussed at length different properties of the FlashSound object that can be used for checking the status of the embedded SWF. These properties can show you if a SWF is completely loaded, what its loaded percentage is, and whether the player is ready. We explained the dependency of your code on the player version. We showed you how to set the minimum player version number, what to do if the version is substandard, and how to degraded the sound gracefully when the player is not adequate. Finally, we showed you how to suppress or reveal error messages, and when you might want to have these JavaScript error messages.

In this column you have learned:

You could download the Flash Player, the FlashSound JavaScript API, and the two SWF examples we used in this column: earsonly and scale music. You could also find these files in one zipped file.

http://www.internet.com


Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: May 7, 2001
Revised: May 7, 2001

URL: http://www.webreference.com/js/column83/13.html