PDA

View Full Version : stupid question??


bluegel
03-11-2003, 12:51 PM
hello

I know this is a really simple question, but can't for the life of me fathom how to do it.

I need to attach a sound to an object

I declared it as:

bubble = new Sound();

and then when I tried to attach it to the object I used:

bubble.attachSound("bubble");
bubble.start();

nothing happened.

any suggestions??

thanx in advance :rolleyes:

baigorri
03-11-2003, 12:55 PM
i think you have to right click on your sound in the library and select linkage, then make sure export for actionscript is selected, and export on first frame and then give it the instance name bubble

i think that should do it

bluegel
03-11-2003, 01:23 PM
I'm so stupid.

I forgot to put the linkage in.

Thanxs for that.

silly me