A Flash Developer Resource Site

+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Oct 2004
    Posts
    7

    a little trouble with transitions and external clips

    to ensure smooth loading the way i'm setting up site is by using empty clips as containers for sub menus and sections. the main menu is the main file and when selected a new menu appears somewhere else on the page. then when a selection is made the content is then loaded into another movie clip located on the page. For one section i want to experiment with transitions and external clips. i found a tutorial that was very helpful but i can't get the outro of the unloading clip to play. when a new selection is made the new swf loads in transtion but the outgoing swf just disappears.
    the code for the buttons:


    on (release) {

    if (_root.whole.main.currMovie == undefined) {

    _root.whole.main.currMovie = "ab1";
    _root.whole.main.loadMovie("ab1.swf");

    }
    else if (_root.whole.main.currMovie != "ab1")
    {

    if (_root.whole.main._currentframe >= _root.whole.main.midframe)
    {

    _root.whole.main.currMovie = "ab1";
    _root.whole.main.play();

    }

    }

    }

    the code at the end of the swf:
    _root.whole.main.loadMovie(_root.whole.main.currMo vie + ".swf");

    the content section is _root..whole.main
    any help or suggestions would be greatly appreicated. thank you

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397

  3. #3
    Junior Member
    Join Date
    Oct 2004
    Posts
    7
    thanks for the tutorial but it still not playing the outro it just loads the next movie. i really want to get this concept down i dont know why it isnt working... i think i'm doing the right targets... the buttons are located _root.whole.buttons and the movies load into _root.whole.main is that too much to communicate clearly. again thanks for the help just need a little more.
    thanks

  4. #4
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Wanna attach your .flas (or mockups) zipped up and in a MX only format, not MX2004.

    You would have to save a copy of your MX2004 .fla, (using Save as...) and changing the Document type to MX only in the Save as... window.

  5. #5
    Junior Member
    Join Date
    Oct 2004
    Posts
    7
    the files zipped are to big to upload

  6. #6
    Junior Member
    Join Date
    Oct 2004
    Posts
    7
    you can download from here

    http://www.cs.uofs.edu/~dmd4/Archive.zip

    included are simplfied ideas of the overall structure.. the airbrush button will load two little green dots those are buttons and those buttons load specific content. the green buttons load into an empty movie clip called buttons... so it s _root.whole.buttons
    and the content loads into an empty movie clip called main... _root.whole.main
    hope this makes sense and hope you can help thank you

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