Re: [Flashcoders] Text field doesn't show hand cursor over links.

2009-05-14 Thread Karl DeSaulniers
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=

Re: [Flashcoders] Text field doesn't show hand cursor over links.

2009-05-14 Thread natalia Vikhtinskaya
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

Re: [Flashcoders] Text field doesn't show hand cursor over links.

2009-05-14 Thread Glen Pike
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

Re: [Flashcoders] Text field doesn't show hand cursor over links.

2009-05-14 Thread Glen Pike
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

Re: [Flashcoders] Text field doesn't show hand cursor over links.

2009-05-14 Thread natalia Vikhtinskaya
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

Re: [Flashcoders] Text field doesn't show hand cursor over links.

2009-05-14 Thread Karl DeSaulniers
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

Re: [Flashcoders] Text field doesn't show hand cursor over links.

2009-05-14 Thread Karl DeSaulniers
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

Re: [Flashcoders] Text field doesn't show hand cursor over links.

2009-05-14 Thread natalia Vikhtinskaya
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?

Re: [Flashcoders] Text field doesn't show hand cursor over links.

2009-05-14 Thread Glen Pike
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

Re: [Flashcoders] Text field doesn't show hand cursor over links.

2009-05-14 Thread 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 and name it Arial in your lib to have bold you would make a font instance using Arial Bold and name it

Re: [Flashcoders] Text field doesn't show hand cursor over links.

2009-05-13 Thread 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 “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

Re: [Flashcoders] Text field doesn't show hand cursor over links.

2009-05-13 Thread 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/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

Re: [Flashcoders] Text field doesn't show hand cursor over links.

2009-05-13 Thread natalia Vikhtinskaya
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

Re: [Flashcoders] Text field doesn't show hand cursor over links.

2009-05-13 Thread 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 cursor. Still can not make text bold. If I check properties in library font-

Re: [Flashcoders] Text field doesn't show hand cursor over links.

2009-05-13 Thread natalia Vikhtinskaya
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

Re: [Flashcoders] Text field doesn't show hand cursor over links.

2009-05-13 Thread Ruy Adorno
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

Re: [Flashcoders] Text field doesn't show hand cursor over links.

2009-05-13 Thread natalia Vikhtinskaya
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;