Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Will this loop work? |
From: | John Croteau |
Date: | Fri, 27 Aug 1999 16:19:02 +0100 |
Hi Mike,
> The problem is, after hitting the button that takes you to the "loop" frame,
> Flash stalls a minute and takes you to the "ok" frame no matter what the
> result.
> Loop While (confirm = "")
> Trace ("loop")
> If (confirm eq no)
> Comment: Failure
> Set Variable: "confirm" = ""
> Go to and Stop ("retry")
> End If
> If (confirm eq yes)
> Comment: Success
> Go to and Stop ("ok")
> End If
> End Loop
1) Most likely you need quotes around "yes" and "no".
2) It is best not to use a While loop. If the web connection is not very
very fast you are likely to come up against the 200,000 player limit.
See -->
http://www.FlashBible.com/Members/ActionScript/PlugNPlay/Delay.htm
3) Unless you have other responses besides yes and no I use the
following:
Frame 1: Label: BeginCheck
Frame 2:
If (confirm eq "")
Go to and Play ("BeginCheck")
Else If (confirm eq "no")
Go to and Stop ("retry")
Else
Go to and Stop ("ok")
End If
----------- -----------------------
John Croteau croteauerols [dot] com (mailto:croteauerols [dot] com)
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: ownershocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-managershocker [dot] com
Replies
FLASH: Will this loop work?, Mike Yrabedra
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]