# Anybody can explain this code?

**URL:** <https://forum.kirupa.com/t/anybody-can-explain-this-code/65119>\
**Category:** flash\
**Created:** [September 23, 2004, 4:36am UTC](https://forum.kirupa.com/t/anybody-can-explain-this-code/65119 "2004-09-23T04:36:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NovemberRain](https://avatars.discourse-cdn.com/v4/letter/n/73ab20/32.png) [@NovemberRain](https://forum.kirupa.com/u/NovemberRain)\
**Post date:** [September 23, 2004, 4:36am UTC](https://forum.kirupa.com/t/anybody-can-explain-this-code/65119/1 "2004-09-23T04:36:39Z")

</div>

//Anybody can explain this code and how to play the attached sound Objects  
//in this code.

```auto

_root.createEmptyMovieClip("soundLib", 1);
for (i=1; i<=3; i++){
 soundLib.createEmptyMovieClip ("holder_" add i, i);
 _root["sound_" add i] = new Sound (soundLib["holder" add i]);
}

```

:upset:  
//For attaching the sound to a flash movie it’s better to create different sound  
//Objects that targetting the different MCs on the stage.
