lord_mcdohl How do I cheat? Reputation: 0
Joined: 22 Mar 2011 Posts: 1
|
Posted: Tue Mar 22, 2011 1:45 am Post subject: Search for arrays in ActionScript 3 |
|
|
Since its my first post let me present myself. I´m McDohl
Lets get to the point.
I have an flash animation written with AS3. Ive been learning from it since i have the source code too, so its easy to know if im doing things right.
I've succesfully searched for float and int values, and changed them without too much trouble.
However, when the aplication load, it creates an empty array
Code: |
public var mi_array::array;
mi_array=new array();
|
and when you press a button, it calls a push method to add values
Code: |
this.mi_array.push(990);
|
Problem is that when i push the button, for example 10 times, i try to find 990 (4 bytes BTW), and I suppose I should find ten consecutive adresses with 990. However i find a lot of 990 but none of them are near each other.
How are arrays stores in memory in AS3? Why cant i find anything?
Thanks
|
|