Blog

  • FAME Chronicles #2: TRACE (not trace) in MTASC

    One of the nice things about MTASC is it’s TRACE function. Utilizing the -trace compile parameter, you can map the TRACE function written in your ActionScript to a static class method of your choice.

    You get an additional 3 parameters passed to your trace:

    1. Full class package path and name with method
    2. File name of the class
    3. line number the TRACE command is at in your class

    You can get some really informative and nicely formatted trace messages now. Below is something I whipped up this morning to get it to look cool in Flashout; you can use this with trace too if you don’t use Flashout. Modify the tabs to suit.

    static public function coolTrace(str:String,
                                     classNameAndMethod:String,
                                     fileName:String,
                                     lineNumber:Number):Void
    {
            var splitClassAndMethod:Array = classNameAndMethod.split(".");
            var classAndMethod:String = splitClassAndMethod[splitClassAndMethod.length - 1];
            var classAndMethodArray:Array = classAndMethod.split("::");
            var theClass:String = classAndMethodArray[0];
            var theMethod:String = classAndMethodArray[1];
            
            var theString:String = "message: \t" + str + "\n";
            theString += "\t\t\tclass: \t\t" + theClass + "\n";
            theString += "\t\t\tmethod: \t" + theMethod + "\n";
            theString += "\t\t\tfilename: \t" + fileName + "\n";
            theString += "\t\t\tline: \t\t" + lineNumber;
            
            //trace(theString);
            Flashout.debug(theString);
    }
    

    The above, when tested, will give you something alone the lines of this:

    Pimp as hell, eh!?

    Thanks Kenny for inspiring me to get this to work! Now, if I can just figure out how to make the line # a hyperlink so if you click it, it’ll take you to the line number you clicked on in the correct as file…

  • BA Graduation 2005

    I’ve got 1 class left which I’ll finish in June, but I walked last Saturday (April 30th) to receive my degree, a Bachelor of Arts in Organizational Leadership & Management. It actually won’t get mailed till about July, but that’s fine by me. The last year and a half has been extremely tough doing work + contract + school + marriage + trying to keep abreast of technology + personal branding + as much gaming & drinking as possible. I’ve no idea what I’ll do for a Masters yet. Onward!

    Brandy and I @ Reinhardt College’s Waleska Campus Graudation Day

  • ATLMMUG Tonight

    WHAT: The Atlanta Macromedia User Group User Group April Meeting
    WHEN: Thursday, MAY 5, 2005 from 7:00 PM – 9:00 PM
    WHO: Justin Beals – “So you want to start a business?”
    Leif Wells – “FAME: What it is and why you should be using it.”
    WHERE: Sidereus Group Conference Room
    600 Embassy Row
    Atlanta, GA 30328
    DIRECTIONS
    (written directions below)

    ================
    ABOUT THE SESSIONS

    So you want to start a business?

    I had a long discussion with Justin Beals about folks I knew who were returning to their freelance-working ways. It’s been a long time since our economy has been preforming well enough that the thought of starting your own business wouldn’t completely freak you out. At the end of that conversation, Justin said “I hope these people know what they are in for.” I said “Why don’t you tell them?”

    Justin Beals, owner of Roundbox Media — a company that has thrived over the past five years — will let you in on some of his successes and failures at setting up and running an business in the interactive industry. If you are serious about starting to freelance or starting your own interactive shop, bring pad and pencil (and perhaps a helmet) to this illuminating session.

    ++

    FAME: What it is and why you should be using it

    Jesse Warden coined the name: Flashout, Actionscript 2 Plugin, MTASC Compiler, and Eclipse. Now I am a convert. If you are sick of using the Flash Actionscript interface to develop serious Rich Internet Applications (RIA), then take notice! Tired of needing 20 windows open just to get all your work done? Need an integrated environment where you can edit Java, Actionscript, XML, and also view your server’s
    output?

    Leif Wells, your AtlMMUG Manager, will show you how to streamline your development process by using a few Open Source tools (and a couple of inexpensive add-ons). We’ll take you through the somewhat complicated process of installing these items and then show you how to make it work for you.

    =================

    Directions:

    From GA-400, take Exit 5A for Abernathy Road. Head East (toward
    Perimeter Mall).
    Take a LEFT at the first light after GA-400 on Peachtree-Dunwoody Road.
    Take a LEFT at the brick sign that reads “Embassy Row”.
    Building 600 is on the RIGHT and you may park anywhere and enter from
    the front or back.
    The meeting will be on the first floor.
    The doors will be locked, but people will be watching the doors. If
    you are late and need to be let in, please call my cell phone at
    404-593-7408.

  • Job: Director Lingo Programmer

    I need someone with good lingo skills, probably 4-5 years of lingo experience. This is a pretty quick project the spec is simple….

    Basically, the programmer needs to read the filenames in several folders and place buttons on the screen with the filename on them and have them displayed in alphabetical order and in quadrants based on folder type, such as: specials, transitions, music. Attached to the button is a script that will cause the file to be loaded and played by QuickTime. If a second button is pressed the sound must cross fade to the new sound. On screen timers will show how long a particular piece is and how much has played with a scale showing apx where in the music we are. I have a working piece now and wish to update/rewrite it for some additional functionality. A good programmer should be able to knock this out in 2-3 days easy. I would like to get this going as soon as possible as well.

    If you have the skills and availability to help out with this project, Please give me a call asap.

    Thanks,

    Britt Stephens
    New Media Registry
    404-932-3159
    www.newmediaregistry.com