Professional :: No Dynamic Bold Font If Regular Static Font Present On Stage (CS5)?
Apr 16, 2011
I have a strange issue where a dynamic text field will not show a bold version of a font (Gerstner BQ) if the regular version is on the stage in a static text field.Remove the static text field and the dynamic text field displays the bold font correctlyI have created a test FLA to reproduce this and by turning the layer with the static text field on and off (Publish settings -> Flash -> include hidden layers [unchecked]), the issue is quite clearhis issue is so big for me that I have had to abandon a project in CS5 and start again in CS4 just to work around this.
I have this text "my text is <b>bold</b> and regular".
I want "<b>bold</b>" to be... well, let's say... bold !
I have a mask layer under which there is a text field.
The text field shows htmlText, and i must embed chars. If not embedded, it doesn't display because of the mask. So the solution of importing 2 user fonts ( one bold and one regular) does not work.
i'm using a font called "AGBookBQ-Regular" in a dynamic text box, which loads a text file. i understand that to include the bold and italic options, i have placed another text box just out of view off the stage with these two options selected.italic works fine but the bold makes very little difference... it only stretches the font slightly.i've searched for the answer to make a much bolder font and it seems you can use a specific bold font as the bold font.i've tried this, but nothing happens. i think i'm interpreting it correctly, but if someone could please confirm this works and perhaps explain it a little clearer (using my specific font names... "AGBookBQ-Regular" and "AGBookBQ-Medium" as the bold font).
When publishing this FLA, the mac finder gives this message "flash is trying to access files on your external HD. Allow?"When I allow it, all goes well. When I don't allow it or when the external HD is not present, flash cannot embed fonts.I do have the proper fonts on my system and in the library. I don't have these font problems with other FLA files.If I copy all the internal frames and library elements into a new clean FLA, the problem still exists...
I'm adapting an off the shelf mp3 player and would like to make some text bold - namely [URL] the text that shows the current artist/song at the top. This is dynamic text from an XML file. I've embedded the fonts [Verdana regular and bold - OpenType] in Flash CS5 but the bold won't display even though the special characters do display [Jónsi].
Try this experiment. Select Text, Static Text, Times New Roman [or any font], set size to 280. Remember how it looks. Now set to Dynamic Text. Suddenly the font size changes even when it still shows 280! How can I make the visual size stay the same?
Anyone ever notice that Flash renders the same font totally differently depending on whether its a static or a dynamic textfield? It's really frustrating when you're trying to make everything look consistent, and it looks like you are using two different weights of the same font.
I think the title says it all. I'm building website and I've come half way now just to notice that my clients cant see my font that supposed to be there. What I've learned so far is that in static text fields, flash should embed it itself since I can't reference to it + embedFonts property not working, how can I fix this problem? Anyone had anything similar?hat are common mistakes? I'm pretty new at all of this.
I am working on a as3 project in which the user select a font from Combo Box and that font SWF should be loaded Dynamically and then i need to change the font of the Dynamic text field.
I have swf font files downloaded from [URL]
My question is that how can i load the font swf dynamically from server and add them to the library and how can i use that swf to change the font of dynamic text field.
if there are embedded fonts in library the i can access them using this- --
var fontList:Array = Font.enumerateFonts(); for( var i:int=0; i<fontList.length; i++ ) { trace( "font: " + fontList[ i ].fontName ); }
But How to use dynamically loaded Font swf as a font type.
I'm trying to embed a font in my project by using url("font.ttf") rather than local("Font Name"), but it doesn't seem to pick it up. The font in question is called "Gotham Bold". When i view the details of the font, the font weight is regular, however when i use local("Gotham Bold") in the css i have to specify fontWeight: bold or else it wont pick it up. But when I use url("folderGotham-Bold.ttf"), and specify fontWeight: bold, it says that font weight is not found for that TTF. If i remove the fontweight, there's no errors, but the font is not applied to the text.
I need to present chemical formulas with subscripts and superscripts in a dynamic text box. To do this, I've downloaded and embedded the GG Subscript and GG Superscript fonts, created a dynamic text box with Arial as the font, and added ActionScript code to change the font when I need subscripts and superscripts. the following is a simplified version of my code.
[Code].....
I get a compiler error 1119 Access of possibly undefined property html through a reference with static flash.text:TextField. The text box is a dynamic text box, not static, so I'm puzzled.I don't get this error with the GG Subscript code above.
Where's 'CS4' as a prefix to the post title? Anyway. I'm using _sans font for my flash work, because i want the font to display as the default _sans font on the device/platform. Why in CS4 (not checked earlier versions, but im sure CS3 didnt do this) is the (font) 'Style' drop down greyed out?
When creating mobile apps I thought the best practise was to use _sans font, so that the device uses its' native device font when the app runs (for dynamic text, anyhow...)? So, I use _sans font for my app. But why in CS3 could I make _sans font bold, but in CS4 I can't? Am I being stupid here....is there something obvious I'm missing? The 'style' box is greyed out in CS4.
In CS3, I could make _sans font bold. For some reason, in CS4 I can't and I'm not sure why?I'd like to use _sans so that the device my app runs on will use its native sans-serif font.To reproduce:
Create text box
Change font to _sans
Try and make font bold
I'm creating a Flash Lite app, so just to ensure it wasn't to do with that (or the device I'm creating it for) I created a normal Flash AS3.0 document and the bahaviour is exactly the same.I've emailled Adobe but no response.
I've been working on this all day. All I need is the font to be able to be both bold and regular in one string. However, while the string is being written on screen once it hits the bold tag (I have the string writing into a htmlText textarea) everything becomes bold. I can't seem how to figure out how to get it both bold and regular. Ive tired embedding via AS and from the stage using dynamic text. Nothing has worked.
I have exactly the same font settings for Static Text and Dynamic Text but the Static Text looks much sharper. Anyone knows why?Font: Trebuchet MSSize: 30 ptAnti-Alias for readability
I've got a bunch of dynamic and input text boxes. I want the display font to be Arial-bold. I don't have a genuine Arial-bold font so what I really want is Arial with a bold attribute. I've tried all of the following but the result is always just plain Arial:
1. Put dummy text in box, specify Arial, click Bold attribute, click Embed and include numbers and punctuation - run time result: plain Arial
2. Import Arial to library, give it the name f-Arial Bold, click the bold attribute box, check linkage and export for AS3 in first frame, get warning about class name (not sure why), put dummy text in box, specify f-Arial Bold*, click Embed and include numbers and punctuation - run time result: plain Arial
So I have a MovieClip asset with a dynamic textfield sitting inside of it. I export my .fla as a .swc to use within Flash Builder 4, and create instances of the asset with code, populating the text dynamically from XML.
My issue is that even though I have htmlText enabled, bold and italics tags don't appear to be working. I have a feeling it is because when I created the asset in Flash CS4, the text field makes you specify the font, and the subset of that to use (Regular, Bold, Oblique, etc).
Is there any way to get the htmlText to render bold and italics tags properly without having to completely rethink the way I'm creating all these fields?
I am putting the finishing touches on an as3 project (developped in flex for code and flash cs4 to create the UI) and I am running into a mysterious font issue.
1) I am loading in a swf file with the font outlines (empty dynamic textfields with embedded characters on the stage. One text field for each regular / bold / italic / bold italic font styles).
2) I then load the swf and then in order to make sure that all font faces are properly available I list them in the output window with the following function:
First off let me say I did try creating an extra text field off of the main stage set to Bold, and it's Verdana so I'm not exactly "selecting" a second font file all together to be embedded. Instead I am just setting the textfield property Bold to ON.
SO FAR I am not sure what I am doing wrong, but it does not want to go Bold. Aside from using Flex, which I know nothing about.
I am using swf embed font[normal] in my flex application but if i apply bold or italic for the text,its looking normal only. let me know if you have any solution.
I have loaded text on flash from an external txt. file. But when it comes to adding html to the files such as "font face" or to simply bold the text it won't work, I have check to have the html clicked on Flash, but the text just wont change.
Why do the dynamic text font size appears smaller than what I specified in the flash dynamic text properties? I used a font size of 50 for the dynamic text and when I test movie, it appears to be only a font size of 12. Why is it so?
I have a dynamic text box with a paragraph of information. I would like to make certain key words a larger font size for emphasis. An example would look like this: The ever-changing landscape of the business world demands knowledgeable and skilled managers. We have been educating students about management best practices for more than a century to help them succeed in the corporate world. Whether you are looking for an online business degree to get your career started in sales, human resources, accounting, or some other area of the business world, we have the online business degree you need. Is it possible to change the font size for just some of the text inside a dynamic text box to be changed like this? I cannot get it to work properly. The reason I have it as dynamic is because it needs a scrollbar.
I am loading a small scrolling text box dynamically from a .txt doc in the same folder, but I can't find anything about changing the font properties. No matter what changes I make to the code, the font stays size 12, times new roman, black. I want to change all three of these properties, but most of the related forum posts I have found are about changing the font for a given sentence, manually input into the AS. I need flash to list all font in the text file as Arial, 13, and white in color.This is being set up so members of managment can update news without needing flash to do so, so they obviously can't type everything into the AS.
Here is the code I'm using: var myTextLoader:URLLoader = new URLLoader(); var myTextField_txt:TextField = new TextField(); myTextField_txt.wordWrap=true; myTextField_txt.width=200; var style:TextFormat = new TextFormat(); style.size = "12"; style.color = "0xFFFFFF"; style.font = "Arial";
I have created a new font in the library with the settings required, and named it Arial, but this was still unsuccessful. myTextLoader.addEventListener(Event.COMPLETE, onLoaded); function onLoaded(e:Event):void {myTextField_txt.text = e.target.data;addChild(myTextField_txt);} myTextLoader.load(new URLRequest("myText.txt"));