1 Reply Latest reply on Oct 16, 2008 1:40 PM by kglad

    problem, call attach movie from one timeline to another movie clip

    cmarlo
      Hi Everyone,

      I have a relatively simple attachmovie problem.

      I have have two different movie clip instances correctly labeled on the main _root timeline; "slider" and "projects_library". Inside the timeline of the "slider" clip is a script to attach a clip to the instance "projects_library". However when executed, it doesn't work. The script works fine if it runs on the _root timeline, but not when it's inside the "slider" timeline. I might have a misunderstanding of levels in my script. Hope someone can advise and clarify. Many thanks,

      onEnterFrame = function () {

      _root.projects_library.attachMovie("testproject", "testproject_new", _root.projects_library.getNextHighestDepth());

      }