Workaround CS5 component number problem

July 12th, 2010 by max » (1) » AS3

I came across this problem last week and it drove me nuts!

I had a draggable component with a numerical value for its drop-coordinates. When I entered the first coordinate 0|0, it worked perfectly. But changing this to 10|20 didn’t work anymore. I debugged, and found that the dropX and dropY were »NaN«.

I couldn’t find anything on the net so I tried more. I reopened it in Flash CS4 and found that the value weren’t 10|20, but 10,00|20,00. So I started working around and got to this »solution«:

Instead of typing 10 i tried 0,10 and that works. But only for values up to 99!

I’m not shure whether this is a Number/Integer/Float-problem that I messed up, or if the new Mac OS X 10.6 Flash CS5 IDE has a bug. Anyone firm with datatypes that knows the answer?

Complete list of European Special Characters

July 1st, 2010 by max » (23) » this&that

Working on a german project with dynamic Textfields or forms is no problem for me: there are six »Umlaute« and one ligature, that I use every day. English forms are even easier: no special characters at all (how unimaginative ;-)…
But at the moment the project’s scope is widened to East- or West-Europe, problems begin if you weren’t attentive in school: In Spanish questions start with this upsidedown questionmark, don’t they? In French there are accents, but what directions and on which letters? And does anyone had Czech or Hungarian in school?

This is for all developers, making forms or dynamic textfields for the western hemisphere (no Cyrillic or Greek characters).

¡¿
ÄäÀàÁáÂâÃãÅåǍǎĄąĂăÆæĀā
ÇçĆćĈĉČč
ĎđĐďð
ÈèÉéÊêËëĚěĘęĖėĒē
ĜĝĢģĞğ
Ĥĥ
ÌìÍíÎîÏïıĪīĮį
Ĵĵ
Ķķ
ĹĺĻļŁłĽľ
ÑñŃńŇňŅņ
ÖöÒòÓóÔôÕõŐőØøŒœ
ŔŕŘř
ẞߌśŜŝŞşŠšȘș
ŤťŢţÞþȚț
ÜüÙùÚúÛûŰűŨũŲųŮůŪū
Ŵŵ
ÝýŸÿŶŷ
ŹźŽžŻż

Comment if something is missing and I’ll update the list.

[Update] Thanks Stefan, for Croatian đ and Đ.
[Update] Thanks G, for Hungarian letters őŐ and űŰ
[Update] Thanks codebuilder, for ď, ģ, ì, Ï, ì, Ø and ť
[Update] Thanks David for Åå (Sweden)
[Update] Thanks Andrzej for ŻżĄąĘę (Poland)
[Update] Added versal ß and sorted all characters Uppercase-next-to-Lowercase
[Update] Thanks Cosmin for Ţţ Ăă (Romania)
[Update] Thanks NA for Ææ (Danish)
[Update] Thanks Dave for ð, þ, and Þ (Icelandic)
[Update] Thanks Fabien for Π(French)
[Update] Thanks Peter for Ľľ (Slovakia) and Ůů (Czeck)
[Update] Thanks cosku for Ğğ and ı (Turkish) – yes, let’s count Turkey to Europe ;)
[Update] Thanks to Alex for pointing out the T and S with comma and cedilla.
[Update] Thanks Candid for the »Baltic pack« Āā, Ėė, Ēē, Īī, Įį, Ņņ and Ūū.