A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: load Movie, but old movie is still working underneath!

  1. #1
    Senior Member
    Join Date
    Mar 2002
    Posts
    229

    load Movie, but old movie is still working underneath!

    I am using script to load a index.swf from page4.swf

    I am using this script in a button: -
    loadMovie("index.swf",1);

    And this loads index.swf ontop of the current movie.

    The problem is that after index.swf loads ontop of page4.swf, the buttons from page4.swf are still active, even though they are directly underneath index.swf.

    Does anybody know how to fix this?

  2. #2
    Actionscript Developer KigD's Avatar
    Join Date
    Jan 2003
    Location
    georgia
    Posts
    597
    Try
    buttonA.enabled = false;
    buttonB.enabled = false;

    -Danny
    K2xL - My games, tutorials, message boards, and experiments.
    Blog

  3. #3
    Senior Member
    Join Date
    Mar 2002
    Posts
    229
    There are too many buttons do do that, also the page will be reloaded again and it is too much to have to renable them all

  4. #4
    Junior Member
    Join Date
    Oct 2005
    Posts
    10
    Hi there
    ru loading the index mvie after the page4.swf has finished playing???

  5. #5
    Senior Member
    Join Date
    Mar 2002
    Posts
    229
    Hi

    The index.swf loads ontop of page4.swf.

    The button to load index.swf is on page4.swf

  6. #6
    Actionscript Developer KigD's Avatar
    Join Date
    Jan 2003
    Location
    georgia
    Posts
    597
    Okay, get around it by making a button on the level 0 that covers the entire screen. Then have that disabled when the level 0 is shown, but enabled and have the handmouse disabled.

    -Danny
    K2xL - My games, tutorials, message boards, and experiments.
    Blog

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