A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: Help needed again! Having trouble with Load Movie

  1. #1
    Junior Member
    Join Date
    Sep 2000
    Posts
    23
    Ok... I've posted a similar one before but I still need help

    The actionscript below is what my "Pictures" button has.

    On(release)
    Load Movie("http://.../6flags00.swf")
    End On

    **Action: Load movie into location
    URL: (string literal) http://.../6flags00.swf
    Location: level 1
    Variables: Don't send

    The problem is when I click on the button, a movie 6flags00.swf loads but I see orginal movie (level 0) in the back. So, I put a big white square in the lowest layer in 6flags00.swf but it still doesn't work; I still see the movie in level 0 in the back. Something's really wrong here.

    If you know a solution to this problem, please reply to this post or email me at [email protected]

    Thanx

  2. #2
    ActionScript.org
    Join Date
    Aug 2000
    Posts
    1,030

    resolved

    you need to unload any movies you don't want to be visible.

    Unload Movie (0)

    ...

    If you don't want to do that, then you have to white it out with a big square like you say, but for that to work both files must have the same dimensions...

    cheers

    Jesse

  3. #3
    Junior Member
    Join Date
    Sep 2000
    Posts
    23
    Both files DO have the same dimensions

  4. #4
    Secret Agent
    Join Date
    Sep 2000
    Location
    San Francisco, CA
    Posts
    169
    hi
    either tell it to load in level 0
    or load it into a specific movie clip, replacing it and in turn putting it exactly where you want it to be placed; ie. covering up the background.
    salut
    aldorr

  5. #5
    Junior Member
    Join Date
    Sep 2000
    Posts
    23
    Can anyone tell me why this is happening?

  6. #6
    Secret Agent
    Join Date
    Sep 2000
    Location
    San Francisco, CA
    Posts
    169
    Sorry,
    but maybe you have to be more specific.
    If the movie you're loading loads into the movie and you have more than one movie clip in level 0 then those movie clips stay there. Then you load something in level 1and it replaces level 1. but the other movie clips in level 0 remain.
    so you want to unload the movie clips that are in level 0 first... or you want to replace those movie clips with something else.
    makes sense?
    aldorr.

  7. #7
    Junior Member
    Join Date
    Sep 2000
    Posts
    23
    Ok.. I really don't get what you're saying here..
    movie clips? Why would I need them? I just wanna load movies.
    I have a movie that's in level 0 and want to load some other movie in level 1 so the movie I'm loading would cover the movie in level 0. But it's not happening.
    You were talking about some other way.. loading into level 0 and replace the movie? But then I can't get back to where I was. Call the movie in level 0 A, and the other one B. After loading B and replacing A, I'd have to load A to play it, right? But then I can't go to a certain part in movie A because when you load a movie, it just plays from the beginning.

  8. #8
    Junior Member
    Join Date
    Jul 2000
    Posts
    9
    kewl down dude, the worlds not that bad.

    First of all, for what you're doing you'd be better off using a "new scene", that would automaticly replace the background, also you could always return to clip A with a simple goto command.
    Another sollution is to make a big white box in clip B, as big as the whole movie and stick it into the bottom layer, you won't see the movie beneath (level_0), but if there are buttons on it (level_0) they'll still be clickable, stupid but true.

    The load_movie command is more to add movies together, not to like enter a new chapter or so, so don't use it if you don't want the previous movie to be visible beneath

    P.s. I know the Starcraft font :P

  9. #9
    Junior Member
    Join Date
    Sep 2000
    Posts
    23

    Smile

    Thanx.. I'll try to change it and make it work the way I want.

  10. #10
    Senior Member
    Join Date
    Aug 2000
    Posts
    2,235
    Load movie b. into level 0. Put a button with an action which loads movie a. into level 0 again, in movie b. or put a frame action ( on the last frame of movie b.) which loads movie a. into level 0

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