spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / javascript / column82

Developer News
Google Going Native With Chrome
Mozilla Fixes Firefox Flaws as 3.5 Release Nears
Microsoft and Novell Still Bosom Buddies


Embedding Sound with Flash, Part II: Playing Variations

In this column we continue our series on FlashSound JavaScript API. We presented the basics of Flash and FlashSound JavaScript API in our previous column, Embedding Sound with Flash, Part I: The Basics. In this column we deal with various methods to control sound tracks and the interaction between them. Will teach you how to play multiple tracks and multiple instances of the same track. We'll show you when playing parallel tracks is desirable and in which cases it is not recommended. We'll show you how avoid playing sound tracks at the same time and how to stop them before re-triggering. We'll also show which stop command you need to use for your sound track.

In this column we'll also describe the three main instance properties of FlashSound API. We'll present the loop, autostart, and playerID properties. We'll demonstrate how to loop a sound track, how to autostart it, and how to find the embedded object ID. This ID can be used to access non-API properties. We'll explain you how.

In this column you will learn:

You can download the Flash Player, the FlashSound JavaScript API, and the three SWF examples we use in this column: funkymusic, ring over, scale music, loop demo, and theme music. You can also find these files in one zipped file.

Next: How to play multiple tracks

More Resources from Doc JavaScript
Columns Popular Columns Tips Tools
Latest Columns
41-50 | 31-40 | 21-30
11-20 | 1-10
Working with Windows
JavaScript and Frames
Bookmarklets
Random Tips
Personalized Tips
RSS Channels
Menu Builder
Rollover Builder
Rotation Builder
Reference Tip Categories (want one?)
Links
For Your Site
Did you learn something? Do you like this site? Please link to us!

http://www.internet.com

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
XML and PHP Simplified · Creating a ASP.NET Contact Form · Data Filtering with PHP
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Intel to Host Live Nehalem Q&A · 12 Tips to Troubleshoot Network File-Sharing · 10 Tips for Selling on Kijiji


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

URL: http://www.webreference.com/js/column82/index.html