Search code examples
flashactionscript-3

Trying to understand "_root"


I'm trying to get an actionscript code used in a Flash CS5 example and make a ActionScript class using it in Flash Builder. And I'm trying to understand the _root property.

This page have a brief explanation about the _root property, but it is too vague.

My question is: What is the "_root" that exists only when the ActionScript is placed in the Flash CS5 project? How do I reference it in my class in Flash Builder? (it is an instance of what?)


Solution

  • https://web.archive.org/web/20090615191715/http://www.kirupa.com/forum/showthread.php?p=1952513

    I can't think of a better explanation of stage vs. root and what each means.