1 Reply Latest reply on Jul 10, 2006 7:58 AM by OmniFlash

    myMovieClip.duplicateMovieClip(name, depth, initObject)

    OmniFlash Level 1
      Here's a summary of my code:

      --------------------------------------
      _parent._parent.MyMovie.duplicateMovieClip( HA, 0, _parent._parent.MyMovie)
      _parent._parent.HA._x = 100
      _parent._parent.HA._y = 100
      trace(_parent._parent.HA._y)
      ----------------------------------------

      And this will return:
      undefine

      I tried in serting the ._x and ._y code IN the movie clip like so:
      ----------------------------------------
      onClipEvent(load) {
      this._x = 100
      this._y = 100
      trace(_parent._parent.HA._y)
      }
      ---------------------------------------

      and it works just nice

      And yes I tried:
      --------------------------------------
      _parent._parent.MyMovie.duplicateMovieClip( HA, 0, _parent._parent.MyMovie)
      HA._x = 100
      HA._y = 100
      trace(HA._y)
      ----------------------------------------

      So what is the path to get to "HA"?

      Thanks