# Pulling info out of DataGrid

**URL:** <https://forum.kirupa.com/t/pulling-info-out-of-datagrid/222208>\
**Category:** Uncategorized\
**Created:** [April 11, 2007, 4:32pm UTC](https://forum.kirupa.com/t/pulling-info-out-of-datagrid/222208 "2007-04-11T16:32:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhys\_t](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@rhys\_t](https://forum.kirupa.com/u/rhys_t)\
**Post date:** [April 11, 2007, 4:32pm UTC](https://forum.kirupa.com/t/pulling-info-out-of-datagrid/222208/1 "2007-04-11T16:32:42Z")

</div>

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
