Re: flash and php (using the varibles)
| From: | rolf vreijdenberger | Date: | Thu, 09 Jan 2003 23:46:21 +0000 |
| Subject: | Re: flash and php (using the varibles) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131016@lists.php.net to get a copy of this message | ||
in flash:
----
result=null;
URL=" myscript.php"
loadVariables(URL, myobject, "POST")//flash 5, MX has better capabilities
gotoAndPlay("checkframe")
----
well, you get a name/value pair from the script.
the script ran some queries on the database.
teh output from the script to flash is:
&mynumber=123&result=true&
Ok, in flash, in the "checkFrame" you check for a result variable
---
if(result=="true"){
//watch out, true is a string in flash, even if it is a boolean in php
//take some action
}elseif(result=="false"){
//ooops, error, output error message
}
capiche?
> Hi guys i hope there is someone in here that use flsah along with php to
> help with this :)
>
> Anyway i will make it simple.
>
> mysql returns a number say 123 i want flash to take this number to animate
a
> progress bar, but here the problem it does work but the progress bar
dosn't
> animate it just sets to the hieght of the numbers sent back from mysql.
How
> can i slow down the animation of the progress bar
>
> Anyone
>
>