|
-
Question about root and this
I tried a test by creating a button and on the button up event wrote the following script:
trace(root.name)
trace(this.name)
I expected trace(root.name) to give me 'Movie 54' which it did. But I expected trace(this.name) to give me 'Button 4' but it also gave me 'Movie 54'.
So what is the difference?
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
|