I was making a few modifications on a clients Flash 6 AS 1.0 movie yesterday, and can’t believe I spent about 30 minutes debugging what I perceived to be an issue AS 1.0 has with embedding fonts. In actuality, the trouble lied with my ability to take code that I’d copied from an AS 2.0 project and remove any typed variables – totally overlooked this (been in the land of AS 2.0 for too long!) I had created a typed textFormat variable. My bad – but man it was hard to debug, no errors where thrown… the only clue was that when I converted the project to AS 2.0 (and spent 20 minutes recoding various functions) it worked. So this morning I thought I’d get to the bottom of why AS 1.0 doesn’t work with embedded fonts – even though I’ve used them countless times before in AS 1.0 projects.
The moral of the story – always remember where you’ve come from, even if you don’t intend on EVER going back 😉