> Do it to a member, that is*not* simultaneously attached to a 
> sprite. 

I tried doing it to a sprite not currently visible (point(-2000,-2000))
and didn't notice major improvements.  I thought of doing it to just the
member, but that will require quite a few changes to the way I have
things set up so I was hesitant to.

> Do as much as possible to a string variable, *not* to 
> the member, and 
> put the completely treated string back into the member, in 
> one swoop. (Now I understand this is difficult in your case) 

Pretty much impossible, actually.  I am currently putting the
member.text into a string, storing the tag locations in a list, removing
the tags from the string, putting the string back into the member.text
and then doing my formatting.  It is faster than doing removal right
from the string, but it's the formatting that kills the performance.

> Did you consider modifying a string containing the html or 
> rtf of the member?
> 

HTML I did try this morning before posting.  This would work fine, only
I can't think of any way to get the font in the proper size.  The style
guidelines for this project specify fonts ranging from 10-18.  The puny
HTML support of members only allows me the standard HTML font range of
1-7.  Not all of these numbers match up with the font sizes I need.

RTF looked to be waay out of scope for this, but is probably the only
way to get quick formatting in a Director text member.

Ugh

Brian Romanko
Lead Developer - Neo/SCI Corporation
Member - Greater Rochester Macromedia User Group




[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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