Groups | Blog | Home
all groups > flash data integration > september 2005 >

flash data integration : Connect MySQL to Flash mx


exhumater
9/1/2005 12:00:00 AM
Hi!

I would like to know if there any is a possibility to connect from flash mx to
a mysql database. My objective is to create, update and delete information like
i do in dreamweaver (php file).

Thanks


gugateider.com
9/1/2005 3:18:45 PM
[quoted text, click to view]
Hi, you must to use files of type .php to make this idea ....
Below , an example of how to make dynamic sites with flash and php

in your php put this code

<?
$myText = "Hi, this is an just test";
echo "&text=$myText";
?>
in yor flash now

var nl:LoadVars = new LoadVars();
nl.onLoad = function (ok) {
if(ok) {
texto = nl.myText;
trace(texto);
} else {
trace("data not loaded");
}
}
nl.load("yourfile.php");

to know more details , find in google by "flash with php"

Best Regards

Gustavo Teider ( gugateider )
www.gugateider.com
AddThis Social Bookmark Button