1018design
04-25-2008, 08:13 PM
Hi Everyone,
My apologies for lack of AS knowledge. I've just started flash a couple days ago but have a fair background in programming so its getting easier.
I'm attempting to pass data from a MYSQL table to flash. It is for a community links page, it includes an image, title and URL of the featured websites.
I've tested the function returnArrray in browser and it works fine passing each result as an array. I've been able to get the arrays in flash as a recordset, just don't know how to break it up to populate the various txtfields.
I was hoping to make 1 design and then just duplicate it for each array so the page is dynamic based on results.
function returnArray () {
// Create SQL query
return mysql_query("SELECT * FROM community");
}
}
Any hints or links to the right direction would be greatly appreciated.
Thanks,
Sean
My apologies for lack of AS knowledge. I've just started flash a couple days ago but have a fair background in programming so its getting easier.
I'm attempting to pass data from a MYSQL table to flash. It is for a community links page, it includes an image, title and URL of the featured websites.
I've tested the function returnArrray in browser and it works fine passing each result as an array. I've been able to get the arrays in flash as a recordset, just don't know how to break it up to populate the various txtfields.
I was hoping to make 1 design and then just duplicate it for each array so the page is dynamic based on results.
function returnArray () {
// Create SQL query
return mysql_query("SELECT * FROM community");
}
}
Any hints or links to the right direction would be greatly appreciated.
Thanks,
Sean