# OOP-properties vs. variables

**URL:** <https://forum.kirupa.com/t/oop-properties-vs-variables/94941>\
**Category:** Uncategorized\
**Created:** [November 18, 2003, 5:52pm UTC](https://forum.kirupa.com/t/oop-properties-vs-variables/94941 "2003-11-18T17:52:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mojoNYC](https://avatars.discourse-cdn.com/v4/letter/m/b5a626/32.png) [@mojoNYC](https://forum.kirupa.com/u/mojoNYC)\
**Post date:** [November 18, 2003, 5:52pm UTC](https://forum.kirupa.com/t/oop-properties-vs-variables/94941/1 "2003-11-18T17:52:37Z")

</div>

hi all-

i’m back, and trying to suss out some OOP methods in Robert Penner’s excellent book (i highly recommed it!) :thumb:

my question is in how he is declaring properties inside of a MC like this:

[AS]  
this.begin=100;  
this.finish=220;  
[/AS]

which i understand to be set as a property of that MC. normally, i would declare them as simply:  
[AS]  
begin=100;  
finish=220;  
[/AS]

as i’m still trying to figure out the ‘new’ MX methods, what’s the advantage here that i’m missing? is it just a scope issue, or are they easier to call this way, or is it something else?

thx again,  
-mojo
