Hi, I have an object A that containt an object B and C… ABC are extented from sprite I want to pass B as reference (like in c++) to C, the goal is to update C on frame event with information contain on B… I try to made this : - new C and add it as children to A - new B (with C as parameter) and add it as children to A When i activate drag an drop on C and read information (position x, y and other things) from B using stored parameter the information is not the current information but the information of C at the moment i pass it as paramater to B… So flash seems be made a copy of my object… Is there’s a way to have multiple ref on an object without putting it in global ? Thanks, Wizard
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Object Copy | 0 | 73 | January 25, 2008 | |
Does it recieve a reference or a copy? | 0 | 83 | February 20, 2009 | |
Push copy of object onto array
|
0 | 120 | May 6, 2004 | |
Push copy of object onto array
|
0 | 79 | May 6, 2004 | |
Change Pointer/Reference | 0 | 44 | September 30, 2008 |