Professional Web Applications Themes

setting number of times Flash plays - Macromedia Flash

I've got a small Flash piece on a website. I want it to play three times and then stop. I've done this in the past and can't remember how, other than turning it into a GIF. It seems like I turned the scene into a Movie Clip and then put that in a movie three times but I can't remember how I turned the scene into an MC and my experiements so far have not been successful. Any help appreciated. [email]laurakmadmousergraphics.com[/email] [url]http://www.madmousergraphics.com[/url] web design, print design, photography...

  1. #1

    Default setting number of times Flash plays

    I've got a small Flash piece on a website. I want it to play three times and
    then stop. I've done this in the past and can't remember how, other than
    turning it into a GIF.
    It seems like I turned the scene into a Movie Clip and then put that in a movie
    three times but I can't remember how I turned the scene into an MC and my
    experiements so far have not been successful.
    Any help appreciated.

    [email]laurakmadmousergraphics.com[/email]
    [url]http://www.madmousergraphics.com[/url]
    web design, print design, photography


    LauraK Guest

  2. #2

    Default Re: setting number of times Flash plays

    [email]lkrzaol.comn[/email]ospam (LauraK) wrote in
    news:20031204182123.09540.00000177mb-m17.aol.com:
    > I've got a small Flash piece on a website. I want it to play three
    > times and then stop. I've done this in the past and can't remember
    > how, other than turning it into a GIF.
    > It seems like I turned the scene into a Movie Clip and then put that
    > in a movie three times but I can't remember how I turned the scene
    > into an MC and my experiements so far have not been successful.
    > Any help appreciated.
    >
    > [email]laurakmadmousergraphics.com[/email]
    > [url]http://www.madmousergraphics.com[/url]
    > web design, print design, photography

    set the loops in the movie properties to 3
    The Hittmann Guest

  3. #3

    Default Re: setting number of times Flash plays

    In the last frame of the animation put:

    played++;
    if(played == 3){
    stop();
    }

    John

    --
    ----------------------------------------------------------------------------
    -----------
    RESOURCES
    [url]http://groups.google.com/advanced_group_search?hl=en&as_ugroup=*flash[/url]
    ----------------------------------------------------------------------------
    -----------
    TUTORIALS at
    [url]www.laiverd.com[/url]
    Flash & PHP Emailform
    Using textfiles in Flash
    ----------------------------------------------------------------------------
    -----------


    Laiverd.COM Guest

Similar Threads

  1. Number of plays
    By OHM in forum Macromedia Flash
    Replies: 2
    Last Post: February 21st, 03:37 PM
  2. Number of times visited
    By ed@oac in forum Coldfusion Database Access
    Replies: 3
    Last Post: February 17th, 11:44 AM
  3. howto put the same number 36 times in a list?
    By Robert in forum Macromedia Director Lingo
    Replies: 2
    Last Post: December 9th, 11:22 AM
  4. Counting the number of times a user hits an html form
    By Keith Kurzendoerfer in forum FileMaker
    Replies: 1
    Last Post: September 24th, 02:53 PM
  5. Replies: 8
    Last Post: August 2nd, 10:46 AM

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