Tuesday 7 August 2007

make text legible and sharp

Flash tends to lose it's sharpness when it comes to fonts. Althought they look perfectly sharp within the IDE, the published movies often are not that sharp anymore.

There are a few simple rules or workarounds to maintain the sharpness.

  • odd values for font sizes (9,11,13,15) cannot be scaled as well. use font sizes of even values.

  • defining the font as dynamic gives better quality, but don't forget to embed the appropriate fonts in the properties Bar

Monday 6 August 2007

wmode @ key flash bug

I often encountered the problem that some of my flash files did not accept the @ symbol in forms. I had to use the US keyboard @-sign location to add it. this issue only seemed to be on PC, as macs did not have that issue.
The reason for this seems to come up as soon as you publish your movie in wmode( transparent window mode), then the movie only can accept US keyboard-key locations.

more here:
http://blog.headlondon.com/archives/no-wmode-please-were-british/


One Workasround could be:

keyPresser = new Object();
keyPresser.onChanged = function(intxt:TextField) {
if (34 == ((Key.getAscii())) || 64 == ((Key.getAscii()))) {
in
txt.text = intxt.text.slice(0,intxt.text.length-1) +”@”;
}
};
Key.addListener(keyListener);
input_txt.addListener(keyPresser);

FileReference onComplete is not fired on Mac OS

onComplete not fired on Mac OS.
from what I could research on the internet, this issue seems still not have been resolved in flash player 9. partial solutions given here

but further research in progress.