Blog

  • 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

  • Preparations for MXDU 2005

    Settling into the room here @ Star City Hotel, and quickly feeling guitly utilizing the shiny ethernet cable after reading Kai’s ability to utilize bandwidth for free vs. my 10 billion dollars per bit. We left our wireless card at home back in the states.

    I speak tomorrow morning, so “finishing” up my work for it. Much rather be drinking, playing XBox, and enjoying the awesome weather instead of working & doing homework.

    I’m on the 7th floor (723), my AIM is CentralXL, and her majesty and I will be at Star City for at least 4 nights; hopefully we’ll see you around and at the banquet tonight! If you shout out at the pool on the 5th floor (6th?) I’ll hear you.

  • MediaDisplay’s onUnload of Doom

    The MediaDisplay component has an onUnload event to ensure the FLV or MP3 it’s playing is closed before the component goes away. If you, however, attempt to create a movie clip/component with the same name in the same frame (or maybe it’s depth), it won’t work. You must wait a frame because the onUnload keeps a reference to the clip and stays around until the next frame. This caused havoc in a speech preso I was doing for school. I implemented a quick and dirty doLater to ensure I had no issues.

    function doLater(obj, meth:Function):Void
    {
            if(post_mc == null)
            {
                    createEmptyMovieClip("post_mc", getNextHighestDepth());
            }
            var d:Number = post_mc.getNextHighestDepth();
            var ref_mc:MovieClip = post_mc.createEmptyMovieClip("d" + d, d);
            ref_mc.obj = obj;
            ref_mc.meth = meth;
            ref_mc.onEnterFrame = function()
            {
                    trace("ref_mc calling");
                    this.meth.call(this.obj);
                    this.removeMovieClip();
            };
    }