SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Addict djh's Avatar
    Join Date
    Apr 2000
    Location
    Long Beach, CA
    Posts
    333
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    _root, _parent, _level

    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??

  2. #2
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    _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?

  3. #3
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do you have a specific problem?

  4. #4
    SitePoint Addict djh's Avatar
    Join Date
    Apr 2000
    Location
    Long Beach, CA
    Posts
    333
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey Freddy,

    so is depth the same as level?

  5. #5
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by djh
    Hey Freddy,

    so is depth the same as level?

    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.

  6. #6
    SitePoint Addict djh's Avatar
    Join Date
    Apr 2000
    Location
    Long Beach, CA
    Posts
    333
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey Freddy,

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

  7. #7
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sure send it to louie@irq11.com


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •