Thank you, Glen and Karl!!
You really helped a lot.
THANK YOU SO MUCH!
2009/5/15 Karl DeSaulniers :
> 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
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
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
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 :
> Did you put Arial2 as a font in your css?
>
> Sent from losPhon
Did you put Arial2 as a font in your css?
Sent from losPhone
On May 14, 2009, at 7:56 AM, natalia Vikhtinskaya
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 my
example for less cod
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
tags in place of bold
Sent from losPhone
On May 14, 2009, at 10:37 AM, natalia Vikhtinskaya > wrote:
Thank you,
in http://www.connectedpixel.com/b
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 :
> Hi,
>
> Oops, forgot to post the link to the original Flashcoders post which has
> some background info:
>
>
> http:/
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
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
Flashcoders@chattyfig.figleaf
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 my_fmt
Now this works:
// start
var curText:String = "Different Color Headers"
+ "Mauris posuere iaculis lectus. Maecenas fringilla viverra libero."
+ "Aenean adipiscing massa non orci. Etiam quis lacus sed pede
porttitor dignissim."
+ "Do you like \"mailto:flashcod...@chattyfig.figleaf.com\"; t
How are you referencing your flash_css file?
Curious.
obj.styleSheet = flash_css;
Your code doesnt work for me when I tried it.
Karl DeSaulniers
Design Drumm
http://designdrumm.com
On May 13, 2009, at 10:57 AM, natalia Vikhtinskaya wrote:
I found.
Solved.
here is correct code with font in li
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 =
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 :
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
Not possible to have them with the same id.
2009/5/13 Ruy Adorno :
> 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 c
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- bol
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 :
> Thank you for help, but that does not help. I added text area with
> embeded Arial letters- normal and bold on stage.
>
>
> 2009/5
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 :
> 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 “Ar
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 some text that t
Hi to all
This is AS2. I have two different results with text area and embedded font..
If I apply this style.css to dynamic text area
p {
font-family: Arial; // I have font Arial in the library with id “Arial”.
font-size: 13px;
color: #66;
}
a:link {
font-size: 13px;
color: #ff;
}
a:hover
20 matches
Mail list logo