Hi, Ive tried looking in a whole bunch of threads for a solution to this probably common issue but to no avail.
I have a bunch of objects of same type on the stage which are generated through code.
Inside these objects which are generally at x=300 on the stage.
this.x+=2.3;
trace(stage1.localToGlobal(new Point(this.x,this.y)), ", ", this.x , " ", this.y);
stage1 is the stage object I pass into my class.
The trace output is as follows
(x=2.3, y=0) , 2.3 0
Now im expecting some values in there somewhere to indicate its actual location on the stage, ie, x=300.
This isnt happening.
Whats the correct syntax i should be using.
Bare in mind these object will be of any name on the stage and will be dynamically created so its not easy to just reference their mc names.