AS3 invoking class from linkage by string

Today I was programming a game and I run over a problem, I had to invoke a Class by its string name. It can easly be solved by using a switch like: var className:String = “ClassNameOnTheLibrary1”; var gamePhase:MovieClip; switch(className){ case “ClassNameOnTheLibrary1”: gamePhase = new Phase1(); break; case “ClassNameOnTheLibrary2”: gamePhase = new Phase2(); break; } Now…

10 print “hello world” 20 goto 10 run

My first programming language  was the Beginner’s All-purpose Symbolic Instruction Code aka BASIC. I learned it from a book my parent’s got me when I was about 11, close to 1986 when we got our very first computer Gradiente Expert.  10 print “hello world” 20 goto 10 run

Hello world! Finally!

Hi, this is my first post, has been 2 years since my last portfolio update, so by the praticity of updating and eding a blog, I decided to post here  some of my jobs, expirements and personal projects. Here goes a short background. I had the o opportunity to start on the web from its…