kirupaSound = new Sound(this);

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.

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: