A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: LoadMovie not working for me

  1. #1
    Junior Member
    Join Date
    Apr 2002
    Posts
    17
    ok, here goes. I use-
    MovieClip.loadMovie(models.swf, _root.container);
    (actual line from my MAIN movie)
    all targets/paths are in the same directory,
    and there is an empty MC on the MAIN stage named container. When I test, it outputs "unable to find ///models.swf", or just resets the entire clip. I've tried everything I can think of...
    thanks for your help, Mike

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Is models.swf in the same folder as your.fla and your.swf when you're testing this?

  3. #3
    Member
    Join Date
    Apr 2002
    Posts
    43
    Two things that could put you on track here.
    -"models.swf" should be in quotes.
    -You have conflicting targets.
    "MovieClip.loadMovie(models.swf, _root.container);"
    is illegal.
    If you wanna load "models.swf" into an instance named
    "_root.container" there are tow ways to do it.
    CodE :::

    //Ex. 1
    _root.container.loadMovie("models.swf");
    __________________________________________________ _
    //Ex. 2
    LoadMovie("models.swf",_root.container);

    Hope this helps.

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