: [Flashcoders] [flash textfield] lose formatting
I have already posted that here but, I think this (a single class that
is extending TextField) can help you as it is a kind of things Ive
already done (and I was bored to struggle with textfield, textformat,
style, etc).
I've extracted a
I have already posted that here but, I think this (a single class that
is extending TextField) can help you as it is a kind of things Ive
already done (and I was bored to struggle with textfield, textformat,
style, etc).
I've extracted a text tool from my framework: SomaText.
It allows you to
List
Subject: Re: [Flashcoders] [flash textfield] lose formatting
Hello Glen,
hey, that's it! I didn't know that it was required to do, with simple
textfields created in authortime. Flash could not lost the formatting unless
we specify, don't you think? =)
Thanks so much for you,
or you can set the defaultTextFormat property and be done with it.
On Fri, Jan 16, 2009 at 10:58 AM, Fabio Pinatti wrote:
> Hello Glen,
>
> hey, that's it! I didn't know that it was required to do, with simple
> textfields created in authortime. Flash could not lost the formatting
> unless
> we
OK, here are some options:
HTH
Cor
/*
Create in library: New Font
My embedded fonts have Linkage classes of "FFFInterface", "LasVegasD" and
"Wdings".
Both of these seemed to work for me.
Fonts should be on the develop PC
*/
//TextFormat example
var fmt1:TextFormat = new TextFormat();
fmt1.font
Hello Glen,
hey, that's it! I didn't know that it was required to do, with simple
textfields created in authortime. Flash could not lost the formatting unless
we specify, don't you think? =)
Thanks so much for you, my question is clear now!
Fabio
On Fri, Jan 16, 2009 at 1:47 PM, Glen Pike wrot
Hi,
You can do this each time you add text with AS:
//Get the text format before you change the text.
var tf:TextFormat = myTextField.getTextFormat();
myTextField.html = newText;
myTextField.setTextFormat(tf);
Glen
Fabio Pinatti wrote:
the fonts are embedded. The probl
the fonts are embedded. The problem actually isn't the font appears, because
it's. The problem is, seems after I changed the text of an existing
textfield, it formatting is gone.
Tks
F
On Fri, Jan 16, 2009 at 12:51 PM, Cor wrote:
> With dynamic fields you NEED to embed the fonts or set it throu
With dynamic fields you NEED to embed the fonts or set it through a class, a
CSS or TextFormat.
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Fabio
Pinatti
Sent: vrijdag 16 januari 2009 13:06
To: Flash Cod
9 matches
Mail list logo