Flash as3 question

Out of context: Reply #4

  • Started
  • Last post
  • 7 Responses
  • fugged0

    fyi, "_parent" is "parent" in as3.

    make sure you get a valid reference to the "clip01" instance. you should probably use the displayObjectContainers traversal methods (getChildByName, getChildAt, etc...)

    you might want to consider storing a reference to the targeted movieclip in "this", rather than hard coding it's path directly (parent.parent... ect) . If you ever change the nesting of the clips, there's no need to go update all the paths.

View thread