Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Please help me out with Variables! |
From: | Robert Bleeker |
Date: | Sat, 25 Dec 1999 07:39:18 GMT |
Hi Mounir,
Use the following script:
Set Variable: "index" = 1
Set Variable: "hasSign" = False
Loop While (index<Length(/:email))
If (Substring ( /:email, index, 1 ) eq "@")
Set Variable: "hasSign" = True
End If
Set Variable: "index" = index+1
End Loop
If (hasSign=False)
Go to and Stop ("badEmail")
End If
You might have to change the target to the "email" variable.
Robert
on 24/12/99 1:08 PM, Mounir Winter at mwworldzipmail [dot] com wrote:
>
> I have a e-mail form in flash 4. But I don't know how to use
> a script to verify the entered data on each variable. For
> example, I'd like to chech the field "email" to see if the
> person put an "@" on it. If not, the script would go to
> another frame (after the button "send" is clicked) saying
> that there's no email address without "@".
>
> Please help me!!!!!
>
> Mounir Winter
> mwworldzipmail [dot] com
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
Replies
FLASH: Please help me out with Variables, Mounir Winter
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]