# How to use shared library?

**URL:** <https://forum.kirupa.com/t/how-to-use-shared-library/320380>\
**Category:** flash\
**Created:** [March 22, 2011, 7:40am UTC](https://forum.kirupa.com/t/how-to-use-shared-library/320380 "2011-03-22T07:40:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![harry\_kooner2k](https://avatars.discourse-cdn.com/v4/letter/h/6bbea6/32.png) [@harry\_kooner2k](https://forum.kirupa.com/u/harry_kooner2k)\
**Post date:** [March 22, 2011, 7:40am UTC](https://forum.kirupa.com/t/how-to-use-shared-library/320380/1 "2011-03-22T07:40:43Z")

</div>

Hello my genius friends,

I used the word genius because I got solution here everytime i post an issue…  
Hope you people help me this time also.

In my child swf I am using the sound from library with “attachSound”. I also use the play/pause button controls of this sound alongwith the other animation.

Now when I load this into my main swf file with “loadMovie”, It plays fine but no sound. I found that this is due to no sound linkage in my main file library.

Now the issue is that I want to share my child swf’s library with main file’s library. I have no idea how to do this. Any help please??
