Groups | Blog | Home
all groups > flash actionscript > april 2007 >

flash actionscript : how to build a sound into a movieclip


kglad
4/7/2007 4:47:17 PM
in the flash help files:

aa
4/7/2007 8:11:30 PM
Cannot find in Flash Help how to build a sound into a movieclip. I saw clips
with a sound layer so that the sound is spread over frames span.
If it is not in Help, perhaps some one direct me to an internet resource
please?

kglad
4/7/2007 8:15:18 PM
you don't use the movieclip's layers with a sound object. you create a sound instance by using:



aa
4/7/2007 10:39:06 PM
I was there but there are just Sound properties and methods and I cannot
figure out how do I get from them to the technique of building sounds into a
clip's layer
[quoted text, click to view]

aa
4/8/2007 12:00:00 AM
Thanks, this is how I have been doing it so far.
But recently I parced someone else code and there was a separate sound layer
in a clip and there was a sounf build in into that layer and shown on the
timeline with that sinusoida as a sound clip is shown in the library.
How do they do it?
The reason I want to use it is that I would like to have a complete
movieclip which I can drug-and-drop from the library of one open FLA file
into the library of another open FLA file. If I do it using s=new
Sound(this); then I have to copy the sound separately. This in itself is
not a problem, but potentially is prone to conflict of names.


[quoted text, click to view]

kglad
4/8/2007 4:11:51 PM
kglad
4/8/2007 7:33:38 PM
aa
4/8/2007 8:37:17 PM
thanks, that was exactly I was looking for

[quoted text, click to view]
properties panel select your sound from the sound combobox.

AddThis Social Bookmark Button