A Flash Developer Resource Site














Internet Commerce

Partners & Affiliates














Developer Channel

internet.com


Featured Flash FLA
Gallery Downloads 11336 Flash Movies | 2 New Flash Movies Added
What's New | Top 100

Featured FLA

» Author: Surjit Dhami
» Title: Book
» Description: Book
» More by Surjit Dhami


Random FLAs | Add Flash Movie
Featured Flash Site
Gallery Downloads 5848 Flash Sites | 0 New Flash Links
What's New | Top 100 Flash Site

Featured Site

» Posted in the Flash Kit Links section
» Title: All-American Rejects
» Description: Get to know this great band by exploring their "practice room".


Random Links | Add your own Flash Related Links
Flash Tutorials 1277 Tutorials 7 New Tutorials Added!
What's New | Top100

» Create xml slideshow with free template
» How to Insert a Multilingual Subtitle Into Your Flash Video Studio
» How to Create Cool Halloween Slideshow
» Debugging flash using the Firebug console
» Create Flash Slideshow on Blogger
» FLASH TRICKS IN WEB ADVERTISING: FLASH BANNERS
» HTML Photo Gallery Tutorial
» Create your first flash site – PART 1
» How to Make a Flash Photo Gallery
» Unknown Tag: Title10
Random Tutorial | Add Site

Webmaster (IL)
Next Step Systems
US-IL-Chicago

Justtechjobs.com Post A Job | Post A Resume


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

Search Tutorials


Tutorials Tutorials » Audio

Categories How to Use Flash MX Sound Objects
Author: Kenny Bellew | Website: http://www.cowfly.com |

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

How to Organize Sound Objects

In reading and responding to various Flash MX forums, it seems that the most common mistakes with sound objects involve the improper initial configuration of the sound object. In order to utilize and troubleshoot a sound object most easily, an organized plan for your sound should be established prior to starting a project. The following are some suggestions for planning your sound objects:

  1. Decide on a naming convention. One useful convention is to allow the instance name of the sound object to determine all other associated names with that sound object. This will help later as the ActionScript is written, both in making the names easier to recall and in providing the ability to reuse your code. For example, note the following examples:
    • Instance name of sound object: myName
    • Name of its attached audio file's identifier (its linkage ID): myName01
    • Instance name of empty movie clip used as a container for sound object: myNameMc
    • Variable name for position: myNamePosition
    • Variable name for setVolume: myNameVolume
  2. When possible, define all of your sound objects on the _root level. For example, create a layer called "Sound Objects" on the _root level. Define all sound objects in the first frame of this layer. This way, the path to your sound object will never be a mystery. If you have ever experienced the madness of trying to determine why a sound will not start or why more sounds are stopping than intended, this will help isolate the problem quickly.
  3. When sound objects are defined, create a comment field that documents the source of the sound file and the file's name. This will help if you need to track down license issues for sounds in your Flash file later.


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

» Level Intermediate

Added: : 2004-10-12
Rating: 8.48 Votes: 31
Hits: 1290
» Author
Kenny Bellew is a technical writer and freelance flash programmer who specializes in Flash audio. He lives in Minneapolis, MN.
» Download
Download the files used in this tutorial.
Download (12927 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
 
   
 

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

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