A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: loadMovie not loading movie

  1. #1
    will eat you alive
    Join Date
    Feb 2002
    Posts
    388
    Ok, I have this script in a frame on the main stage:

    nineties = new Array("/x90s/x90s_01.swf", "/x90s/x90s_02.swf", "/x90s/x90s_03.swf", "/x90s/x90s_04.swf", "/x90s/x90s_05.swf", "/x90s/x90s_06.swf","/x90s/x90s_07.swf","/x90s/x90s_08.swf");
    NumberofMovies = 8;
    loadMovie (nineties[random(8)], _root.pisces_90s);
    loadMovie ("/elements/water.swf", "pisces_swirl_90s");
    stop ();

    The 'x90s_xx.swf' is a randomly placed movie with a shaped hole cut out of it, in order to view the 'water.swf' through underneath. Without the 'water.swf' movie loading i am left with a blank screen.

    I have similar script on three frames prior to this (60s, 70s and 80s, would you believe). The sixties ALWAYS loads but the rest are very erratic, except if I use right click>play to forward to the next decade (suggesting that it is not the command from that specific decade and rather the 60s command that is still loaded).

    I have changed:

    loadMovie ("/elements/water.swf", "pisces_swirl_90s");

    to:

    loadMovie (elements/water.swf, _root.pisces_swirl_90s);

    also, but to no avail.

    I know this probably isn't the best explained thread in existence but I would appreciate any sort of feedback regarding this problem, whether it be help or request for further info.

    Ta!


    telekin:
    __________________________________________________ __________

  2. #2
    MoiK78 Flasher moises's Avatar
    Join Date
    Sep 2000
    Location
    Madrid, Spain
    Posts
    251
    Try this:

    loadMovie ("elements/water.swf", "_root.pisces_swirl_90s");

    if not, post the code of the sixties.....

  3. #3
    will eat you alive
    Join Date
    Feb 2002
    Posts
    388
    Hmmm, I did that and it worked straight away on the 90s, so I applied EXACTLY the same principles to the other frames, yet still had the same problem.

    Whether it's a problem exporting or that something is caching the thing somewhere I don't know .

    All I know is that it is frustrating the arse off of me.


    telekin:
    __________________________________________________ __________

  4. #4
    will eat you alive
    Join Date
    Feb 2002
    Posts
    388
    I did that and it worked straight away on the 90s, so I applied EXACTLY the same principles to the other frames, yet still had the same problem.
    Code for the seventies:

    seventies = new Array("/x70s/x70s_01.swf", "/x70s/x70s_02.swf", "/x70s/x70s_03.swf", "/x70s/x70s_04.swf", "/x70s/x70s_05.swf");
    NumberofMovies = 5;
    loadMovie (seventies[random(5)], _root.pisces_70s);
    loadMovie ("elements/water.swf", "_root.pisces_swirl_70s");
    stop ();

    Code for the nineties:

    nineties = new Array("/x90s/x90s_01.swf", "/x90s/x90s_02.swf", "/x90s/x90s_03.swf", "/x90s/x90s_04.swf", "/x90s/x90s_05.swf", "/x90s/x90s_06.swf","/x90s/x90s_07.swf","/x90s/x90s_08.swf");
    NumberofMovies = 8;
    loadMovie (nineties[random(8)], _root.pisces_90s);
    loadMovie ("elements/water.swf", "_root.pisces_swirl_90s");
    stop ();

    The nineties works and the seventies doesn't. It's nothing to do with instance names or anything like that. Though I wish it was.


    telekin:
    __________________________________________________ __________

  5. #5
    MoiK78 Flasher moises's Avatar
    Join Date
    Sep 2000
    Location
    Madrid, Spain
    Posts
    251
    Why don't you send me the fla and i take a look at it. Maybe the problem is in another piece of code.

    Send it to moisesgcd@ya.com

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