Hi, im developing a game at the moment in flash that relies on flash remoting.
I’m not great with flash remoting so ive managed to combine my flash game
with a flash remoting tutorial. The tutorial pulls info off of my MySQL and works by putting
it into a DataGrid. Im now just looking for a way to pull each piece of info out and into a variable. Heres some of the code:
function onRefreshResult(r:ResultEvent)
{
my_grid.dataProvider = r.result
var myArr:Array = new Array();
myArr = r.result
_root.map_bg.player_name.text = myArr;
}
I tried putting the info into and array but obviusly its returning an error due to the fact that r.result is a object. Please help me someone ;(. Im just looking for a way of pulling info out of the grid and into seperate variables.
Thankyou to anyone who’s able to help.
-Rhys Thomas