I guess my question was badly worded lol basically want to know the X and Y co-ordinates of a container relative to the application
for example below (quick quesdo code) the x,y co-ordinates for "box" at the moment it'll be 0,0 coz its relative to its container and its layout is handle by the parent container (i think) so want to know how to get the actual x/y co-ordinates relative to the application as it should be more like 60,0 etc. <app> <hbox width="100%" paddingLeft="60"> <hbox id="box"> </hbox> </hbox> </app> cheers --- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]> wrote: > > > But the Flash Display Objects has a class that you can only be > readable for with and height percentages of monitor . > > > > Sorry, I'm not sure what you're referring to. > > > > - Gordon > > > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Igor Costa > Sent: Monday, October 09, 2006 1:16 PM > To: flexcoders@yahoogroups.com > Subject: Re: [flexcoders] Actual screen X and Y co-ordinates of a > container > > > > I guess he's trying to get the Stage not the monitor. > > But the Flash Display Objects has a class that you can only be readable > for with and height percentages of monitor . > > Regards. > > On 10/9/06, Gordon Smith <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > wrote: > > By "screen" do you mean the computer monitor, or the Flash "stage"? > > > > You can use the localToGlobal() method to convert to stage coordinates. > I don't think you can get monitor coordinates of DisplayObjects. > > > > - Gordon > > > > ________________________________ > > From: [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com > <http://ups.com> ] On Behalf Of pk_wasp > Sent: Monday, October 09, 2006 12:26 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Actual screen X and Y co-ordinates of a container > > > > Hi > > I'm trying to find out what actual x and y co-ordinates of a container > (that is inside another container) relative to the screen rather then > relative to the parent container. Is there an easy way to find this > out? can't seem to find anything in the docs etc > > cheers > > > > > -- > ---------------------------- > Igor Costa > www.igorcosta.com <http://www.igorcosta.com> > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/