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




[F8] Missing Letters On Dymamic Text?



Hi! I'm loading some external text on a txt file to a dynamic and multiline text box in flash. The thing is that the text has html formatting (only <br> and <b> tags) And some letters mysteriously disappear....

the txt is like this:
<b>Morada </b>Some address here<br>second line of address <br><b>Telefone </b>999 999 999<br><b>E-mail </b>mail@somesite.com

but the flash retrieves the bold letters like this:
Morada Some address here
4second line of address
Teeone 999 999 999
-mai mail@somesite.com


It's a bit strange, this never happened to me...
What can be happening here? How can I solve this?


***EDIT***

Nevermind, I solved it... I just changed the font option to "use device fonts" and the missing letters came back.

**********



FlashKit > Flash Help > Flash ActionScript
Posted on: 06-28-2007, 02:01 PM


View Complete Forum Thread with Replies

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

Missing Letters In Published Movie...HELP
ok, so i just got flash mx the other day. I made a movie and I tested it and published it to find that letters were missing from the titles i used throughout the whole movie...anyone run into this?
I cant get those damn letters to show up and it keeps happening in a bunch of things i have made...please help!

Loading External Txt, Missing Letters And #s
I'm loading a txt file into a dynamic text field on a site using an embedded font. Its working fine except for the fact that certain letters and numbers simply aren't loading (8,9,x,q). Can anyone help?

Here's the site:

www.prettyandnice.com/home.html

go to the news page and you'll see what i mean...

Help With Tweening Dymamic Text
i made a slidehow using an external xml whereby each image description also loads from the xml the only problem is i want the dynamic text blocks to to tween but as soon as i create a symbol the text dissapear when i publish it

please any help

Adding A Dymamic Text Box With Addchild
I have a movieclip, I want to add the textbox as a child and then put some text in it.


Many thanks.

Dymamic Text In MC Has To Move To A Few Positions On The Stage. BUT HOW?
The script I use is made by somebody else, cause I just can edit scripts and not program it (only basics).
The only help what can help is somebody who wants to take a look at the fla. It's too complex to explain the scripting.

(It is to show a student what happens in a computer.)
There is dynamic-text in a MC. You type any key and the letters is shown on the stage, than it turn into binairy-code. Than the code goes to a position on the stage (entill THIS point it works.

BUT than this code has to go to a few other positions on the stage aswell.

Dymamic Movieclips Using A For...always I's Last Value?
Ok I have one movieclip that I multiply using a for loop. I want this movieclip to be clickable and to contain the value of i at the moment of the creating of the movieclip (i is the variable used in the for loop). Here's the code:


Code:
var thewidth = 35;
var i = 0;
var orig_x = mctest_0._x;
var num:Number;
for(var i = 0;i<10;i++){
duplicateMovieClip (mctest_0, "mctest"+i, i);
setProperty ("mctest"+i, _x, (orig_x + (i*thewidth)));
eval("mctest"+i).onRelease = function () {
trace("mctest"+i);
}
}
Now this works except for one thing. The trace write 10 for every button. In other words, every button displays the value of i when the loop was over and not when the movie clip was duplicated. How can I do that?

Thank You

Dymamic Url In Shared Assets
what im trying to do is, using a variable instead of an URL in the "symbol linkage properties" can that be possible? if not, anyone could suggest a way to do something like that?

The reason its so we can change the url of the shared assets just by changing that variable...

Convert The Letters To Lowercase ONLY If They Are Actually Letters, Not Numbers?
I have a glitch with this line of code:

one_array.toLowerCase();

in a dynamic input textbox. If the string includes a "!" it becomes a "1" .

Is there a way to only convert the letters to lowercase if they are actually letters - not numbers or punctuation? Do I have to write a line of code for each character, or is there an easier way to do it?

Put The Letters Of A Text In Array
Hi,

how can i put the letters of a text in a array.
It works fine with

Code:
text = "m|y| |t|e|x|t"
textArray = new Array();
textArray = text.split("|")
But that's to silly. How can I just split "my text" in different letters?

(an easy one, no ?)

kGP

Add Filters To Text (letters)
hello everybody,

i need to create a board with magnetletters which has a width of 350 pixels. by splitting a string into an array and converting each word into a sprite/textfield i can use filters like bevel or color.transform to create the visual effect. when the maxwidth is reached, it wraps into a new line. all fine, but the problem is that i need to add the filters on each letter not just on the words. could somebody give me a hint what to do?

thx!


ActionScript Code:
var worte:Array=("Lorem ipsum dolor sit amet, consetetur sadipscing elitr").split(" "); 
var boxen:Array=new Array;
var box:Sprite;
var maxX:Number=350;

initBoxen();
function initBoxen() {
    for each (var wort:String in worte) {      
    boxen.push(box=makeBox(wort));
    addChild(box);
}   
    posiBox();
   
}
 
function makeBox(wort:String):Sprite {
    var _txt:TextField=new TextField;
    _txt.text=wort;
    _txt.type=TextFieldType.DYNAMIC;
    _txt.selectable=false;
    _txt.background=true;
    _txt.autoSize=TextFieldAutoSize.LEFT;   
    var box:Sprite=new Sprite;
    var bevel:BevelFilter = new BevelFilter();
    bevel.blurX = 3;
    bevel.blurY = 3;
    bevel.quality = 1;
    bevel.angle = 22;
    bevel.distance = 3;
    bevel.shadowAlpha = 1;
    bevel.highlightAlpha = 1;
    bevel.shadowColor = 0x666666;
    bevel.highlightColor = 0xFFFFFF;
    bevel.strength = 1;
    var filtersArray3:Array = new Array(bevel);
    _txt.filters = filtersArray3;            
    box.addChild(_txt);
    return box;
}
function posiBox():void {
    var sumX:Number=0;
    var sumY:Number=0;
    var abstand:Number=0;
    for each (var box:Sprite in boxen) {
        if (box.width+sumX>maxX) {
            sumX=0;
            sumY+=box.height+abstand;
        }
        box.x=sumX;
        box.y=sumY;
        sumX+=box.width+abstand;
    }
}

Colour Change For Letters In A Text Box PLEASE HELP
Having large probs with this!!
What I am doing is reading the letter key pressed by the user from the keyboard:-

getMyKey = function (localVariable) {
pressed = Key.getCode();
if (pressed>=65 and pressed<=90) {
_root.pressed = _root.pressed + letterkeys[pressed-65];

letterkeys is an array holding all letters.
pressed is the variable of a dynamic text box.
I am displaying the letters the user is to type on the screen, if they type the right letter I want this letter to be green if not letter red and displayed to the user in the text box so screen would look like:-

letters to type:- sss lll sl ls sl sl sss lll
Letters typed:- sls sss sl ls sl sl sss lls (These letters in either red or green)
Please help driving me mad!!!

Tweening The Spacing Between Text Letters
Hi,

How do I tween the space between letters of text? I'm trying to make them grow closer together, but when I do a motion tween (I presume this is correct), each time I set a keyframe, all keyframes on the timeline become whatever I set the one to be. Anyone know what the problem is, and how to go about solving it?
Thanks,
AC

Text Effect - Individual Letters
Can anyone offer advice or point me to a decent tutorial about having the letters of your text line "draw" or reveal themselves one at a time? Basically, like those nifty motion graphic pieces where logos and such draw themselves...either through shape morphing or masking.
Much appreciated!

Text Troubles. Added Letters.
I'm working on building my site and everything was flowing smoothly but I'm having trouble with many of my text boxes having extra letter E's with a dash over the top at the begining of many sentances. http://www.kajsidog.com/2000.swf Just click around with the numbers on the right to get to some examples. When I select the text box to edit them they disappear. Thanks.

Changing Letters In Dynamic Text Box
I'm trying to make a text box display letters that change when I click a button. What I want to be able to do is cycle through the alphabet one letter at a time for each click on the desired button.

There will only be one button and each subsequent click of the button should continue to change the letters.

Any thoughts on using the chr(); ???? or so forth.

Thanks,

Externally Loaded Text Has A Few Letters Cut Off
problem on first page of the flash web site

There are on one or two words about one or two letters cut off on the right side. On the first page. the word "talent" is "tale" and about a half of the letter "n".

In the properties I have Multiline and HTML selected. The fonts are not in the applied to the text box. They are written as action script so if I try to embed the fonts the type disappears.

The text is loaded from external html pages into a dynamic text box. The copy appears but on the right side some words are not completely visable.

The code I have used to load the text is:
function loadPage() {
var pageLoader = new XML();
pageLoader.ignoreWhite = true;
pageLoader.onLoad = function() {
Intro_txt.htmlText = this;
}
pageLoader.load("ResultsIntro.htm");
}
var IntroStyle:TextField.StyleSheet = new TextField.StyleSheet();
IntroStyle.setStyle("mainbody", {
color: '#000000',
fontFamily: 'Verdana, Arial, Helvetica, sans-serif',
fontSize: '11pt',
lineHeight: '12pt',
display: 'block'
});
IntroStyle.setStyle("bodyitalics", {
fontStyle: 'italic',
display: 'inline'
});
IntroStyle.setStyle("subhead", {
fontSize: '15',
fontWeight: 'bold',
display: 'inline'
});
Intro_txt.styleSheet = IntroStyle;
loadPage("ResultsIntro.htm");

Any ideas?

Random Letters In A Text Field
I am trying to generate random numbers and letters, ALL CAPS, in a one letter text field. After the text field has displayed 20 letters/numbers I then want it to stop on the letter "S" - I have tried many different ways and cannot get it to function correctly -

can you help...

How Do I Tween Different Spacing Between Text Letters?
Whats wrong with the following tweening? I put a text box in frame 1
"WORD"
Inserted Keyframe in frame 10:
Adjusted property inspector's AV setting so letters are spaced out:
"W O R D"
Created tween.
Tween is broken. I tried shape and motion tweens. Still broken.
How do I tween this in MX 2004?
Failing to create a tween, I created a frame by frame animation with
many Keyframes.
This is a long process.
Also, lets say I want to perform a similar thing to different words
like:
"Play to P L A Y"
or "FILL to F I L L"
but I don't want to create FLA's just to change the letters that the
words are composed of.
I want to do this same thing to many words. But, for the life of me, I
cannot find any history panel in Flash MX 2004. I dont have any
Window>Other panels place, the place the history panel is supposed to
be in. Are there any ways to automate this task for future words?

Help With Animating Text And Individual Letters Please?
Hi, I am new to flash and are having some trouble with the more basic stuff! Can anyone tell me how to add motion to individual letters please? I want a word to display on my headder page; loading letter by letter, then a different effect from there (I'll work that bit out when I get there but were thinking about my main title displaying a letter at a time as described above, until the entire word shows, then that word dissapear and the second word appear using the same format - this happening for 4 words, then once the last has loaded, it then being replaced by the entire 4-worded sentence?)

Can anyone help wiht any of this please?

Thanks,

Clive.

Breaking Text In Letters Problem
I've a text with 200 characters. I want to show that text letter before letter. But when I break apart this text and then distribute to layer, i have 200 layers. This is too much!!!

How can I solve this problem easily, and without any download time issues?


Nico

Thanks

Dynamic Text Boxes And Capital Letters
I have a dynamic text box which has text automatically entered into it for a log in box, but i would like the first letter to be a capital leter. Any ideas how i can tell it to do this.
Heres the set variable action which puts the value into the dynamic box.


who = _root.who add " you are logged in ";

Letters Appearing Randomly In A Text Field?
does anyone have a clue to how I might do this:
I want a text field where the letters of my text appear randomly over time. no fancy swurlings or whatever, just letters turning from for instance backgroundcolor to white.
I'm thinking action-scripting, but I don't know how.
please let me know if anyone knows
kn

Load External Text With Western Letters
Hi is there a way to load text with western letters like æ,ø,å
from a .txt file

Limit Text Boxes To Oly Letters / Numbers...
Can you limit text boxes to only letters or numbers?

I have two text boxes and I want the user to be able to enter ONLY letters in one, and ONLY numbers in the other one...

Can ya do dis?

Thanks!

Joe

Stopping Letters From Displaying In Text Field
I have two input text fields where the user inputs there height and weight to get their Body Mass Index value. However it is possible to input letters in these fields.

I was wondering if there is a way of not allowing letter keys to display within these textfields if the user pressses them or if the user does input letters I can tell flash to bring up an error messege.

Any information much apprciated

Erase Single Letters From Text Fields
does anybody has any idea on how to Erase single letters from text fields?, i mean if the text is somethin like:

"my house is green" and i want to erase the "h" from house, is there any method to do it?....
well actually i want to use an animation like those on those red screens with spot letters that displays text animated moving from one side to the other...
any ideas?

[MX04] Stop Letters In Input Text Box
Hi, I need a way to keep users of a flash movie from entering letters in an input text box, so that they can only enter numbers. Is there a way to do that? Or a way for a piece of code to check for characters other than numbers in the input text box? Thanks.

Problem Loading Text With Accented Letters
hi,

I am trying to load a text into a container clip, but the text has various accented letters as it is in Spanish. In other version of Flash I had a code that made this possible, but in MX 2004, this no longer works. The code before was:


ActionScript Code:
System.UseCodePage=true;

Any idea what it is for MX 2004???

Thanks,

pjustice

Formatting Dynamic Text To Capital Letters
Hi!
Does anyone know if it's possible to reformat dynamically loaded text into only capital letters?

Thanks,
Subfusc

Dynamic Text Randomly Adding Letters?
www.nigelpwatson.com

If you visit his biography, you'll notice that random letters are added, which look like spelling mistakes, however I can assure you there are NO spelling mistakes what so ever....i don't understand. Its adding random letters!

Anyone have any input? I have all the code to submit if anyone wishes.....thanks,

-Geoff

Input Text Field: Embed Uppercase Letters
Hi all,
I use input text fields with character options chosen to embed only uppercase letters. I have used this type of field many times before, but for some reason in my current project the uppercase outlines are not embedding for all letters. For example, when I type "who" in the field it looks like "Who" instead of "WHO" or when I type "hat" in the field it looks like "hAt" instead of "HAT".

I have tried copying fields from other movies that work correctly, recreating new fields, and changing the instance names. I don't use any type of special programming other than the settings in the properties panel and have never had this problem. Any suggestions regarding what could possibly be set differently to cause this?

Dynamic Text With Scroll & The Disappearing Letters WEIRD
Hi everyone. I am having a bit of a crisis which I'm hoping someone might be able to help me out. I have a .fla file saved which I created in flash 5. I am trying to finish it off by making a few little amendments in Flash MX but this weird thing keeps happening and I have no clue whatsoever how to fix it.

My main body of text has a scroll in it, so it has all been input dynamically and inserted directly into the Actionscript. This worked fine in Flash five, but now it's been opened up in MX I am finding certain letters are just vanishing when I publish the movie. I had experienced this once before in Flash 5 when I have emboldened the number 6 in dynamic text it would disappear, but now it's happening with many different letters so all my dynamic text is reading like:

"ACATIOAL EMPLOMET" rather than "VACATIONAL EMPLOYMENT".... you get the picture.

Does anyone have a clue as to what's causing this to happen!?

Thanks! ~Laura

Text Field Cycling Through Random Letters And Numbers
I'm trying to get a text field rotate through random letters and numbers, for about 5 cycles each character, then I would like the text filed to resolve into "my chosen text" - I can do it with a different text field for each letter, BUT I want to do this with only one text field for each phrase.

Text Effect: Slot Machine Style Letters
I know that has to have been addressed before, but I don't know what it is called. Anyway, plug this into flash to see the effect:
//removed
Does anyone have an idea how to make all the letter start on a differnt random letter and cycle through the alphabet?

VB Placing Letters In A Dynamic Text Field Trigger An Event?
Hi,

I'm a newbie creating a simple (so I thought) program using Visual Basics and Flash CS3.

I am trying to get Flash to load and play a movie clip when Visual Basics places a letter "c" in a Dynamic Text Field in Flash.

I got Flash to display the letter "c" Visual Basics placed in the dynamic text feld, but how do I get Flash to see that letter as a variable? Also, once it sees it as a variable how do I get it to trigger an event? I don't want a mouse click or keyboard click, I just want Flash to load the appropriate movie clip and play it once Flash receives the letter. Is this possible?

If anybody can help, I would appreciate it. Thank you.

How To Make That Matrix Random Letters Generated Before Your Text Appears.
I want to add this in to my sites. You know that Matrix looking space age random letters before the actual text shows up.

eg.

In my movie, I have text like:
"The dog is there"

What that matrix thing does is, it generates all these random letters and numbers before stopping to reveal the text "The dog is there".

Is there an easy way of doing this? I can't be bothered manually doing this using timeline which could take ages and it's not really random either, cause I will be using timeline.

How To Make Randomized Numbers And Letters Before It Reveals The Real Text.
Alot of the space aged sites have this random numbers/letters before the text is revealed.

eg.
The dog jump the puddle.

This will pop up as this fast numbers and letters changing then one by one each letter stop to show the sentence, "The dog jump the puddle".

I currently do this with timeline, but I am not really getting random numbers/letters, exacept the numbers/letters I have set in my movie. Its also time consuming, but I heard this can be done with script.

Having Trouble Displaying Accent Mark Letters In Dynamic Text Field
I'm having trouble displaying letters with accent marks in dynamic text field..

im using Arial and have all the fonts embedded including the latin ones, have render as html checked and still not working.. What am i doing wrong..?

my code:

Code:
System.useCodepage = true
myTextVar = "&#233";

Missing Text In Dynamic Text Field
Hi

I have a dynamic text field in my flash presentation where I have attached the commponent scroll bar that comes with Flash MX. The text for this field is pulled from a data.txt file. I am using html forms on a web browser to collect the data and then using ASP dor the server side scripting.

I notice that in certian instances that text that is in qouation marks (ie,"mytext") does not show up in the dynamic text field and any text after the qoutation marks does not show up(ie, "mytext";more text)

If there is text before the qoutation marks shows up and displays in the dynamic text field. (ie, mytext "moretext"

I haven't a clue as to why this would be happening. Anyone run into this before?


The code for the dynamic text follows:

[code]
loadVarsText = new loadVars();
loadVarsText.load("data.txt");
// assign a function which fires when the data is loaded:
loadVarsText.onLoad = function(success) {
if (success) {
trace("done loading");
// Now that we know the data is loaded,
// set the text content of the Text Field
// with the instance name "scroller" equal to the
// display new image
// contents of the variable
scroller.text = this.vh_p1text;
// add image here
} else {
trace("not loaded");
}
};
[code]

TEXT MISSING
I have built and swf movie which i want to load into anouther movie on a mouse click.
I got it to work for the most part here is the problem though... The movie I'm loading, is pulling text from a txt file and when I load it into the new move I lose my text, and when i click to scroll throught the text my output box tells me
Target not found: Target="/scroll" Base="_level0.target"

Missing Some Text . . .
This is killing me . . .

My loaded text file only displays content in <B></B> tags.
I've gone over the scripts and variable syntaxes, but no
luck displaying the non-bold text.

I'd really appreciate some help with this.

My .fla and .txt files can be accessed from:
http://bluemoth.envy.nu/Index.htm
(due to stupid limitations, the files have to be accessed via the page - No hotlinking sucks)


::bluemoth::

(Let Flash 6 sort text out for good)
[Edited by ::bluemoth:: on 02-21-2002 at 11:40 AM]

Missing Text
I have made a small movie with no action scripting and just a few teens. In the movie text moves from side of the frame to the other. Everything looks fine while playing the movie thru the time line. After I save it and publish it, the text doesnt show up in either the .swf file nor the html page. If I look at it again thru the timeline, it's all there.....what gives?
I can email the flash file to anyone who can help me.

Thanks,

eignmode

Missing Text
Is it possible for part of a flash movie to not load. Like just the text part of some navigation menus?

Also a follow up here. If there are say 4 .swf files on a web page would there be a good reason that only 1 or 2 might load but not the others?

Missing Text
I've created random backgrounds using buttons for a rollover effect. On top of the backgrounds i've got some AS generated text that changes content per background. When i test the backgrounds individually the text appears and all behaves normally. When i test the backgrounds with the random background generator the backgrounds work fine but the text never appears. Any ideas where i've gone wrong??? and how i can correct it??? would be appreciated.
Thanks,

cx23

Missing Text
Hi there

I have a site made up for a client, and he is saying that no text is showing on his 'other computer'. I have never come accross this before - but I have built this with the new Flash 8 demo so not sure if it's a bug or me doing something totally wrong.

Everything else he says works fine, but any text just isn't visable.

Any ideas?

Thanks

Text Missing
Hi all!

When i publish by flash file all my text is missing, its all STATIC text, which i can't even embed!! when i test my movie i can see all the text, but when i close the published movie and reopen my .swf file the text is missing, how can I fix this, any ideas?

Cheers

Scrollpane Missing Text
I have made a simple scrollpane using the scrollpane component in MX. After making a mc and assigning "linkage" it appears in the scrollpane as it should although only half of the text appears. It is only static text, nothing dynamic or input related. My other scrollpanes work fine so I was just wondering if there was a maximum number of characters that you are able to use or something of the like as this only happens when I use a lot of text (ie 2-4 pg word documents) Any help is greatly appreciated.

Keith

Text In Missing Flashplayer 7
hey everyone,
i posted my site www.insomedesign.com live today and i noticed in flash player 7 the navigation buttons text is gone! it is startiuc text, verdana, bitmap (no anti alias) any ideas why and how to fix it? check out the site and let me know if you can! thanks! -James

Missing Component Text
I created a form in a movie clip using various components. This form was placed under a mask (so that the user only sees the part of the form in a small panel section) and is scrolled up and down using a scrollbar. The problem I am having is that none of the text in the components is showing when I publish.

I've followed all the instructions in the help section titled "Missing text when nesting components" but it does not fix the problem. I may be placing the actionscript in the wrong place but I doubt it since I've placed it on the first frame of just about every movie clip associated with the form. Is there something special I need to do for a nested component that is being scrolled up and down under a mask? Is there a special way to embed a font to specific components other then what is discussed in the help section (or is there more to embedding fonts than what is talked about in "Missing text when nesting components")?





























Edited: 07/06/2007 at 08:11:08 AM by BrianDP1977

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