dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: LoadMovieNum ->LoadMovie together

  1. #1
    Junior Member
    Join Date
    Jun 2007
    Posts
    9

    LoadMovieNum ->LoadMovie together

    Is any reason why I wouldn't be able to use LoadMovieNum and LoadMovie in the same project?

    The main menu loads the course(with LoadMovieNum) into layer 1.

    The course (now in layer 1) loads exercises (using loadMovie) - by attaching them to a moviclip.

    When the course runs by itself, the exercises load just fine using loadMovie.

    But when the course is called by the menu (with LoadMovieNum), the exercises will not load (with loadMovie). There is nothing that shows.

    Any help would be appreciated.
    Thank you,
    Julia

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    I guess the path to the target in your loadMovie() is wrong.
    For example, of you use loadMovie(something, _root.container) then, as your timeline is not _root anymore but _level1, it would work with either of these:

    loadMovie(something, _level1.container);
    loadMovie(something, this.container);
    this.container.loadMovie(something);

    gparis

  3. #3
    http://pat.theorigin.net cresquin's Avatar
    Join Date
    Jun 2003
    Location
    Los Angeles, CA
    Posts
    685
    Your problem is most likely caused by a scope problem and _root calls in your external files.

    when you use loadmovienum, your _root calls don't reference the main timeline anymore. So using loadmovie on the main timeline, your _root calls work as expected, but using loadmovie from a clip that's been loaded via loadmovienum will cut your _root calls off.

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center