I just encountered an issue with (classic) dynamic and input TextFields in Flash with ActionScript 3. I was able to resolve it, but couldn’t find the solution online, so I’m posting mine in case anyone else is searching for an answer to this problem.
The Problem: The baseline of the TextFields (with an embedded font) is shifted up for some reason, but there doesn’t seem to be a way to control it with styling. In some cases, when capital letters are typed in or assigned to the TextField, the top of the letters are cropped off by the upper border of the TextField.
The Solution: Trick Flash into rendering the TextFields slightly differently. Setting the rotation to .01 worked pretty well, but shifted the first letter in the field upward in some cases. Then I thought cacheAsBitmap might work…no go. I finally settled on assigning the scaleY of the TextField to 1.01, which works perfectly and doesn’t noticeably alter the design.
Get updates from Ajar Productions
Sign up today and get the InDesign Split Text premium extension for free!