absolute or relative _x/_y coordinates

Ask a Question related to Macromedia Flash Actionscript, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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:...
    3. 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...
    4. 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...
    5. 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...
  3. #2

    Default 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

  4. #3

    Default Re:absolute or relative _x/_y coordinates

    neato...




    Vevmesteren webforumsuser@macromedia.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139