-
SWF of short sounds
I want to create a single "sound effects" SWF which contains a bunch of clicks, dings, etc. Most of these sounds will be 1/2 second or less in length. I would expect to have 15 - 25 short sounds in the SWF
I would then load the SWF at runtime, and all of my other SWFs could call the sound-effect SWF to produce clicks, etc.
What's the best way to set this up?
Note: When I put a bunch of aif's in a FLA's library, then compiled, the resulting SWF was too small to actually have any of those sounds in it !!!
-
1) you could add linkage IDs for each of these sounds and create a sound object on the root timeline for each sound.
2) you could put each sound in its own movie clip.
-
Originally Posted by hp3
1) you could add linkage IDs for each of these sounds and create a sound object on the root timeline for each sound.
So, for 20 sounds I would need 20 "layers" with each sound starting in frame 1,
OR
20 sounds sequentially in one layer, starting at different frame numbers, with some sort of array containing the sound name and start frame?
OR
Something else?
( I read the Sound FAQ but didn't see/understand anything relevant to my problem )
-
my suggestion was to use either sound objects or movie clips. From your response I will assume you are not familiar with these concepts.
Generally, for best interactive sound performance I would suggest that you put the sound in a container, either a sound object or a movie clip. You could also put each sound in a frame across the main timeline, but using gotoAndPlay() to jump across frames adds latency to sound playback. You will get better response time from playing a sound in a container like a sound object or movie clip.
For more information on how to use sound objects I suggest you read Remixology #1 and 2
http://www.sonify.org/home/feature/r...ogy/index.html
For more information on how to use a movie clip as a sound container:
http://www.sonify.org/tutorials/flas...nner/timeline/
-
Originally Posted by hp3
Okay, I read those, but they have at least one error for Flash 7...
And is there a way to set the Linkage ID for all 20 sounds to be the same as the sound name, in one go? Or do I have to set their linkages all one----at-----a------time ?
Last edited by Donelson; 07-27-2006 at 12:19 PM.
-
I am now able to use JSFL to set all the linkageIDs and Export flags. Neat!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|