I had an interesting problem arise in a project involving rich text
formatting.  The problem appeared when doing a lot of formatting on the one
cast member using lingo (it's a cascading menu).  It seems that the member
'remembers' the previous formatting in some way and eventually gets bloated
and very slow to use, even after setting the text of the member = "", saving
& compacting etc.

I know that rich text formatting is notoriously slow, but my original
proof-of-concept was very promising and at first I thought it was just the
increasing complexity of the project & different computers that was slowing
it down, but it got to a point where I was asked to address the speed of the
redraw of this member.  When I went back to my proof-of-concept files, I
found that they were twice as fast on the same computer.  I stripped back my
project files but could not regain the speed until I copied out the actual
text member from the old file into the new.

So next I created a new text member from scratch and the speed more than
doubled again!!  So my conclusion was, as stated above, that the member was
getting slowly bloated from the continual reformatting and I could find no
way to reset it back to a nice clean, as-new state.

So my workaround is to have a new, untouched text member on stage and to
duplicate it on start up and use the dup in the project and destroy it at
the end.

So far so good.  I am reasonable happy that I have a solution.  While it
took several weeks of developmental use & reuse to become noticeable, and my
project seems to have pushed that aspect further than most, I am a little
worried about the implications of this when using & formatting text members
in general, even copying existing members to create new ones, using old
files as a starting point for new ones etc etc.

Has anyone had similar experiences, or know of a way to 'reset' a text
member to it's original state?


johnAq


[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