Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Can you see the problem? |
From: | Torbj�rn Caspersen |
Date: | Tue, 30 Nov 1999 17:41:16 GMT |
I can spot a couple of possible errors.
If (loginpassword=Eval ( password&i ))
should be
If (loginpassword eq Eval ( "password"&i ))
I guess that the variable-name is eg. 'password1'. EQ is the operand when
comparing strings.
Get URL (Eval ( url&i ), window="_blank")
Get URL (Eval ( "url"&i ), window="_blank") - same as above
The first error causes flash to evaluate (loginpassword=Eval ( password&i ) as
true every time, thus three windows are opened.
Hope this helps.
Subject: FLASH: Can you see the problem?
Here is the code I have in a login button. I am trying to dynamically launch
the correct url from a client login and all seems to work fine except that when
I login correctly I get the first 3 urls from my external text file opening so I
have 3 new windows open.. Can you see what might be wrong?
Also, the variable totalclients is set to 2 in the text file.
Thanks in advance.
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
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 helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]