Hello! I'm working through Adobe's "Actionscript 3.0 for Adobe Flash CS4 Professional" book (though I'm using a trial version of CS5). I've run into a crazy error on the 2nd lessons that I believe is out of my control, and wanted to see if the more advanced users had seen it or had any advice.
Everything was going well, when suddenly this bug appeared out of nowhere. It appears that some random characters are getting removed from my strings. For example, when I write the code:
info_txt.text = "Welcome to the home page";
And then run the program, then info_txt just shows: "elmehehmepage", which is the same string minus a bunch of characters. When I try to write the code:
info_txt.text = "abcdefghijklmnopqrstuvwxyz0123456789";
Then it comes out as "aeghilmnprs". This character removal happens for all strings. And it seems that it isn't random, it's just removing a bunch of letters and all numbers, the same ones every time.
Troubleshooting that didn't work:
Does anyone have any ideas what's going on? I can't figure out what made this occur suddenly, and I can't figure out how to undo it.
Thanks!
Hi kglad, thanks for the quick response. I'm not sure that's the correct answer, because:
1. It was working find a moment ago across several different project files, and then it stopped working across all of them
2. I'm only using english characters and numbers
However I'd be willing to try it out. How do I embed the used characters? I'm a beginner and this isn't discussed in the workbook
Thank you for your time!
Have the same problem. Everything is ok in CS4 but in CS5 some chars are missing.
Embedding font is not a solution. Why I should embed system fonts like Arial or Tahoma? Size of resulted SWF is critical for me. At last it works in CS4 and I want to see the same behavior in CS5.
Is it a bug or a new unknown feature?
thanks
Thanks, kglad
We have this problem on win 7 and win xp. I think it not depending on os.
It works fine if I add textfield at runtime but If I have a textfield on stage and change text I see only chars that were in original string.
For example, I have textfield on stage with default value 'country', change texfield.text = 'canada' and see 'cn'
i don't know if this has been reported/fixed.
here's where you report bugs, though: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
I use CS4 with Verdana font. I have never experienced the problem before, so I decided to do some testing. When using the dynamic text, if I do not embed, I do not loose the text. If I embed part of the text, I will loose what I do not embed. As expected if I embed all, everything works fine.
I have the same issue, Mac or Win. Text missing or dropped completely. If I select Use device fonts then it works. It appears to me that the font engine is ignoring device fonts unless explicitly stated, so the fallback engine/checks are busted. If you compile the app in CS4 then Dynamic Text works; in CS5 it breaks. Pretty bad bug. I've written a ton of code for explicit font enumeration and might need to incorporate that for *all* dynamic text and override the base class, which is fairly evil. Would love to know when/if this gets fixed.
Dear Friends
I find the solution for this Text Problem....
The Problem is Anti-alias property of the TextField.
by default it will be in "Anti-alies animation".
but for Display the text properly we need to chang it...
In Flash CS5 do the following chantge........
Select Text Field ----> Properties Pallete ----> Anti-alias ---> Use Device Fonts
or
Select Text Field ----> Properties Pallete ----> Anti-alias ---> Bitmap Text[no Anti-alias]
now it will work properly.....
North America
Europe, Middle East and Africa
Asia Pacific