dynamically resize text field

Ask a Question related to Macromedia Director Lingo, Design and Development.

  1. #1

    Default dynamically resize text field

    Hi,

    I need to be able to adjust my text fields during runtime an then export the height and width of my field to a text file.

    example
    sprite(165).width = my variable
    sprite(165).height = my variable

    This function only seams to work on members that are bitmaps or vector type not text fields.


    Thanks,
    Ben



    blkli0n webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. resize live streams dynamically
      Hello! I currently work on a supervision- and video-conference software with live-video based on flash player 8/9 and FMS2. For this purpose i...
    2. dynamically name text field
      K here we go again I have a form, that gets a list of users and outputs there names, and salaries, with every user there is a text field to apply...
    3. resize text field on scale...
      This seems to be a tricky subject... Well maybe not trick or hard but I sure haven't seen a good tutorial on it. This is the situation: I have...
    4. Dynamically resize the stage?
      Is it possible to dynamically resize the stage area, if playing inside an HTML page? Thanks, CP
    5. resize browser & swf dynamically?
      I have embedded a flash swf in a table in an html page. I'd like to resize the page for larger browser windows and have the flash resize dynamically...
  3. #2

    Default Re: dynamically resize text field

    Hi Ben,

    The width and height of a field or text sprite, or member, are
    gettable, but not settable.

    To change the width or height of a text or field sprite you need to set
    the rect of the member. Set the framing property of the member to fixed
    for best results.

    --
    Rob
    _______
    Rob Dillon
    Team Macromedia
    [url]http://www.ddg-designs.com[/url]
    412-243-9119

    [url]http://www.macromedia.com/software/trial/[/url]
    Rob Dillon 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