Now this works:
// start
var curText:String = p class=\headline\Different Color Headers/p
+ pMauris posuere iaculis lectus. Maecenas fringilla viverra libero.
+ Aenean adipiscing massa non orci. Etiam quis lacus sed pede
porttitor dignissim.br
+ Do you like stronga href=
Thank you very much for your help
I thought that I solved problem but this is not true.
Yes I load css file as you show. I just did not show that in my
example for less code.
You coder works but I see some strange thing. If I change name in
library to any other name – Arial2 and try it with
Hi,
Oops, forgot to post the link to the original Flashcoders post which
has some background info:
http://www.mail-archive.com/flashcoders@chattyfig.figleaf.com/msg43781.html
Glen
___
Flashcoders mailing list
Hi,
Don't know if this helps:
http://glenpike.co.uk/misc/css_styling_shared_fonts.zip
Glen
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Thank you,
in http://www.connectedpixel.com/blog/fonts/embedding
#11 explains how to solve problem and I added bold font to the
library. Nothing changed.
2009/5/14 Glen Pike g...@engineeredarts.co.uk:
Hi,
Oops, forgot to post the link to the original Flashcoders post which has
some
In my previous example, all you do is change the CSS and you should be
able to get bold. Or here again as you can see in the text I used. The
strong/strong tags in place of bold
Sent from losPhone
On May 14, 2009, at 10:37 AM, natalia Vikhtinskaya natavi.m...@gmail.com
wrote:
Thank
Did you put Arial2 as a font in your css?
Sent from losPhone
On May 14, 2009, at 7:56 AM, natalia Vikhtinskaya
natavi.m...@gmail.com wrote:
Thank you very much for your help
I thought that I solved problem but this is not true.
Yes I load css file as you show. I just did not show that in
I am trying without css now because css works well. Here is the last
variant where I try as they recommend in the article. I need use
alpha for this html text http://www.natavi.co.uk/test/text_test.fla
2009/5/14 Karl DeSaulniers k...@designdrumm.com:
Did you put Arial2 as a font in your css?
Hi,
Did you look at the example in the zip file that I sent the link for
- it has CSS, linked fonts bold and link styles too:
There are 2 examples I have uploaded -
http://glenpike.co.uk/misc/css_styling.zip
Simple demonstration of loading a CSS file, some HTML text and using
You will need a font instance for each style you want to use in your
lib.
For instance to have the different Arial fonts embedded:
to have normal you would make a font instance using Arial and name it
Arial in your lib
to have bold you would make a font instance using Arial Bold and name
it
Hi Natalia,
On May 13, 2009, at 4:26 AM, natalia Vikhtinskaya wrote:
font-family: Arial; // I have font Arial in the library with id
“Arial”.
Try placing a instance of your embeded font off stage where your
loading your textBox.
Another problem if I have bold tags bsome text/b
Thank you for help, but that does not help. I added text area with
embeded Arial letters- normal and bold on stage.
2009/5/13 Karl DeSaulniers k...@designdrumm.com:
Hi Natalia,
On May 13, 2009, at 4:26 AM, natalia Vikhtinskaya wrote:
font-family: Arial; // I have font Arial in the
I solved problem with hand cursor. Still can not make text bold. If I
check properties in library font- bold all text becomes bold.
2009/5/13 natalia Vikhtinskaya natavi.m...@gmail.com:
Thank you for help, but that does not help. I added text area with
embeded Arial letters- normal and bold on
You have to embed 2 times the same font in your library, I think you can
use just the same id, but you should import one as bold and another as a
simple font.
natalia Vikhtinskaya wrote:
I solved problem with hand cursor. Still can not make text bold. If I
check properties in library font-
Not possible to have them with the same id.
2009/5/13 Ruy Adorno r...@lesite.ca:
You have to embed 2 times the same font in your library, I think you can use
just the same id, but you should import one as bold and another as a simple
font.
natalia Vikhtinskaya wrote:
I solved problem with
And what about different ids and the same linkage?
natalia Vikhtinskaya wrote:
Not possible to have them with the same id.
2009/5/13 Ruy Adorno r...@lesite.ca:
You have to embed 2 times the same font in your library, I think you can use
just the same id, but you should import one as bold
I found.
Solved.
here is correct code with font in library id=Arial
var my_fmt:TextFormat = new TextFormat();
my_fmt.font = Arial;
this.createTextField(textContent, 1, 0, 0, textAreaW, textAreaW);
var obj=this.textContent;
obj.multiline = true;
obj.wordWrap = true;
17 matches
Mail list logo