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
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to