A Flash Developer Resource Site

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Oct 2002
    Location
    Australia
    Posts
    90

    loading 2 seperate movies into a blank movie

    can some flash master figure this one out?

    I have a main movie with a blank movie called "blankclip" to load movies into. I have a frame where the movie stops which has a layer which loads the "menustrips.swf" animation in the main movie:

    _root.blankclip.loadMovie("menustrips.swf");

    and also another layer/frame which loads "kanim.swf" which is also an animation

    _root.blankclip.loadMovie("kanim.swf");

    My problem is that only one of the movies load?

    How can I load both these movies in my movie?

    thanks

  2. #2
    ¤ ¤ ¤ PAZ ¤ ¤ ¤ nordberg's Avatar
    Join Date
    Nov 2000
    Location
    east of west
    Posts
    4,704
    i think your problem is that you are loading 2 .swf's into the same instance of 'blankclip' - so the second one is just displacing the first.

    load 'menustrips.swf' into an instance called 'blackclip' (just like you have it now). drag another instance of your blank MC onto the stage and call it 'blankclip2' - then load 'kanim.swf' into it.

    that may be the fix

    Ah, these boys is all swelled up. So this was earlier...getting set to trade. Then, woooaaah differences.
    Blog ¤ Photos ¤ Go Green Charleston

  3. #3
    Member
    Join Date
    Oct 2002
    Location
    Australia
    Posts
    90

    thankyou but how do I unload the movies?

    Thanks heaps nordberg for that worked perfect.
    The only thing is now is how do I unload the "menustrips.swf" movie situated in blankclip2 on a button click?
    this is what I tried my but it didn't work.


    on (release) {
    _root.blankclip.loadMovie("kwatch.swf");
    _root.blankclip2.unloadMovie("menustrips.swf");
    }

    the "_root.blankclip.loadMovie("kwatch.swf");" is loading a new movie into the blankclip and replacing the "kanim.swf" movie and that works fine but just unloading the "menustrips.swf" clip I'm not sure about?

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