Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




AS2 - Embed Font For Dynamic Text



Last edited by uxk8396 : 2008-08-01 at 08:45.
























HI,
My swf displays the word "national" when it loads. When I rollOver onto the green circle, the word "Design" should be displayed. However, at the same time I need a specific font to be used (El Nino). Can you please show me an effective way to do that. I am not sure how to embed that particular font.

Thank you



Ultrashock Forums > Flash > ActionScript
Posted on: 2008-07-04


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Embed Font In Dynamic Text
im using pixelfonts, and my movie dont want to embed the font (wich i uploaded)
in my machine it looks great but not when i remove the fonts out of my windows/fonts map.

in Flash on the text optons palet, theres this button embed fonts or you can fill in the name of the font
wich should i use?
and when i ype it in myself, should i type the name the font has on the server in my case "KROE0556.TTF".???


thx guys

If I Embed My Font In A Dynamic Text, It Dissapears...
Hello
Why is it that if i embed my special font in flash, the text becomes invisible???
Is it not possible to use dynamic text with special fonts?

Dynamic Text - Embed Font Question
If I am attaching a movieclip to the stage that has in it a movieClip with a textfield like this:

attachMovie('imageNumber', 'imageNumber'+[i], this.getNextHighestDepth());

and I set the text like this:

theButton.imageNumberText.text = 'foo'

is there a way to embed a font in that textfield?

Thanks, Dvl

Alpha Effects On Dynamic Text W/O Font Embed
I'm currently building flash elements for a site that has to function in two languages. Unfortunatly for me, one of those languages is Japanese. In a flash element I'm building, I have dynamic text fields that I want to control the alpha of. Embedding the Unicode font for both english and japanese converts my little 2.3k file into a 1.9mb file. Utterly unusable at that size. Do you know of any alternative ways to control the alpha of a dynamic text field? Can Macromedia's new Flash MX 2004 alpha dynamic text w/o embedding the font?

My Dynamic Text Field Is Blank When I Embed Font
Why's my dynamic text field blank when I embed the font chosen?

The text field loads text from an external .txt file with html codes.

There's no problem when I mark "No charaters" but when "All" or "Only" is marked the text field is blank?!?!?

I've tried to remove the html codes from the external file, but it makes no difference!

Can I Use One Embeded Dynamic Character To Embed A Font For Static Text?
Hi,

I have built a site that uses some rotating text.

I have figured out that in order to ensure that the text is visible i have to make it "Dynamic" but I have also worked out that it i make just 1 character "Dynamic" & embed that font, the rest becomes visible, even as "static" text - on my system at least.

Is it just that this will work on my PC which has the font on it or can this be used to ensure that the text is seen on all systems?

Dynamic Embed Bitmap Font?
I have some bitmap text I wish to use in flash. This text is also to be dynamic. However there lies the problem. If you try to embed that bitmap font it looks like crap. I’m using the scroll property to scroll my text. and would like to keep my bitmap nice and sharp.

I’m trying to use the linkage feature as described here http://www.macromedia.com/support/fl...haredfonts.htm but it just ends up hanging my test file.

Yes all my x y values are zeroed out. This seems like such a stupid thing to be hung up on. Please help.

Thanks

Font Embed And Dynamic Textfields
Hi..
I hate asking here for help again since my last question was such a "stupid" question, but I've seen theres alot of experienced people here nice enough to help even ppl who post "stupid" questions like my latest one..

I'm loading XML text into textfileds created inside the script and named dinamically, with the help of arrays to keep track of what is what

heres the code that im using for it with the assistance of Greensock's xml manager class


I have the font on my library named as " *Steamer " refering to font: " Steamer " , with linkage to Class: Steamer , base class: flash.text.Font , export for AS & export in first frame checked..



ActionScript Code:
...

var notFormat:TextFormat = new TextFormat();
var myFont:Steamer = new Steamer();
notFormat.font=myFont.fontName;
notFormat.color=0xFFFFFF;

function populateNoticias($parsedObject:Object):void {

    var auxPosX = 192;
    var auxPosY = 285;

        //// create the 3 first textfields that i need

    for (var i:int = 0; i < $parsedObject.Noticia.length; i++) {
        if ( $parsedObject.Noticia.length < 4 ) {


            var caixaTextoN:TextField = new TextField();
            caixaTextoN.multiline=true;
            caixaTextoN.wordWrap=true;
            caixaTextoN.type="dynamic";

            caixaTextoN.defaultTextFormat = notFormat;
            caixaTextoN.name="caixaTexto"+i;

                    
                        //caixaTextoN.embedFonts=true;
     
            caixaTextoN.antiAliasType="ADVANCED";

            caixasTextoN[i]=caixaTextoN;
            caixasTextoN[i].alpha=0;
            caixasTextoN[i].x=auxPosX;
            caixasTextoN[i].y=auxPosY;
            caixasTextoN[i].width=188;
            caixasTextoN[i].height=220;
           
            auxPosX = auxPosX + 240;
           
            spriteN.addChild(caixasTextoN[i]);

        }
        //else{}

    }

// now feed the textfields with text from the XML and make the scrollbars for them
    for (var j:int = 0; j < $parsedObject.Noticia.length; j++) {

        caixasTextoN[j].htmlText = "<font size='15' color='#ffffff'>"
 +$parsedObject.Noticia[j].titulo + "</font>" + "
" + "<font size='13' face='Arial' color='#bbbbbb'>"
+$parsedObject.Noticia[j].data + "</font>"+ "

" + "<font face='Steamer' size='12' color='#ffffff'>"
+ $parsedObject.Noticia[j].texto + "</font>";

        imgNoticias[j].load(new URLRequest($parsedObject.Noticia[j].img));
        imgNoticias[j].filters = [shadow];

          // this won't behave as it should too
          caixasTextoN[j].alpha=0.5;

        if (caixasTextoN[j].numLines > caixasTextoN[j].bottomScrollV) {
           
                        var myScrollBar:UIScrollBar = new UIScrollBar();
            myScrollBar.move(caixasTextoN[j].x + caixasTextoN[j].width, caixasTextoN[j].y);
            myScrollBar.height = caixasTextoN[j].height;
            myScrollBar.scrollTarget = caixasTextoN[j];
            myScrollBar.name="myScrollBar"+j;

            spriteN.addChild(myScrollBar);

            myScrollBar.blendMode= BlendMode.NORMAL;
            myScrollBar.alpha=0.3;

        }
    }
}

My problem is that when i leave embedFonts as default my text is all jagged and weird and i can't control the alpha.. when I uncommnet embedFonts the text turns invisible though the scrollbars have the size they should and my cursor when hovering the "invisible" text changes to the text select cursor...


I've been searching for a solution since yesterday and I've been unable to fix it :x

Please can somebody help me out?

Add Font Vs. Static Vs. Dynamic (embed)
Hi everyone! I have been reading through several posts about fonts and I am a bit confused -- wondering if someone could help clear some things up! I read one post that says using static fonts automatically embed the font so that the viewer sees it the way it was designed, regardless if they have the font on their computer. I have also read that you are supposed to add a font to the library, and that will allow the viewer to see the font as the designer intended. My question is, do both options work? Does the second option work only if you use the linkage? Should you make the text dynamic and then embed the characters?

Any help would be greatly appreciated!! Thanks!

Embed Font Outline In Dynamic Textfield
Hi folks,
I have a problem with my flash movie. I have a dynamic textfield in my scene that displays a text for each button in the navigation bar, and I have choosen the button "Embed font outlines" in my textfield options, but it isn´t working. It should display a font called "Christina Bold - size 13", but it just shows a device serif font.

Can anyone help me urgently what I have done wrong and how I´, going to embed a goodlooking font with my movie, without it ends up with showing a device font on a PC.

Hope you can help me :-)

Best regards
Thomas

Embed Font + Dynamic HTML Textfield
Hi my problem is I have a flash file which reads in an XML file (unicode encoded) and creates a dynamic HTML textbox and puts the text from the XML file in it.


Code:
_level0.content.createTextField("text_box", 2, 50, 20.6, 700, 395.4);
_level0.content.text_box.embedFonts = false;
_level0.content.text_box.html = true;
_level0.content.text_box.wordWrap = true;
_level0.content.text_box.selectable = false;
_level0.content.text_box.multiline = true;
_level0.content.text_box.autoSize = true;
// when embedfonts == true bullet point doesnt work
_level0.content.text_box.embedFonts = true;
_level0.content.text_box.htmlText = the_text_read_in_from_file
N.B/ before the variable the_text_read_in_from_file I append "FONT FACE="Verdana cum Macron"> and </FONT> at end
Which works fine however when there is a <li> tag which should display a bullet point it doesnt.

However noticed if I comment embedFonts=true the bullet appears - but then obviously the text is not the correct antialiased font.

I have html textboxes positioned of screen and in the included characters have pasted bullet point in the include these characters boxes and even put the font in the library.


Any suggestions welcomed! ( by the way the embedfonts false and then true was to get rid of a word wrapping bug).

Dynamic Embed Font On Input Field
I posted this in another thread but it's burried and this problem is slightly different so I think it deserves its own

I've read a bunch of threads on embedFonts but most of them have text fields that are placed on stage. I'm creating a bunch of input text fields via a loop and some of the text fields have different fonts, sizes etc... I'm attaching the fonts via shared library.

This code here is within a for loop. It works when I remove the embedFonts=true but when I leave it in I can't see any fonts.


Code:
// text format
var my_fmt:TextFormat = new TextFormat();
my_fmt.font = FieldArray[eObj.target.selectedIndex][i].fontFace;
my_fmt.size = FieldArray[eObj.target.selectedIndex][i].fontSize;
my_fmt.align = FieldArray[eObj.target.selectedIndex][i].align;
my_fmt.color = FieldArray[eObj.target.selectedIndex][i].color;

// text field
fields_mc.createTextField(FieldArray[eObj.target.selectedIndex][i].name,fields_mc.getNextHighestDepth(),xcoord,ycoord,100,25);

//
fields_mc[FieldArray[eObj.target.selectedIndex][i].name].embedFonts = true;
fields_mc[FieldArray[eObj.target.selectedIndex][i].name].type = "input";
fields_mc[FieldArray[eObj.target.selectedIndex][i].name].selectable = true;
fields_mc[FieldArray[eObj.target.selectedIndex][i].name].border = true;

// set text format
fields_mc[FieldArray[eObj.target.selectedIndex][i].name].setNewTextFormat(my_fmt);

// set text
fields_mc[FieldArray[eObj.target.selectedIndex][i].name].text = bcInfo_so.data[FieldArray[templates_lb.selectedIndex][i].name];
Can someone help me out?

Also when I use autoSize=true, I lose my textfield alignment. So if I have a textfield aligned to the right and I use autoSize=true, it gets aligned to the left, even if I reset the text format. Ay ideas on this as well?

Thanks

Rotate Dynamic TXT With Embed Font Not Working
Hi, folks,
i am trying to rotate some dynamic text and nothing was being displayed.

I did some research before posting, and i found out that u have to embed the font before rotating....
I did that and still nothing. Actually when i pass my mouse on the screen i see the cursor change when on top of the text.... but i still can't see nothing...
And, worse, when i just put the embed (whitout the rotation) the text disapear....

any help around?
Here's my piece of code:

createTextField("pct_txt", 3, 450, 400, 200, 200);
pct_txt.embedFonts = true;
pct_txt._rotation = 90;
var tf:TextFormat = new TextFormat();
tf.align = "center";
tf.size =30;
tf.font = "_sans";
tf.bold = true;
tf.color = 0xffffff;
pct_txt.setNewTextFormat(tf);

Dynamic Load Fonts - Embed Font Problem
I my BASE.SWF movie I want to dynamicly create embed text fields with. I create coule of font movies files (e.g. ARIA.SWF where is Arial font (I use export for Action Script))

In BASE.SWF I load that movies (using load movie) and then creating text field. Did not work.

! In BASE.SWF I cannot add that fonts or font Symbols with import for runtime sharing oprion, because the list of fonts to load will be dynamicly generated from php/mysql.

Please help me to solve this problem

Embed Font Used For Scrolling Text
Hi,

I have a scrolling text box in the action script and I wanted to know if there is any way to embed the font I used when it
is seen on online.

Thanks
SV

Loading Text With XML And Font Embed
I am doing a site for a client where they want a non standard font which I have installed. The data for the text is loaded via XML and when I try to embed the new font with the embed button in the properties, but the XML loaded text does not appear. Anyone know how I use that font and still import the text?

Thanks.

Font Won't Embed In XML Loaded Text Box
Hi Folks

I am loading a text box dynamically into a clip from an XML file and having problems with embedding it! I am using the setTextFormat method to attempt to force the text box into displaying the text in the font that I want because embedding doesn't work! I have overcome this problem is the past by using:


Code:
var nevs_fmt:TextFormat = new TextFormat();
nevs_fmt.font = "Market";
nevs_fmt.size = 14;
and then firing it by something like this:


Code:
gigsTxt.htmlText = gigsTxt_array[0]
gigsTxt.setTextFormat(nevs_fmt);
I have found in the past that if you then embed the font - lo and behold it works! However in the following case it ain't!


Code:
stop();

//font object

var nevs_fmt:TextFormat = new TextFormat();
nevs_fmt.font = "Market";
nevs_fmt.size = 14;

//XML Parser

var nevsXML:XML = new XML();
nevsXML.ignoreWhite = true;
nevsXML.load("xml/nevs.xml");

var gigsTxt_array:Array = new Array();

var nevsCount:Number = -1;

nevsXML.onLoad = function(success) {
if (success) {

nevsCount = nevsXML.firstChild.childNodes.length;
var node:XMLNode = nevsXML.firstChild;

for (i=0; i<nevsCount; i++) {

error_txt.text = "Loaded XML file!";
gigsTxt_array.push(nevsXML.firstChild.childNodes[i].childNodes[0].firstChild.nodeValue);

//trace(nevsXML.firstChild.childNodes[i].childNodes[0].firstChild.nodeValue);//gigsTxt
//trace(gigsTxt_array[0]);
//trace("------------------------------")
}
loadContent();


} else {
error_txt.text = "WARNING - Nevilles can't find the XML file!";
}
};

//function to load content into dynamic text box

function loadContent() {
gigsTxt.htmlText = gigsTxt_array[0]
gigsTxt.setTextFormat(nevs_fmt);
};
I am not sure if this is a little glitch in Flash but it has caused me grief in the past! Any input would be more than welcome!

I have attached my files.

Thanks all!

Andy

Embed A Font For Input Text Fields?
embed a font for input text fields? I use a unique font in every flash website I make. The problem is that I'm sick of having the break apart the text so it will come up when people without the font visit the site. Also I'd like it if input text fields could have the font. Ease my pain.

Thanks!

Embed Font/text Fields/filesize(more Of)
hey guys - put in search couldnt see answer so...
I have swf with many dynamic text fields which I want all to have same font
problem is I seem to have to embed them every text field else they dont display - but this adds big on end file size(obviously)
surely I do something rong as you should surely only have to embed the font once no? if the outline is included in your swf then why have to keep embeding it!

Any advice for sensible/frugal management of embeded fonts in movie apreciated...

chi

AS1: Text Overflow In Scrollpane - Dont Want To Embed Font
Is there some clean way to deal with creating a scrolling for text and graphics MC's without embedding fonts? I am building a data table that dynamically generates, and I read in multiple posts that text breaks the mask of the scrollpane component. Embedding the font seems really stupid since I am using Arial. Why go through this nonsense?

So my questions are:

1. Is the scrollpane still the best component to use for creating scrollable windows of text and graphics (last time I used it was a year ago).

2. What is the best way to get the text and all the graphics in there nicely?

Here is my code:

Code:
//ATTACH SCROLL PANE and size it
_root.attachMovie("FScrollPaneSymbol", "scrollpane", 1);
this.scrollpane.setSize(600, 50);

//CALL THE FUNCTION THAT CREATES THE DATA TABLE
CreateTable (); //creates the MC "myTable_mc" on _root

//SET SCROLL CONTENT
_root.scrollpane.setScrollContent(_root.myTable_mc);
_root.scrollpane.refreshPane();

Read Text File, Embed Font, CreateTextField Help
hi,

i have an external text file i am reading into a movie clip that creates a textfield using createTextField. i want to mask the text.. i have embedded the font by going to the Library > New Font, etc. but my text still doesn't show up.

also, the text, regardless without the mask will not show up if in the createTextField, i set embedFonts = true;

can someone take a look at this? any help would be appreciated.

here is the fla and text file:

www.mcs.drexel.edu/~tlta/loadText.zip

Again: External Text, Transition Mask, Embed Font
ellow!

owkay, i need help please!
i read about 1000 threads about this the last 3 hours..
i can not make it work!
everybody says embed font.. well if i do this.. it doesnt work anymore at all..

so, i've got: index.swf that is loading news.swf in an empty mc with a transition..

news.swf has a dynamic textbox that loads an external .txt file called news.txt(which uses css a litle bit..) ...

news.swf viewed alone works fine..
then news.swf loaded in the container_mc on index.swf.. doesn't show.. its there but doesnt show.. blahblah..

so then i understood from all those threads i read.. that i had to embed the font..
so go to the properties of the dynamic textbox.. click on character en chose the one you need.. (i don't now which one i need.. i think none of them..cause i use no special font.. i.e. arial)

after chosing the "embed font" (tried them all), nothing hapens.. not even when im viewing the news.swf alone.. it doesnt work anymore..

when i remove the embeded font.. it works fine.. but not loaded in the container..

now the last thing i read was that there something i have to do with the library.. import the font in the library if you want to use "bold, italic,etc."..
but that, that i dont get..


please help.. having a breakdown!!
please answer this thread.. i cant find any answer in previously posted threads..!

thx!

Read Text File, Embed Font, CreateTextField Help
hi,

i have an external text file i am reading into a movie clip that creates a textfield using createTextField. i want to mask the text.. i have embedded the font by going to the Library > New Font, etc. but my text still doesn't show up.

also, the text, regardless without the mask will not show up if in the createTextField, i set embedFonts = true;

can someone take a look at this? any help would be appreciated.

here is the fla and text file:

www.mcs.drexel.edu/~tlta/loadText.zip

Tweeing A Text Field With Embed Font And Load Vars
Hi guys,
I am gonna ask the same question again regarding tweening in text fields.
I already read some Adobe documentation and I understood that text field has its property _alpha available just when it HAS embed FONTS,
So I supose if I want apply a tween class on a text field, I HAVE to have a embed font aplied in this text field... well, for now it is ok, because I did some experiments and everything worked good, but I need to use LoadVars to load my text from external file, and that is my deal.
Does anydoby know something regarding this issue, because I already tried a text fiels with TextFormat class aplied, and embed Fonts, but when I try to load my text from an external file, nothing happen !
You guys can check this site below and notice that thet ext field has a tween class aplied in "About Us", "Testimonials", "Pricing" and "Contact US"...

Do you guys think that they did not use a external text file for this option ??
Just writing all text directly in TextField.text propriety instead a external file ??

http://www.pictureperfectphotoonline.com/index2.php

Tweeing A Text Field With Embed Font And Load Vars
Hi guys,
I am gonna ask the same question again regarding tweening in text fields.
I already read some Adobe documentation and I understood that text field has its property _alpha available just when it HAS embed FONTS,
So I supose if I want apply a tween class on a text field, I HAVE to have a embed font aplied in this text field... well, for now it is ok, because I did some experiments and everything worked good, but I need to use LoadVars to load my text from external file, and that is my deal.
Does anydoby know something regarding this issue, because I already tried a text fiels with TextFormat class aplied, and embed Fonts, but when I try to load my text from an external file, nothing happen !
You guys can check this site below and notice that thet ext field has a tween class aplied in "About Us", "Testimonials", "Pricing" and "Contact US"...

Do you guys think that they did not use a external text file for this option ??
Just writing all text directly in TextField.text propriety instead a external file ??

http://www.pictureperfectphotoonline.com/index2.php

Embedding Font And Dynamic Html Text -> Font Is Gone
Hi there ,

I've been searching all over this forum and searched on Google for an answer to this question but can't find an answer that works to me.

I have some dynamic textfields and I retrieve the data from a databases. Each textfield has a handwritten font which I embed using Character Options in the Text Properties. That works fine.

The problem is, when I check the 'Render as HTML' checkbox and send simple HTML-tags to it, the html-tags still work but the handwritten font is gone! I really tried lot of things but it really doesn't work to me.

I really hope someone can help me. I really appreciate it!

Kind regards,

forcer

Anyone Know Flash CS3 Embed Font's Glyphs Range With Font Class(no TextField )
I have add some font by Font class in the library
(TextFeild.embedFonts=true)

but the font's glyphs looks not enough.

when i use text String " ü ä ö ß π à â ç è é ê ë î ï ô ù û œ "
only the "Ï€" and "Å“" is can be visible.
Font.hasGlyphs also return false;

if i only create a TextField, and Click the Embed button selection glyphs range.
the text will be fine.

but i won't use TextField by drag to the stage

i heard in flex:
@font-face {
src:local("Arial");
fontFamily: myFont;
flashType: true;
unicodeRange:
U+0041-U+005A, /* [A..Z] */
U+0061-U+007A, /* a-z */
U+0030-U+0039, /* [0..9] */
U+002E-U+002E; /* [.] */
}
so what can i do in Flash CS 3?

thanks a lot
i really tried working on this.maybe i just need go back use the .....TextField.

Embed Font Symbols And Font Size
Hi all, i've been playing around with embedding fonts and have a query.

It is very important to tick the correct bold and italic boxes for your font in the library, but does the size field make any difference?

I couldn't for instance see any difference between arial 24 embeded as arial 12 and arial 12 embeded as arial 24. Does anyone have an reason to think the library text size is important?

Thanks,

James

Embed Jpeg In Dynamic Text Using External Text File Html
so I have a website and I am using dynamic html enabled multi-line wrap text boxes and am sourcing the context to fill the dynamic text boxes via text files which contain html...

here are links to my .fla file and .txt file....
http://mcc.larrychendesign.com/untitledmcc.fla
http://mcc.larrychendesign.com/home.txt

I am using flash mx 2004 pro and am exporting/publishing in flash player 7 and actionscript 2.0...

I can't seem to get jpeg's to load, but I can get all the other supported html tags to work...I am using the <img src='untitled.jpeg'> but no image....they are NOT progressive jpegs...but they won't load...why not? I thought embedding non-progressive jpeg images are allowed in flash if publishing in flash player 7 and above and authoring in flash mx 2004 or above...what gives?

any help would be greatly appreciated! and I did stipulate the width and height to try that as well, but it didn't work...this did work back in the day, but I don't remember what I did...

Embed Jpeg In Dynamic Text Using External Text File Html
so I have a website and I am using dynamic html enabled multi-line wrap text boxes and am sourcing the context to fill the dynamic text boxes via text files which contain html...

here are links to my .fla file and .txt file....
http://mcc.larrychendesign.com/untitledmcc.fla
http://mcc.larrychendesign.com/home.txt

I am using flash mx 2004 pro and am exporting/publishing in flash player 7 and actionscript 2.0...

I can't seem to get jpeg's to load, but I can get all the other supported html tags to work...I am using the <img src='untitled.jpeg'> but no image....they are NOT progressive jpegs...but they won't load...why not? I thought embedding non-progressive jpeg images are allowed in flash if publishing in flash player 7 and above and authoring in flash mx 2004 or above...what gives?

any help would be greatly appreciated! and I did stipulate the width and height to try that as well, but it didn't work...this did work back in the day, but I don't remember what I did...

Embed Jpeg In Dynamic Text Using External Text File Html
so I have a website and I am using dynamic html enabled multi-line wrap text boxes and am sourcing the context to fill the dynamic text boxes via text files which contain html...

here are links to my .fla file and .txt file....
http://mcc.larrychendesign.com/untitledmcc.fla
http://mcc.larrychendesign.com/home.txt

I am using flash mx 2004 pro and am exporting/publishing in flash player 7 and actionscript 2.0...

I can't seem to get jpeg's to load, but I can get all the other supported html tags to work...I am using the <img src='untitled.jpeg'> but no image....they are NOT progressive jpegs...but they won't load...why not? I thought embedding non-progressive jpeg images are allowed in flash if publishing in flash player 7 and above and authoring in flash mx 2004 or above...what gives?

any help would be greatly appreciated! and I did stipulate the width and height to try that as well, but it didn't work...this did work back in the day, but I don't remember what I did...

Normal And Bold Text In Dynamic Textfield With Embed Text
Hello everyone, i have a problem, i trying to show bold and normal text in a dynamic textfield with embed fonts, so i can made fade in & out with that textfield, but i can´t show at the same time bold and normal, i only can display or normal or bold text.

Does anyone know what can i do?, or if this can be achieved?

Thansk everyone!!

Dynamic Text..(embed)
Trying to add more dynamic capability to my sites...I now load most text from an external text file. My question is about the FONT that can be used. I set the options of the dynamic text field to match the text of the rest of the site. All looks fine...but when viewed on others computers..that font would not show up. (obviously not installed on their computer) is there any way around this? (I tried to check the embed option..but have varied results..any advice is appreciated)

Thanks for the time..and sorry I posted about this..I tried to use the search feature...but kept timing out on me!




-whispers-

Dynamic Text Will Not Embed
So I have some dynamic text that will not embed. I know from the various message boards posts that static text automatically embeds and to embed dynamic text you choose Embed-> select characters and hit "OK". When I do that the text disapears once publishing. The box the dynamic text lives in is a movie clip if that makes any difference! I've tried embedding the font in the library and that doesnt seem to do anything either. These are the same two solutions I've read in many posts, anyone have any new ideas?

Embed With Dynamic Text
Hey all,
I was wondering if you embed a font is it available to all text fields in the movie or do you just embed a font in each text field.
It's just that I was wondering if I can dynamically create text fields and use a font that isn't on the end-users computer?


Thx

BRb

Can I Embed Fonts For Dynamic Text?
I noticed my web page looks fine on my computer. I just looked at it on another computer for the first time. Any place that has dynamic text, the other computer substituted some really bad alternatives. How can I get around this?

Making Dynamic Text Embed
Hi People,

Wonder if anyone can help me. I'm creating a document in flash that I can update myself, however there is someone else that needs to input text into the document that don't have flash. This isn't a problem I just make the text boxes dynamic and inmport the text from a .txt document, meaning they can just type in the .txt file and save it and it automatically updates in the flash file.

HOWEVER when we send this file to clients we want them to have just the flash projector file, not all the .txt files too. How can I do this? it must be possible somehow.

Embed Issues With Dynamic Text
Has anyone heard of any issues with embedding fonts in a dynamic text field with CS3?

I had an issue when text stopped showing up when embedded.

This happened while embedding verdana but worked okay when embedding arial.

It took me an hour to figure out why I lost the text!!

I saw another post that had an issue embedding large fonts and mentioned something about the a/v setting not sure what that one was about but not the issue in my case.

Good Looking Dynamic Text Without Embed?
In the file I'm publishing for flash 7 I'd like to be able to select font at runtime from a config file. Dynamic text looks pretty bad though unless the fonts are embedded. Is there any trick to sharpening up dynamic text w/o embedding the font?

How To Embed Images Into A Dynamic Text Box
Is there any way to embed images into a dynamic text box in flash mx '04?

Dynamic Text Fed By Embed Tags
Here's a question, I am feeding text dynamicaly throught html embed tags and when i do this my text gets cut off at where my dynamic text box ends.
Any one know how to make dynamic text resize according to how many chars are in the box?

thanks

Dynamic Text Embed Gone Nuts
so i have a dynamic text box textBox

I have text code: textArray[1] = "I love the movie <i>2010</i>.";

I a frame in a movie that when loaded runs the code

textBox = textArray[1];

I can't seem to get both the period AND the italisiced '2010'.

I have tried embedding Caps, Lowwercase, Numbers, and Puncutation.
I have tried having Italics selected for text box
I have tried render text as HTML
I have tried combos of these settings

Any Idea what is going on??

thanks

How To Embed Images Into A Dynamic Text Box
Is there any way to embed images into a dynamic text box in flash mx '04?

Dynamic Text Embed Fonts
I can't get dynamic text to work with embedded fonts.
I put a dynamic text field, 'my_txt' on the stage and entered 'Sample Text' into the text field with Arial 12 pt bold.  I then clicked on 'Embed...' and included upper and lower case characters. The text shows up fine when I test movie; however, if I change the text with Actionscript:

my_txt.text = 'New Text';

the text disappears. Even if I reassign 'Sample Text' to the text field:

my_txt.text = 'Sample Text';

it does not display.

What am I doing wrong?

Character Embed On Dynamic Text Box
Hi. I need to embed all the normal basic latin chars in a dynamic box but I also need to be able to format it HTML. For some reason when I embed that chars... and do <FONT FACE='Arial' SIZE=24>This is 24 Point Text</FONT> Nothing shows up.
I can however do <b>Bold Text</b> and all the other simple HTML text formating. But I can't do <p> or anything else.


Thanks for any help.

Bold Text In Embed Font Does't Appears Bold
hi,

a part of my code is like :

var cnt:MovieClip = _root.createEmptyMovieClip("cnt",1);

_root.cnt.onEnterFrame= function()
{
var txtFormat:TextFormat = new TextFormat();
txtFormat.font = "FFF Harmony";
txtFormat.size = 8;
txtFormat.color = 0x0;
// ---
var txtField:TextField = this.createTextField("txtField",2,50,50,100,100);
this.txtField.embedFonts = true;
this.txtField.multiline = true;
this.txtField.border = true;
this.txtField.selectable = false;
this.txtField.autoSize = true;
this.txtField.html = true;
this.txtField.htmlText = "ceci est un <b>test</b> de texte en gras.";
this.txtField.setTextFormat(txtFormat);
this.txtField.setNewTextFormat(txtFormat); // added to try if it works, but no

//---
delete this.onEnterFrame;
}

and the problem is the bold text doesn't appears in bold...
i've tried to create another txtFormat for bold text, and transform my textForm from the <b to /b>, but it doesn't works fine....

is someone have a solution ??

thanks for your help...

pascall

Embed Font Vs Device Font
Is it possible for embeded font to look sharp as device font?

Device Font Vs Embed Font
Can anybody tell me the reason why few of the pixel fonts look more sharp when we use device font than embeding the font.

How To Embed A Font From A Font Symbol
Hi everybody,

I keep having the same trouble everytime I try to use a font symbol from an external library in a dynamic textfield.

I create the font symbol in my external library, with the options "Export for Actionscript", "Export for runtime sharing" and Export in first frame" all selected. I also give it an identifier "font1"

I import the font symbol into my main movie, and create the following script for a text format to be use with a textfield.


Code:

var tabText_fmt:TextFormat = new TextFormat();
tabText_fmt.color=0x000000
tabText_fmt.font = "font1";
//
dada_txt.embedFonts = true;
dada_txt.text = "Thank You";
dada_txt.setTextFormat(tabText_fmt);
But when I publish the movie, there is no text in the textfield.

Can anyone please help me? Is there any step that I am missing?

Thanks a lot

Copyright © 2005-08 www.BigResource.com, All rights reserved