A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Non Instantaneoud Loops???

  1. #1
    Junior Member
    Join Date
    Mar 2000
    Posts
    1

    Question

    I am trying to make a While Loop that will perform a set of actions, and then after that wait anywhere from 1/2 a second to a full second before repeating the loop...any suggestions???
    Thanks In Advance
    David

  2. #2
    Junior Member
    Join Date
    Mar 2000
    Location
    Seattle, WA
    Posts
    19

    Post

    Try putting in another loop that does nothing...set a high counter, that will create your delay...
    <EMBED src="/cgi-bin/ubb/Members/sigs/00000549.swf" quality=high WIDTH=400 HEIGHT=80 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED>

  3. #3
    Senior Member
    Join Date
    Feb 2000
    Posts
    195

    Exclamation

    If you wish to create any kind of looping code with a delay.. do NOT use a While loop! Sure, you can create a While loop with a delay.. but your movie will be locked so long as the loop is in progress!!

    Instead, use looping movie clips. You can create a clip that loops every 1/4 second (or whatever interval you want) and then use a variable to count the loops.


    <EMBED src="/cgi-bin/ubb/Members/sigs/00000205.swf" quality=high WIDTH=500 HEIGHT=50 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED>

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