Professional Web Applications Themes

play 'outro' of current MC then load next MC on button - Macromedia Flash Actionscript

Hi I need a little help with this please: On the root of my movie I have a empty container MC called 'container'. I have a number of MC's that will load into this container via individual buttons....lets say 'but1' loads 'MC1' into 'container', 'but2' loads 'MC2', 'but3' loads 'MC3' etc. Each of these MC's is animated in two halves...an 'intro' which plays when the MC loads and then it stops midway. The last half is an 'outro' for smooth transition when it unloads before the next MC loads. What I need to know is how to: a) write the ...

  1. #1

    Default play 'outro' of current MC then load next MC on button

    Hi I need a little help with this please:

    On the root of my movie I have a empty container MC called 'container'.

    I have a number of MC's that will load into this container via individual
    buttons....lets say 'but1' loads 'MC1' into 'container', 'but2' loads 'MC2',
    'but3' loads 'MC3' etc.

    Each of these MC's is animated in two halves...an 'intro' which plays when
    the MC loads and then it stops midway.
    The last half is an 'outro' for smooth transition when it unloads before the
    next MC loads.

    What I need to know is how to:

    a) write the correct syntax actionscript on each button that basically says:
    on release, play the 'outro' of the current MC and once this has happened,
    attach the relevant MC and play.

    b) as the buttons (which load the MC's) can be pressed in any order, I can't
    state the actual name of the existing MC to play the 'outro' of, so it needs
    to play the current/existing MC's label 'outro'...whichever is there.

    c) it needs to know when it has reached the end of the currrent MC's 'outro'
    before it loads the new MC


    Hope I have written that clearly enough for someone to understand

    Thanks in advance

    Chris W




    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
    Version: 6.0.572 / Virus Database: 362 - Release Date: 27/01/2004


    Chris Waters Guest

  2. #2

    Default Re: play 'outro' of current MC then load next MC onbutton

    Hi Chris, I`ve made a small example for you which should help.
    [L=link]http://www.gifsrus.com/testfile/outro.zip[/L]
    stwingy Guest

  3. #3

    Default Re: play 'outro' of current MC then load next MC on button

    Is there a way I can do it without loading external swf files....I am
    loading movieClips that are in one main file olny as they are only small

    p.s. the fla file was not of 'main'..it was one of the mc's!


    "stwingy" <webforumsusermacromedia.com> wrote in message
    news:c1i9lt$cqj$1forums.macromedia.com...
    > Hi Chris, I`ve made a small example for you which should help.
    > [L=link]http://www.gifsrus.com/testfile/outro.zip[/L]

    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
    Version: 6.0.572 / Virus Database: 362 - Release Date: 27/01/2004


    Chris Waters Guest

Similar Threads

  1. movie outro
    By shizzo in forum Macromedia Flash
    Replies: 1
    Last Post: January 28th, 09:54 AM
  2. current locked status button?
    By veeall in forum Macromedia Freehand
    Replies: 0
    Last Post: June 22nd, 07:46 AM
  3. Reverse button for current movie
    By WandaK webforumsuser@macromedia.com in forum Macromedia Flash Actionscript
    Replies: 1
    Last Post: February 4th, 10:59 AM
  4. play and rewind button
    By tru178 in forum Macromedia Flash
    Replies: 4
    Last Post: October 11th, 11:00 PM
  5. Getting NSDoent to load a file into current window
    By Eric Lada in forum Mac Programming
    Replies: 1
    Last Post: September 9th, 04:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139