|
-
Dignitary
 Originally Posted by samac1068
Well I can't be 100% positive, but this refers to the current object. It will change based on which class or level you are current at. Within a class, this will refer to the class itself. Stage refers the main displayObjectContainer. This is the area in which all displayObject are added to.
I know someone can explain it better, but that is how I understand it.
Good explanation.
I would add that the "this" statement is a common term used in many different languages that refers to the current object.
The "stage" statement however is found specificlly in flash and was added to the language with as 3.0.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|