yeah
I understand that they return point , a new point which contains modified x,y
Hence we do like :
SomeNewPoint :Point = globalToLocal(oldPoint);
In my problem, my combination of globalToLocal and
localToGlobal was getting wrong.
what i did is:
desiredPoint = Vboxid.globalToLocal
My first guess would be that oldPoint isn't correct. If you're getting the local value from the event.localX make sure that event.localX and event.target is what you expect it to be. If that doesn't work, you can also use
event.StageX and simply do:desiredpoint = vboxid.globalToLocal(new
Are you aware that globalToLocal() and
localToGlobal() don't modify the point you pass in? They return the modified point.
- Gordon
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of learner
Sent: Monday, October 16, 2006
1:56 AM
To:
3 matches
Mail list logo