3 Replies Latest reply on Jun 18, 2006 11:43 PM by kanukukreja

    ruler at run time

    kanukukreja
      how we can show ruler at runtime and use that also.
        • 1. Re: ruler at run time
          Level 7
          "kanukukreja" <webforumsuser@macromedia.com> wrote in message news:e70t68$h3e$1@forums.macromedia.com...
          > how we can show ruler at runtime and use that also.

          You could screen capture the ruler and put in on your stage as a bitmap. What for though?
          tralfaz


          • 2. Re: ruler at run time
            Level 7
            In addition to what tralfaz said, to use the ruler to take measurements
            you'd just need to figure out the pixels per inch and go from there. For
            example, if you ruler was 800 pixels wide and displayed 12 inches - you'd
            have about 67 pixels per inch. If someone 'used' the ruler and it came out
            to say 342 pixels measured you'd have about 5.1 inches...

            HTH


            --
            Dave -
            Adobe Community Expert
            www.blurredistinction.com
            http://www.adobe.com/communities/experts/


            • 3. Re: ruler at run time
              kanukukreja Level 1
              actually i need a same ruler as we used in flash while developing applications.
              But that ruler should be dynamic i.e. its "0th" horizontal/vertical value must start with the x/y-axis of canvas.
              It should be movable(which i can do with using dragging properties of a movieclip) but setting 0 and showing backward ruler above "0th" value is something interesting.
              Will u people please help me out in solving this thing.