# kirupaSound = new Sound(this);

**URL:** <https://forum.kirupa.com/t/kirupasound-new-sound-this/6573>\
**Category:** flash\
**Created:** [October 10, 2002, 7:19pm UTC](https://forum.kirupa.com/t/kirupasound-new-sound-this/6573 "2002-10-10T19:19:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eron19](https://avatars.discourse-cdn.com/v4/letter/e/edb3f5/32.png) [@eron19](https://forum.kirupa.com/u/eron19)\
**Post date:** [October 10, 2002, 7:19pm UTC](https://forum.kirupa.com/t/kirupasound-new-sound-this/6573/1 "2002-10-10T19:19:46Z")

</div>

on (release) {  
kirupaSound = new Sound(this);  
kirupaSound.attachSound(“coolsound”);  
kirupaSound.start(0, 99);  
}

i was just wondering why they used ‘this.’  
in all my experiences using actionscript to play sounds, i never used ‘this.’ i would have put kirupaSound = new Sound();  
anyway, someone sheddddd some light on me. thanx.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 15, 2002, 4:42pm UTC](https://forum.kirupa.com/t/kirupasound-new-sound-this/6573/2 "2002-11-15T16:42:42Z")

</div>

Using the “this” keyword means you’re using that Sound Object specifically for that Movie Clip. It’s a scope issue. At least that’s what I have gathered in my trials and issues with Objected Oriented Programming.

Probably didn’t help, but maybe.  
:cyclops:
