flash AS help?

Out of context: Reply #4

  • Started
  • Last post
  • 8 Responses
  • plagro0

    I think you could be running into issues because the swf isn't fully loaded when you're trying to trigger it. The simple answer is to not use loadMovie and use the movieClipLoader() functions instead. That way you can legitimately trigger the action when the clip has fully loaded instead of running into possible load errors. eg.

    var myMCL = new MovieClipLoader();
    myMCL.onLoadComplete = function (targetMC)
    {
    // do whatever
    }
    myMCL.loadClip(theSWF, theEmptyMovieClip);

    • actually you have to check .onLoadInit
      Only then movie is fully loaded :)
      antistatic

View thread