Check out the .rtf property of a text member.

So if you set a text member to Arial, Bold 14 you get this stored in the
.rtf property. If you store that in a global or property in a Behavior
and use it to reset the text member you will maintain your styling.

{\rtf1\ansi\deff0 {\fonttbl{\f0\fswiss
Arial;}}{\colortbl\red0\green0\blue0;\red0\green0\blue224;\red224\green0
\blue0;\red224\green0
\blue224;}{\stylesheet{\s0\fs24 Normal Text;}}\margl1800 \margr1800
\margt1440 \margb1440 \pard \f0\fs24{\b\fs28\par
}}


Hope that helps

Kevin Boyd
Multimedia Creations Ltd.
"Producing Multimedia since 1990"
www.mmcr.co.uk


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of [EMAIL PROTECTED]
Sent: 30 January 2003 16:44
To: The LIngo-L
Subject: <lingo-l> setting text to EMPTY


>Date: Tue, 28 Jan 2003 18:07:31 -0800
>From: Phil Gross <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: <lingo-l> setting text to EMPTY
>Reply-To: [EMAIL PROTECTED]
>
>I've been trying to remember about the details of losing formatting 
>applied to text or field cast members when you clear the text. I 
>remember I always set the text to SPACE instead of EMPTY to avoid 
>losing the formatting, but beyond that I can't remember any details. 
>Can someone who is current on this clue me in? Does it even still 
>apply?
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Set the font-forms in Lingo code somewhere in moviescript
'StartMovie'...to be 
asure. or in some pre-script or in handle 'on beginsprite' before the
very 
score-script..where your looping scripts are..
And correct the fonts from arroundings of the files.. so you get them
right. (Have used 'delete' also for fields..) etc. 



-------------------------------------------------
FREE E-MAIL IN 1 MINUTE!
 - [EMAIL PROTECTED] - http://www.pc.nu
[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!]

[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