Professional Web Applications Themes

The size in pixels of text - Macromedia Director Basics

Hi, I have a text member that it's text is changed on time to time, and I need to know the size in pixels of the current text at a time I'm not asking for the width and height of the member (member("text).width and member("text).height), but just the size of the part with text in it. Or... in other words, can I resize the text member to adjust it's size to the text it is holding? That way I could get it's size with member("text).width and member("text).height Thanks...

  1. #1

    Default The size in pixels of text

    Hi,

    I have a text member that it's text is changed on time to time, and I
    need to know the size in pixels of the current text at a time

    I'm not asking for the width and height of the member
    (member("text).width and member("text).height), but just the size of
    the part with text in it.

    Or... in other words, can I resize the text member to adjust it's size
    to the text it is holding?
    That way I could get it's size with member("text).width and
    member("text).height

    Thanks
    TomaHawK Guest

  2. #2

    Default Re: The size in pixels of text

    Thank you for the tip, that might help me to get the height of the
    text.

    Do you have any idea how to get the width?
    Any tip might be helpfull

    On Tue, 12 Aug 2003 12:09:32 -0400, "Alexander Ross"
    <alexrossbleen.net> wrote:
    >Take a look in the lingo dictionary for lineheight
    >
    >
    >TomaHawK wrote:
    >> Hi,
    >>
    >> I have a text member that it's text is changed on time to time, and I
    >> need to know the size in pixels of the current text at a time
    >>
    >> I'm not asking for the width and height of the member
    >> (member("text).width and member("text).height), but just the size of
    >> the part with text in it.
    >>
    >> Or... in other words, can I resize the text member to adjust it's size
    >> to the text it is holding?
    >> That way I could get it's size with member("text).width and
    >> member("text).height
    >>
    >> Thanks
    >
    TomaHawK Guest

Similar Threads

  1. The size (width and height) in pixels of text
    By TomaHawK in forum Macromedia Director Lingo
    Replies: 1
    Last Post: September 24th, 03:12 PM
  2. Doent Size = Picture Size (in pixels)
    By Jaime_Ramos@adobeforums.com in forum Adobe Illustrator Windows
    Replies: 12
    Last Post: February 28th, 06:37 AM
  3. Convert page size to pixels
    By Steve_J_Willis@adobeforums.com in forum Adobe Acrobat SDK
    Replies: 2
    Last Post: April 3rd, 06:14 PM
  4. web page size in pixels
    By John Smith in forum Macromedia Flash
    Replies: 3
    Last Post: December 9th, 03:29 AM
  5. CAN I CHANGE SIZE (PIXELS) OF A PROJECTOR TO REDUCE THE FILE SIZE?
    By JB in forum Macromedia Director Basics
    Replies: 0
    Last Post: August 3rd, 06:04 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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