Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | FLASH: Interfacing with server |
| From: | Vikas |
| Date: | Sat, 11 Nov 2000 13:32:17 GMT |
hi!
here is the code that should display a particular scene when logon is
a success and a different scene when login is a failure.
===========
on (press, release) {
loadVariablesNum ("http://192.168.0.96/temp/t1.asp", 0, "GET");
if (success=="yes") {
getURL ("http://192.168.0.96/temp/t2.asp", "_self");
} else if (success=="no") {
gotoAndStop ("Scene 2", 1);
}
}
==========
Example output from the ASP file is "success=0&Username=&Password=&".
(application/x-urlencoded) The problem is the if contruct does not work!
and so nothing happens. If I provide a _else_ statement that will always
be executed. What is the data type of "success" and what is the format i
should call the "if" statement? Or maybe the problem is in the
loadVariablesNum?
Please help!
Thanks!
Vikas
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre
Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

