Blog

  • 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();
            };
    }
    
  • Indeo 5 and Flash Video Importing

    Dude, Indeo 5 blows when importing videos. I kept creating small import clips in the import wizard, but the video was waaaay off sync… if at all. It didn’t even import all of the clips.

    I’m now attempting to learn the Media Display component at moch-10 billion since addQuePoint seems the way to go at this point with a honkin’ 9meg, 12 minute external FLV. It’s going to be weird animating movie clips, and then attaching them via an event listener vs. the old skool way to merely animating things in the timeline.

    On a brighter note, the weather here rocks, and I’m reminded of it after just getting back a roll of film developed and looking through the pictures. Her majesty had photographed the ice storm and man… do I NOT miss that cold weather crud; the warm, sunny weather here at Bondi Beach rocks! It’s been a battle getting me out doors, though, as I have so much stuff to code & homework to do before the conference. Not to mention her majesty’s on reckon finding a hotel for Tuesday night… hope that goes well.

    Saw Aral on the way here out in the middle of the Pacific. Hard to spot 40,000 feet up, but man, he look tired… poor bloke.