rigueira 0 Report post Posted November 25, 2007 Is it possible pass flash variables to be processed in PHP language?Example:Enter Login and password in a flash aplication and this variables (login and password) to be used in PHP? Share this post Link to post Share on other sites
galexcd 0 Report post Posted November 25, 2007 Yes it is. Flash has a function called loadvariables which can get and send data from a webpage (such as a php page).Syntax is: loadVariables ( " url " , level/ " target " [ , variables ])The url is the url of the php file, the target is what symbol will be receiving the variables, and variables is an optional parameter if you want to send data.For example if you wanted to send a username and password to the php page "login.php" you would use this code:loadVariables("login.php","_root","username="+username+"&password="+password);and on login.php have it output success=true if the login was valid and success=false if the login was invalid, then you can have flash access that info through the variable "_root.success" Share this post Link to post Share on other sites