Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
Vevmesteren webforumsuser@macromedia.com #1
absolute or relative _x/_y coordinates
Hello friends,
allrite here it goes.
I have three clips.
Lets call'em: clip0,clip1 and clip2
clip1 is INSIDE clip0
clip2 and clip0 are on the same level. How do allign clip2 to clip1?
So what I do need to find out I guess, is how I do retrieve the _x and _y coordinates of clip1 relative to the _root stage?
did this make sense? I sure hope so
thanks a lot, any help or pointers are wastly appreciated
V
Vevmesteren webforumsuser@macromedia.com Guest
-
Absolute vs. Relative Paths?
I load up CS3 version of DW. Using; Links relative to: "Document" NOT "Site root" Steps to reproduce the problem / fault: Open a page add a... -
Prob. with Absolute/Relative Positioning of Layers
I'm using the List-u-Like generator to create a menu (http://www.listulike.com/generator/) for this page that I created in Dreamweaver:... -
Contribute 3.1 absolute/relative path bug?
When placing images, C3 insists on saving the src attribute as relative to the document regardless of the File Placement settings specified under... -
absolute coordinates
hi all, I hope this is not a silly question, but I would a) like to display the position of an object in absolute coordinates and b) enter manually... -
MC absolute coordinates?
When you have nested MCs, the coordinates of a nested MC will be relative where it is in relation to the reg point of its parent MC. Is there a way... -
stwingy webforumsuser@macromedia.com #2
Re:absolute or relative _x/_y coordinates
on the timeline of the absolute coords you want type
pt = new Object();
pt.x = 0;
pt.y = 0;
this.localToGlobal(pt);
bigX = pt.x;
bigY = pt.y;
//bigX,bigY are absolute coordinates.
Ive only just learned this myself thanks to a question on here and the definitive guide.
Certified but not by Macromedia!
myurl
stwingy webforumsuser@macromedia.com Guest
-
Vevmesteren webforumsuser@macromedia.com #3
Re:absolute or relative _x/_y coordinates
neato...
Vevmesteren webforumsuser@macromedia.com Guest



Reply With Quote

