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

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

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

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 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 : > Did you put Arial2 as a font in your css? > > Sent from losPhon

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 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

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 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

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 : > Hi, > >   Oops, forgot to post the link to the original Flashcoders post which has > some background info: > > > http:/

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 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 Flashcoders@chattyfig.figleaf

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 my_fmt

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

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

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

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

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 =

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 : 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

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 : > 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

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- bol

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 : > Thank you for help, but that does not help.  I added text area with > embeded Arial letters- normal and bold on stage. > > > 2009/5

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 : > 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

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 some text that t

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

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