# A question about array

**URL:** <https://forum.kirupa.com/t/a-question-about-array/212092>\
**Category:** flash\
**Created:** [January 8, 2007, 3:06pm UTC](https://forum.kirupa.com/t/a-question-about-array/212092 "2007-01-08T15:06:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![77andrew](https://avatars.discourse-cdn.com/v4/letter/7/65b543/32.png) [@77andrew](https://forum.kirupa.com/u/77andrew)\
**Post date:** [January 8, 2007, 3:06pm UTC](https://forum.kirupa.com/t/a-question-about-array/212092/1 "2007-01-08T15:06:32Z")

</div>

Hi everyone here is the code  
function b(i):Array{  
temp1.number = sendNumber\*;  
temp1.sendAndLoad(“[http://XXX.php](http://XXX.php)”, temp1,“POST”);  
temp1.onLoad = function(){  
myArr.push(temp1.coor);  
if (i \< sendNumber.length-1){  
b(++i);  
}  
trace(myArr);  
}  
return myArr;  
}  
}  
I will get data from PHP and then push it into myArr.  
However, i can not trace(myArr) outside the function… how can i do that.  
Thx ~!
