18
Jul
06

A trip down actionscript 1.0 memory lane

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 ;-)

Share and Enjoy:
  • del.icio.us
  • Digg
  • Fark
  • Google
  • NewsVine
  • Slashdot
  • StumbleUpon
  • Technorati
  • Yahoo! Buzz

2 Responses to “A trip down actionscript 1.0 memory lane”


  1. 1 Luis Neng Jul 19th, 2006 at 7:42 am

    It’s a nightmare! I have to do this all the time mainly when a client remember to change something a year later. Now I only use classes but some of my old projects still use timeline scripting. As you said… no errors were thrown and small pieces of code spreaded on every movieclips in the library.
    Sometimes I just prefer to rebuild a project than changing something on those oldies ;)

  2. 2 Jed Wood Jul 20th, 2006 at 2:54 am

    Of course the irony of it is that your “error” was the strong typing itself: something that’s supposed to help you debug and prevent errors :)

Leave a Reply

Comment spam protected by SpamBam







Posts this month

July 2006
M T W T F S S
« Jun   Aug »
 12
3456789
10111213141516
17181920212223
24252627282930
31  
Check out iStockPhoto

Categories

Archives