As if the Great Director Above was directing this also, I was importing
external RTF documents with member("RTFmember").filename yesterday and ran
in to similar problems. Today I saw this thread on lingo-l.
With RTF:s, though, I can change both the width and the height afterwards to
my needs. The tables in your document must be the problem. I tried importing
HTML with and without tables, those without tables are OK but not those
with.

Another thing: director does not seem to like when I try to resize my
imported text member from the same handler that I have an MUI open dialog
in. It crashes every time. Separating the resizing commands to another
handler solved the issue.
It also refused to update my text member if I tried to edit its HTML content
via an editable field and an "update" button. Writing the same commands in
playback mode from the message window worked...AAARGH.
Again, separating the updating handler from my update-button by making the
playback head move a few frames and then putting the
member("RTFmember").html=member("editmember").text command in a frame
behaviour solved the issue.

You probably already tried this, but if you can resize by dragging the text
in Director but not with Lingo, maybe maybe you could sidestep the height
problem with some scorebased/separated solution like those I tried?

Den 01-03-06 09.08, skrev "g r i m m w e r k s" <[EMAIL PROTECTED]>:

> On 3/6/01 2:48 AM, "Mark R. Jonkman" <[EMAIL PROTECTED]> wrote:
> 
>> Try setting the rect of the member and not the sprite for text members.. me
>> thinks me remember something along that line but I'm too tired to test the
>> theory.
> 
> 
> Fixes the width but the height is still being unruly:
> 
> sprite(6).member.filename = gScrhtmlStub &
> gDepositoriesIndex[4].factual_table
> 
> 
> put sprite(6).rect
> -- rect(24, 311, 540, 876)
> put sprite(6).member.rect
> -- rect(0, 0, 500, 852)
> sprite(6).member.rect = rect(0,0, 688, 232)    < -----
> -- fixes the width but the height is still wrong
> 
> put sprite(6).member.rect
> -- rect(0, 0, 688, 828)              <--------------!
> put sprite(6).rect
> -- rect(24, 311, 728, 876)
> sprite(6).rect[4]=543
> put sprite(6).rect
> -- rect(24, 311, 728, 876)
> 
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]
> 
> 


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to