# \[Help!\] OOP in AS 2.0 by Senocular

**URL:** <https://forum.kirupa.com/t/help-oop-in-as-2-0-by-senocular/181797>\
**Category:** flash\
**Created:** [March 13, 2006, 5:41am UTC](https://forum.kirupa.com/t/help-oop-in-as-2-0-by-senocular/181797 "2006-03-13T05:41:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![D\_7](https://avatars.discourse-cdn.com/v4/letter/d/5e9695/32.png) [@D\_7](https://forum.kirupa.com/u/D_7)\
**Post date:** [March 13, 2006, 5:41am UTC](https://forum.kirupa.com/t/help-oop-in-as-2-0-by-senocular/181797/1 "2006-03-13T05:41:31Z")

</div>

On this page: [http://www.kirupa.com/developer/oop2/AS2OOPInheritance4.htm](http://www.kirupa.com/developer/oop2/AS2OOPInheritance4.htm)  
why doesn’t the code have to make an new instance of the class such as this:

```auto

var myBouncer:Bouncer = new Bouncer(); // WHY ISN'T THIS THERE!?!?
var balls_bounds:Object = {left:10, top:10, right:290, bottom:290};
for (var i = 0; i < 5; i++){
    _mc = attachMovie("Ball", "ball"+i, i, {_x:150, _y:150});
    _mc.init(5, balls_bounds);
}

```

I don’t understand why that doesn’t have to be included. It was there before and now out of now where, Senocular doesn’t include that scripting and it still works. What gives?

I don’t understand???:thumb2:
