Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Can you see the problem?
From: John Croteau
Date: Tue, 30 Nov 1999 19:07:44 GMT

Hi David,

> the variable totalclients is set to 2 in the text file.
We assume you have stored 3 passwords (password0, password1 and
password2)
and 3 URLs (url0, url1 and url2)

If each of the passwords has only numbers with no spaces, symbols or
letters then you can use the following:
If (loginpassword = Eval ( "password" & i ))
otherwise you must evaluate as a string with
If (loginpassword eq Eval ( password&i ))

If the URL is the same except for the ending then you could use such as
help0, help1 and help2 with
Set Variable: "url" = "help"
Get URL (Eval ( url & i ), window="_blank") might be correct

But if distinct URLs are stored in url0, url1, and url2 such as
Set Variable: "url0" = "index1.htm"
Set Variable: "url1" = "index2.htm"
Set Variable: "url2" = "index3.htm"

then you need:
Get URL (Eval ("url" & i ), window="_blank")

Eval first concatenates strings then returns the value of the resulting
string.

> On (Press)
> Set Variable: "i" = 0
> Loop While (i<=totalclients)
> Set Variable: "i" = i+1
> If (loginpassword=Eval ( password&i ))
> Get URL (Eval ( url&i ), window="_blank")
> Go to and Play (Intro and menu, 1)
> End If
> End Loop
> Set Variable: "clienttext" = "Incorrect Password. Please try again."
> Play
> End On

--
Coming Soon Flash 4 Web Animation F/X and Design
http://www.amazon.com/exec/obidos/ASIN/1576105555/flashcentral
----------- -----------------------
John Croteau croteauaterols [dot] com (mailto:croteauaterols [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/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Can you see the problem?, David Doggett

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]