I have a nested
object (an HBox) in my app, and I'm trying to figure out the global x/y position
of it.
I've tried
this:
this.localToGlobal(pt);
But it always
returns 0/0. Even if I do this:
var pt:Point
= new
Point(parent.x,parent.y);
this.localToGlobal(pt);
this.localToGlobal(pt);
It's returning an
odd value, like 0/90.... the actual x/y position of the object is somewhere
around 350/275
Any
ideas?
Shan
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.10.7/411 - Release Date: 8/7/2006