# Attachsound

**URL:** <https://forum.kirupa.com/t/attachsound/193042>\
**Category:** Uncategorized\
**Created:** [July 3, 2006, 9:39pm UTC](https://forum.kirupa.com/t/attachsound/193042 "2006-07-03T21:39:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MyDNA](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@MyDNA](https://forum.kirupa.com/u/MyDNA)\
**Post date:** [July 3, 2006, 9:39pm UTC](https://forum.kirupa.com/t/attachsound/193042/1 "2006-07-03T21:39:37Z")

</div>

Hi…

Since i use more and more as in my flashfiles my way of building a flash website has changed. for example i create only buttons from Movieclips and not button MC’s

But when i want to attach a sound i know the code of attachsound but i can’t find out how to use it.

Is there someone who can help me a bit.

I use something like this.

[AS]  
movieclip.onRollOver = function () {  
attachSound (linkage library sound?);  
}  
[/AS]

But it hink it’s wrong, but on the other side i don’t know how to do it on another way?
