Professional Web Applications Themes

why is it that you cant change the height of a text sprite dynamicaly? - Macromedia Director Lingo

why is it that you cant change the height of a text sprite dynamically? I have a project where a text spite is on a MIAW and the user can resize that window. Everything else can be updated but the text sprite stays the same. I have a custom scrollbar on that text sprite so I cannot change the text member. Is there a certain reason why only graphic sprites can be resized in this way?? I attempted to set the sprite itself dynamically, using puppetsprite, true etc but even when I update the rect information when I delete out ...

  1. #1

    Default why is it that you cant change the height of a text sprite dynamicaly?

    why is it that you cant change the height of a text sprite dynamically?

    I have a project where a text spite is on a MIAW and the user can resize that window. Everything else can be updated but the text sprite stays the same.

    I have a custom scrollbar on that text sprite so I cannot change the text member. Is there a certain reason why only graphic sprites can be resized in this way??

    I attempted to set the sprite itself dynamically, using puppetsprite, true etc but even when I update the rect information when I delete out the old text sprite and insert the new one, it retains the old rect information.

    I wish Macromedia would make it possible for director to resize text sprites dynamically.

    any thoughts on a way round this would be greatly appreciated.



    kiaoraFiona Guest

  2. #2

    Default Re: why is it that you cant change the height of a text sprite dynamicaly?

    You can do that. You need to change the rect of the member of the text
    or field sprite, not the sprite itself.

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

    http://www.macromedia.com/software/trial/
    Rob Guest

  3. #3

    Default Re: why is it that you cant change the height of a text sprite dynamicaly?

    Exactly...

    sprite(5).rect = rect(100,100,300,350) -- original text
    sprite(5).rect = rect(100,100,300,600) -- making text sprite higher by 300
    pixels (From top to bottom)

    Arturo


    "kiaoraFiona" <com> escribió en el mensaje
    news:bs78ce$ahe$macromedia.com... 
    that window. Everything else can be updated but the text sprite stays the
    same. 
    member. Is there a certain reason why only graphic sprites can be resized in
    this way?? 
    etc but even when I update the rect information when I delete out the old
    text sprite and insert the new one, it retains the old rect information. 
    sprites dynamically. 


    Arturo Guest

Similar Threads

  1. Get Parent container to change child height on resizeEvent
    By TessandraFae in forum Macromedia Flex General Discussion
    Replies: 2
    Last Post: May 6th, 12:52 PM
  2. Change layer height
    By TheScarecrow in forum Coldfusion - Advanced Techniques
    Replies: 0
    Last Post: May 16th, 06:25 PM
  3. how do I change a sprite?
    By john smith in forum Macromedia Director Basics
    Replies: 1
    Last Post: August 11th, 06:52 PM
  4. why cant we change a sprite text's font size without affect others/
    By hanct2002 webforumsuser@macromedia.com in forum Macromedia Director Basics
    Replies: 1
    Last Post: August 1st, 08:02 AM
  5. Search text in sprite and play the sprite
    By Godwin in forum Macromedia Director Lingo
    Replies: 2
    Last Post: July 23rd, 01:06 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