Hi,
Does anyone have a reference on what _root, _parent, and _level in Flash MX means?
I'm having trouble calling objects in certain embedded swfs....
Quick explanations??
| SitePoint Sponsor |


Hi,
Does anyone have a reference on what _root, _parent, and _level in Flash MX means?
I'm having trouble calling objects in certain embedded swfs....
Quick explanations??





_root refers to the root timeline of the movie. _parent refers to the object that the calling object lives in. For example movie clip foo lives on the root timeline. _parent from within foo refers to root.
_level refers to the level where a movie resides. Most of the time a movie will live on _level0. If you use loadMovieNum and specify say 3 for the level to load into. Then you could reference the loaded movie as _level3.whatever.
Is that quick enough?





Do you have a specific problem?


Hey Freddy,
so is depth the same as level?





Originally Posted by djh
No they are not the same. Each level has it owns depths. Depth refers to movie clips. A level could have an n number of movie clips.


Hey Freddy,
are you busy right now? I'm completely stuck on this dang file. Do you have time to taka look?





Sure send it to louie@irq11.com
Bookmarks