I was looking at some code in my actions window and I noticed something I've seen before. Some of the letters in the code drop out. In other words some of the letters are cut off at random places within the code.
You would have to se it in my AS window to really understand. The code below shos how some of the letters are missing but in the actual code in my AS window, you can tell that the letters have been typed but they are somehow being "squished" or something so that they're not visible.
stop();
buttonMod= true;
mouseChildre= false;
addEventListener(MouseEven.ROLL_OVE, over);
addEventListen(MouseEvent.ROLL_OUT, out);
function over(event:MouseEvent):void {
if(this.hasEventListener(Event.ENTER_FRAME)) {
removeEventListener(Event.ENTER_FRAM, everyFrame);
}
This makes it really difficult to type code since I can't always see what I have and haven't written.
I'm just wondering if you've ever seen this before?
I took a Flash class a year ago and the teacher's computer had the same issue. He was showing his code to the class via overhead projection. Though he was very knowledgeable in Flash he didn't know what caused the problem and just dismissed it. Now I have the problem.
I use a MacIntosh and have Flash CS4.
Any ideas?
Thanks,
Jingledale
(Note: The above problem was
(Note: The above problem was solved via email. I am reproducing my answer here --Jody)
Jingledale,
I don't use a mac, and I don't have access to one, either. So I can't observe that firsthand for you, and no, I had never seen it before. However, I did a little bit of googling, and found this page that seems to address it (somewhat, anyway): http://theflashblog.com/?p=444
"2. Use the default Monaco font on Mac and you’ll get some trippy kerning that makes it impossible to read."
The fact is, though, that if you don't like the font you can change it. In Flash, go to Edit/ Preferences. In the resulting dialog box, click Actionscript in the left hand column. Then in the right pane, you will see where you can change the font. On my PC, the font is set for "Courier New" and a size of 10. Here you can also change the colors that the code window uses. One change I like to make here is to make comments red instead of gray. Just a personal preference, but I see the gray as being not enough of a contrast to the regular (black) text. If you experiment using this window and don't like your changes, you can always click the "reset to defaults" button to get back to the original factory settings.
Let me know if that works out for you.