IDE :: Bold Text In Dynamic Text Box Broken In CS4?

Jan 6, 2010

I'm trying to update an old CS3 project, which had a dynamic text field with HTML formatted text using the <b> tag to create bold text in places. In the CS4 version the bold text simply doesn't show up. It does in the CS3 version. I have embedded the font in both regular and bold varieties, both by using the offstage empty text field method, and the font in library method. I simply can't get it to work. I've seen other people having this problem with CS4 on other forums, but no solutions or workarounds as yet.

View 3 Replies


Similar Posts:


ActionScript 3.0 :: Display Bold Text In A Dynamic Text Field Fed By An Xml File?

Nov 2, 2011

I have a dynamic textfield being populated with an xml files' content. I then have a css stylesheet loaded into format the text. This all works great, but what doesn't work is the ability to bold some of the words in that text. I have both the regular and bold versions of the font embedded into the swf, I can test out just a bold block of text and it works fine. The css is also working as it will change the size of the text that I tell it to. Everything is working, but for some reason I am not able to get the bolder version of the font to display in the same text box as the regular one. I have also tried to change fonts but had the same outcome.

View 2 Replies

Bold Font In Dynamic Text

Mar 17, 2009

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

View 2 Replies

AS2 ::Making A Dynamic Text Box Bold?

Aug 24, 2010

lets say theres a dynamic textbox with the name 'txt1'

i typed the code:
txt1.bold = true;

but it doesnt work, the text is still not bold,

View 1 Replies

Professional :: Bold In Dynamic Text

Nov 1, 2010

I have a dynamic text on my stage called text_txt I want to write the html code <b><u>test</b></u> so here is my code

[Code]...

View 15 Replies

ActionScript 3.0 :: Text Becoming Bold When Set To Dynamic?

Jun 26, 2009

I have a text field in Flash (CS4, using AS3), the font is set to Helvetica Neue, and it looks fine as a static text field, but looks bold when it is set to dynamic. What causes this? Is there anyway around this problem (other than setting the field to static)? Is there a way to control tracking with TextFormat in AS3? You can control leading with the object, but I can't seem to find a way to put more space between letters.

View 2 Replies

ActionScript 3.0 :: Bold A Dynamic Text Box Is Not Working?

Apr 26, 2009

i neeed to create a text box with bold letter. my coding is as follows.
 
but it always shows bold, even i gave tf1.bold = false.

[Code]....

Note: where options[0][0] is an array has all the properties bold = true/false, color = 0x----.

View 1 Replies

ActionScript 3.0 :: Dynamic Text - First Letter Bold?

Sep 9, 2009

I have a dynamic text field with a very simple external text loader.this text field just contains t list of people...

Code:
function textLoadComplete(event:Event):void
{
clientList.text = textLoader.data;

[code]....

But now a want the first letter of every line in bold or 2 point sizes bigger.I know I can only embed one text style - and bold would be an additional style, right?But it's only a simple list of words - no links - no other extras.

View 2 Replies

ActionScript 2.0 :: Bold And Color In Dynamic Text?

Dec 28, 2009

I have a tooltip pop up when you rollover a movieclip, and the content in the tooltip is dynamic text. Right now I'm limited to only one color, and one font. Is there a way to put in to make part of the text bold and in color? I've tried just putting in the <b> tag, but that doesn't work.

tooltip._visible = false;
var tipInt;
b1.onRollOver = function() {

[Code].....

View 4 Replies

ActionScript 3.0 :: How To Make Dynamic Text Bold

Sep 20, 2010

I basically can't figure out how to make dynamic text Bold.I have a String that holds text which is passed to it from an XML file's attributes. (It is my understanding that you can't use CDATA <b> in an XML file's attributes. If I'm wrong, please show me how) I have a TextField which I want to display this string in BOLD text. I tried the following and it doesn't work.[code]

View 2 Replies

ActionScript 3.0 :: Random Bold Or Alpha On Dynamic Text - AS3

Apr 30, 2010

I have a grid of animated dynamic text boxes that are being pushed in from an array. This works great. I was wondering if it possible to have those randomly bolded? If that is not possible, than could their alpha's be random but not any lower than 50%. I know AS3 does 0-1 but how would you force it to not be lower than a certain number?

PHP Code:

import fl.transitions.Tween;import fl.transitions.easing.*;import fl.transitions.TweenEvent;var myArray:Array=["Person1","Per2","theLongerPerson3","Person4","p5","p6","People1","Peep2","theLong

[Code]......

View 1 Replies

Flash :: Dynamic Text Lost Its Bold Styling?

Jun 16, 2011

In the Flash IDE, I have made a dynamic text field bold. When the Flash is compiled and run, the bold styling disappears. How do I retain the bold styling?

Top: IDE

Bottom: SWF

View 1 Replies

ActionScript 2.0 :: Bold Dynamic Text W/ Device Fonts?

Nov 3, 2009

I have an xml-based mp3 player which loads the track titles into dynamic text fields from an external .xml file and I can't get the text to bold. I have "use device fonts" checked. If I select the text field in Flash and change the color or size those attributes will change in the published version, but... when I click the B button, it won't render the text bold in the published version.Do I have to add additional font formatting in the actual ActionScript? Here's the AS for the player. I only want to bold the track title which (I think) is about half-way down -- track_title.text = track_list[current];[code]

View 5 Replies

ActionScript 1/2 :: Bold And Italic Fonts In Dynamic Text Fields?

May 24, 2006

I have a dynamic text field with the text "IMAGES". The font is Arial, it has BOLD and ITALIC checked, and has basic Latin fonts embedded. Now, I use Actionscript to change the text:

textField.text = "IMAGES";

Suddenly the text disappears! Now, it seems to me that since BOLD and ITALIC are checked on the text field, changing the .text value should simply change the text itself, which should then be rendered in bold and italic, and since I have bold+italic Latin glyphs embedded, it should display properly. But what's clearly happening is that when I set the text using Actionscript, it is attempting to display the NORMAL font instead, and since it's not embedded, it won't display. I know this because if I create another proxy text field off the screen and embed the NORMAL Arial glyphs, the original text field's text will display just fine - as normal-weight text.

But why is this? Do I have to use a TextFormat object to set the text to Bold and Italic EVERY time I want to dynamicaly change the text? This seems silly. I simply want my text field to be bold and italic every time the text changes, and NO normal text!

View 1 Replies

ActionScript 3.0 :: Dynamic Text Disappears When Clicking Bold Button?

Jun 28, 2009

I have dynamic text inside a movieclip, that I can make it rotate.

the dynamic text properties are : anti-alias for anmations and I emdedded all characters.

When I click on the bold button the the text disappears.

bold_btn.addEventListener(MouseEvent.Click, on_bold);
function on_bold(e:MouseEvent):void
{

[Code].....

View 3 Replies

IDE :: Dynamic Bold Text Seems To Render While Omitting Character Spaces

Oct 19, 2009

Just to give you a little background, I am using CS4 and AS3, publishing to FP9. I am embedding fonts dynamically at runtime and there seems to be an issue with my dynamic 'html' text field when I have <b> tags within the CDATA.

In some cases, Flash seems to be rendering the bold text too close to the preceding character. Sometimes, even overlapping the preceding character. For the most part, this appears to be happening when the bold text appears at the end of the line before the text is wrapped.

I will note that, any text in the xml file wrapped in <b></b> tags is actually appearing bold, so I don't think it has anything to do with font embedding. In case it does, here is how I am embedding the font groups:

// Semi Bold
[Embed(source="/fonts/Anvers/AnversSemiBold.otf", fontName="AnversSemiBold", fontWeight="normal", fontStyle="regular", advancedAntiAliasing="true", mimeType="application/x-font")]
public static const ANVERS_SEMI_BOLD:Class;

View 1 Replies

ActionScript 2.0 :: Text Format Input Text Bold Without Selecting Text?

Feb 4, 2009

Trying to format input text fields using format buttons in Actionscript has been challenging. I've been able to put some pieces together, however I am still missing some things. Here's my code:


Code:
function selectText() {
startSelect = Selection.getBeginIndex();[code].........

I need the ability to click the Bold button and it bolds or unbolds at the cursor so if I hit the bold button what I type from that point on will be bold until I hit the button again and then it goes back to regular. I am able to change it to bold or unbold by selecting the text and clicking the button but I also need to do it without selecting.

View 3 Replies

Html :: Bold And Regular Font In Dynamic Text Under A Mask In Flash ?

Feb 20, 2010

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.

View 1 Replies

ActionScript 3.0 :: HtmlText - Text Shows Up Bold Instead Of Just The Few Lines Assigned The Bold Tag To

May 4, 2011

I have a dynamic text box for 3 lines of text. I styled part of the text to be bold and part of it to be regular. When i click on the button to display the text it looks right the first time but if i click on it a second time then all of the text shows up bold instead of just the few lines i assigned the bold tag to.

View 18 Replies

Bold The Text When Change The Text By Setting The .text

Mar 3, 2010

I create a dynamic text object on my stage. I set the family to Arial and style to Bold. When I change the text by setting the .text to something else, the bold goes away and it just becomes Regular. How can I make it stay Bold?

View 1 Replies

ActionScript 3.0 :: Flash Text Fields / HTML Text / Bold?

Jul 5, 2010

I have a linked movieclip that contains two textfields.One of the textfields needs to have regular and bold text, so I thought I would use htmlText however it's only showing the regular font that I embedded?I made the textfield in Flash and called it "details".I also tried to make another textField in the symbol called, "invisi" and I set it not visible:invisi.visible = false;I embedded the BOLD version of the font in the invisi textfield, hoping this would make the "details" text field show the bold font...but no luck.

View 2 Replies

Professional :: Flash Shapes Broken Text?

Jan 7, 2010

I have a flash website template, Fla File as well as all the source files etc, I have some questions if anyone would be kind enough to help. I am new to Fla files so not sure what to do.
 
There is some text I managed to edit ok, but others I could not, it appears as if they started as text and have been broken apart and made into a shape? when i click you can only highlight each letter, but not change them. There are two of these, one flies in from left, the other from right.

View 5 Replies

Professional :: *EMERGENCY* Convert Broken Text Into Single Hyperlink?

Nov 17, 2011

I have been handed a clients project that goes live tomorrow from the boss who just fired the guy who was working on it. I AM NOT A FLASH EXPERT! If you can walk me through step by step how to do this,I have a Flash (AS3) intro homepage, the index page is already written and setup. A Mask and fill approach was used to create the animated effect in which the text gradually appears. In order to do the fill, the text 'Home' 'About' 'Works' 'Contacts' are all broken apart text (i.e. (H)(O)(M)(E)) Here's what I need to do and would not even know where to start. How do I convert each of the words which are made up of broken text, into navagation buttons as hyperlinks to the other documents in the page (i.e. convert (H)(O)(M)(E) into HOME which you can click on and be taken to index.htm)

View 7 Replies

ActionScript 1/2 :: Can't Bold Text Why Not?

Aug 14, 2011

I've got a dynamic text field that I want to sometimes be bold, sometimes not. It's called "myTextField".I'm sending it a variable called "myText" and trying to bold it as follows:myTextField.text = "<B>" + myText + "</B>"

- The text field has the font embedded.

- I have some regular AND bold text in the text field in authoring

- The text field is set to receive HTML text in properties.

But it keeps putting "<B>" right in the text field before my variable and "</B>" after. What am I missing / not getting here?I know I've done this before, but can't find where.

View 6 Replies

Simple Text Enlarger - Increases The Text Size Of A Dynamic Text Field

Apr 24, 2010

Problem: I am trying to get a very simple text resize going, for my main content area in a flash website. My aim is to get a button, that on click, increases the text size of a dynamic text field.

[Code]....

This is what I tried, I am very new to Action Script, so excuse the futility of my code.

View 1 Replies

ActionScript 3.0 :: Count Number Of Lines In A Text Field NumLines Broken?

Aug 13, 2009

I can't seem to figure out the .numLines property. I've tried calling it on a TextField that was created dynamically. The TextField has multiline set to true and wordWrap also set to true. Any clue why it would consistantly report the number 1? It's being called in a trace statement after the htmlText is set to a string from a xml file.

View 3 Replies

ActionScript 3.0 :: Paragraphs Spacing - Line Space Flash Creates When A Dynamic Text Is Loaded In A Dynamic Text Field

Jun 8, 2009

i have a problem with the line space flash creates when a dynamic text is loaded in a dynamic text field on the stage i put a dynamic textFild with istance name "profile_text". then im loadin in it a text. my text is written in the Notepad like this

[Code]...

i already set a Textformat to my dynamic text with i tryied to play with the "Leading".. but i think it something dealing with paragraph. how i can decrease spacing between paragraphs??

View 4 Replies

ActionScript 3.0 :: Object Oriented Programming - Add Text From String To Dynamic Text Field When Click Dynamic Buttons

Oct 14, 2011

All I want to do is add text from my string to dynamic text field when I click dynamic buttons. What should the as code be for this? Here is my code. Right now I just have the click returning another shape.

[Code]....

View 2 Replies

ActionScript 3.0 :: Bold Text When Clicked?

Sep 30, 2009

I have a textfield that has a mouse click event, and when the user clicks on the text field, I would like to make the text bold, but the following code doesn't work:

ActionScript Code:
private function onTxtMouseClick(e:MouseEvent){
var el = sng.getChildByName(e.target.name);  // The text field[code].........

View 2 Replies

ActionScript 3.0 :: Bold In Input Text Box?

Jan 6, 2011

I need to type text as Bold in the input text field. But when I given a single letter as a bold. Then the output is find as I expected.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved