# The logic behind ActionScript

**URL:** https://forum.kirupa.com/t/the-logic-behind-actionscript/126270
**Category:** Uncategorized
**Created:** [October 21, 2004, 6:25pm UTC](https://forum.kirupa.com/t/the-logic-behind-actionscript/126270 "2004-10-21T18:25:14Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Nutrox](https://avatars.discourse-cdn.com/v4/letter/n/8e8cbc/32.png) [@Nutrox](https://forum.kirupa.com/u/Nutrox)
#### Post date: [October 21, 2004, 6:25pm UTC](https://forum.kirupa.com/t/the-logic-behind-actionscript/126270/1 "2004-10-21T18:25:14Z")

</div>

Hi guys.

This one is aimed at the more “educated in ActionScript” users of Flash out there.

I was just wondering what the logic is behind the differences in object and class functions/methods/getters/setters etc.

For example:

Why is **Sound.position** a getter and **Sound.getBytesLoaded()** a function even though they are both read-only?

The same goes for **MovieClip.useHandCursor** and **MovieClip.\_width** (why the underscore before width)?

This isn’t something I’ve really looked into before and I thought if I could get a better understanding of it then I may be able to make more logical AS classes.
