Blog

  • Changing MovieClip Class Name via JSFL

    Re-factoring your classes’ package path isn’t so bad. With 1 find and replace command in Dreamweaver/FlexBuilder, you can change it from “company.” to “com.company.” in just 3 seconds on all of your classes without having to open all, or any of them.

    …this isn’t so easy with MovieClips in Flash. FLA is binary, and to access the AS2 class name, which associates a MovieClip with your class, you have to right click on a symbol in the library, manually change the name in a cramped text input field, and click ok… then repeat this for your other 39 classes, or more.

    Or you could use JSFL. Programmer I work with educated me why you prefix class paths with “com.” and “net.”. I’ve forgotten why it’s important, could of sworn at the time I had an epiphany of understanding, but regardless, here’s the code to quickly change all of your AS2 + linkage ID’s to point to a new class path/linkage ID name. I include linkage ID because typically your linkage ID and AS2 class path are, and should be, identical.

    function d(o)
    {
            fl.trace(o);
    }
    
    function init()
    {
            fl.outputPanel.clear();
            var i = fl.getDocumentDOM().library.items.length;
            while(i--)
            {
                    var linkage = fl.getDocumentDOM().library.items[i].linkageIdentifier;
                    var className = fl.getDocumentDOM().library.items[i].linkageClassName;
                    var testingString = className;
                    if(testingString != null)
                    {
                            if(testingString != "")
                            {
                                    var a = testingString.split(".");
                                    if(a[0] == "roundboxmedia")
                                    {
                                            a.unshift("com");
                                            d("old:");
                                            d(fl.getDocumentDOM().library.items[i].linkageIdentifier);
                                            d(fl.getDocumentDOM().library.items[i].linkageClassName);
                                            fl.getDocumentDOM().library.items[i].linkageClassName = a.join(".");
                                            fl.getDocumentDOM().library.items[i].linkageIdentifier = fl.getDocumentDOM().library.items[i].linkageClassName;
                                            d("new:");
                                            d(fl.getDocumentDOM().library.items[i].linkageIdentifier);
                                            d(fl.getDocumentDOM().library.items[i].linkageClassName);
                                    }
                            }
                    }
            }
    }
    
    init();
    
  • Atlanta Jobs: SteelBox Networks

    SteelBox Networks is hiring for the following qualifications:

    Quality Assurance Manager

    This individual will manage a QA/Test group consisting of 3-5 people. They will be responsible for developing test plans, executing test plans, interfacing with engineering, creating schedules, generating reports, and managing a small group. They will also be responsible for our Customer Service until such time this outgrows their ability to handle it.
    – Should have 3-5 years Experience in QA/Test, or even an Engineering Manager.
    – Understanding of basic Networking, Linux, Windows. Writing scripts using Expect.
    – Knowledge of video networking is a plus but not required.
    – Should have experience in managing a group of 3-5 people.
    – Should be self motivated, creative, and looking for a challenge.

    Quality Assurance

    This individual will be part of a QA team testing our product line. They will be responsible for developing test plans, executing test plans, and interfacing with engineering to resolve problems. This individual will also be responsible for fielding Customer Service calls.
    – Should have 2-3 years Experience in QA/Test or Engineering.
    – Understanding of basic Networking, Linux, Windows. Writing scripts using Expect.
    – Knowledge of video networking is a plus but not required.
    – Should be self motivated, creative, and looking for a challenge.

    Software Developer

    This individual will be part of our development group working on multiple aspects of our product line.
    – Should have 2-3 years experience with Real-Time Embedded Software Development using the “C” programing language.
    – Understanding of basic Networking, Linux, and the GCC Tool set.
    – Knowledge of RTSP, MJPEG, MPEG2, MPEG4 a plus but not required.
    – Knowledge of NFS, CIFS, a plus but not required.
    – Should be self motivated, creative and looking for a challenge.

    GUI Software Developer

    This individual will be responsible for the development of a Graphical User Interface control system for our product line. Initially this will be for Demonstration purposes only but may lead to actual product development.
    – Should have 1-3 years experience with Windows development using Visual Basic, C++, and C# using Microsoft Visual Studio.
    – Should have experience developing .Net Webservice applications.
    – Should be self motivated, creative and looking for a challenge. Someone who really wants to impress coworkers and Users with creative and innovative GUI designs.

    Interested and/or questions? Contact Vivian Rodriguez.

    Via T-diddy.

  • MXDU 2005 Followup

    Thank you Geoff & Julie for inviting me to speak again at this years MXDU. Your hospitality was really sweet, and you all + your team went out of your way to make her majesty and I feel welcome, comfortable, and entertained.

    Thank you Aral for saving my hide during my presentation. For those of you who didn’t know, her majesty’s Alienware doesn’t have the standard monitor attachment; it has like DVI or something else with no attachments. I simply loaded the FLA that was my preso on Aral’s laptop + source files and she worked like a charm!

    Thanks Andrew for letting me see your phat pad and to eat all of your food.

    Thanks Chafic, Peter, and Guy for letting her majesty and I crash with you all in your apartment for the last 3 days or so; a LOT cheaper and it was great to hang.

    Thanks Matt for keeping us organized on that since 4 engineers seem incapable of getting a room together a 2nd time around.

    Thanks Kai & Diane for doing our laundry and dishing out all the food.

    Thanks Graeme for showing me first in the MXDU Voice of the People and explaining the basics of Japanese to me.

    It was great to meet all you who I hadn’t met before. Putting faces to emails n’ blogs rox, and meeting new people from other parts of the world is really cool too… as well as seeing old friends again.

    I’d say the only thing uncool about MXDU 2005 was getting my arse handed to me by Mike C & Mike D of Macromedia in Halo 2. There were a few matches where I was owning, but overall, it was a pretty sad attempt for JesterXL to represent in gaming.

    Someone asked me at the conference to see if ARP works in Central, gotta check that out. Also, I’ll go find that Flash garbage collection article.

    See you all on XBox Live, and hopefully at MXDU 2006!

  • Flex: D&D Tools v3 Source Files

    I re-did my D&D v2 components, which were made using Flash MX 2004 and Flashcom, in Flex with a bunch of additions. Really, I wanted to see how hard it would be to do the stuff I like to do in Flash in FlexBuilder, mainly, not-so-vanilla forms and drag-n-drop. This mini-project garnered much respect for FlexBuilder from me. I’ve tested the code locally, and what I’ve distributed does compile and should install into Central using an installer badge.

    If your looking for sample code in Flex pertaining to:
    – drag and drop
    – Central integration
    – Flashcom
    – using the Tile List component

    Then you may garner some use out of it. As always, some of the code I love, some I hate, and some doesn’t work where noted. I’ve written docs to get your started in your browsing, and documented the classes themselves, but not the methods or properties.

    Hope someone benefits from this!

    D&D Tools v3