Ask a Question related to Macromedia Flash Data Integration, Design and Development.
-
lunchBoxCoder #1
Php - Data - Flash
Hi all,
this is my first post I'm a newbee teaching myself, so i hope I'm Clear
I have No problems inserting data from flash to PHP into MySQL,
it's sendind them back properlly.
All I'd like to see happen is for one row of data to be inserted into a
dynamic text field.
here's what i've got
if i access this php file, it prints out a vertical list from a single MySQL
row,
I was happy.
$query = "select row from table";
$result = mysql_query($query, $db);
while($row = mysql_fetch_row($result))
{
print "$row[0]<BR>\n";
}
From flash :
I created a dynamic text field w/ an instance, my_to.
var lv:LoadVars = new LoadVars();
lv.load ("data.php");
lv.onLoad = function(){
my_to.text = lv;
}
and Instead of the vertical list (which i would love to see) i get an unparsed
data array.
I can't imagine i'm to far off,
what am I missing?
I hope not alot
Alex
lunchBoxCoder Guest
-
Is it possible to insert data in XML with Flash
I dont know insert, modify and delete data in XML in an application that i make in Flash. You can help me. Greetings! -
Flash Data to XML Data
hi.. there... first of all im verymuch new to XML but not to flash... and i want to know answer for a question.... i will create a interface... -
Flash Data Newbie needs data help please
Hi, I am a newbie to using dynamic data in Flash I am building a site for a client that will have a News section, where news text will live... -
php, data, flash...
Hi, I'm trying to write this question in English (but you can already find the french version). I have a problem, I wanna know if it's possible to... -
Send data to Flash from a page without reloading the flash file
The title tells the most, I want to send like, "hello" to a flashfile from a html page(the flash file is on the site) without having to reload the... -
micahkoga #2
Re: Php - Data - Flash
You should use amfphp. It's flash remoting with php. It's much cleaner
integration. [url]http://www.amfphp.org[/url]
Otherwise, to use loadvars, you have to export your data from php like this:
"name1=$row[0]&name2=$row[1]..."
then in flash use: lv.name1 will equal $row[0]
micahkoga Guest
-
lunchBoxCoder #3
Re: Php - Data - Flash
micahkoga,
thanks for the info & link --
AMFPHP is the last piece I or we all need..
Alex
lunchBoxCoder Guest



Reply With Quote

