Blog

  • Birthday Presents, Games, Wireless Router, & The Pope Liked Breakdancing

    My 26th birthday was Tuesday. I obtained some nice clothes, and the following are some pictures of my presents.

    My Mom & her majesty snagged one of my logos and put it on 6 or so coffee mugs.

    A gig of RAM for my Alienware (has 4 slots on the motherboard), via 2 sticks of 512megs.

    The 1st season of Knight Rider on DVD. We watched the first episode (1982) Wednesday night, it was pretty good! I remember watching an old episode of the A-Team and not being able to make it halfway through it was so bad, so I’m glad I can actually enjoy this series of DVD’s.

    This weekend’s gonna suck; I’ve got my Finance paper due Monday morning. I’ve had 8 weeks to do it, and now I’ve only got 3 days left. I purchased Prince of Persia: The Warrior Within for PC, and both Splinter Cell 3: Chaos Theory & Brothers in Arms: Road to Hill 30 for XBox to give me something to look forward to Sunday night when I’m hopefully done with my homework.

    Got a new D-link wireless router (they didn’t have Netgear or any of the other brands recommended in my other post); anyone know how secure such things? Her majesty found something via Google saying to change my SSID to something jacked; easy enough, but I don’t know what else I can do… not a network guy.

    Finally, I remembered posting about how the Pope liked breakdancing after a Rave flyer I got via email quoted that. Here’s to hoping the new one digs it too.

    Wish me luck…

  • Flash Remoting AS2 Classes

    I’ve been seeing requests for these classes requested a lot lately. My guess is:
    – it wasn’t publicized enough when they were released
    – people cannot find them on Macromedia’s site

    So, for the former, here is a direct link (again):

    Flash Remoting AS2 Classes – ZIP

    For the later, I know things are crazy with the merger I’m sure, but please tell those in charge of such things to make them more prominent, either on this page, or even better, a link on the right of the Flash Remoting section at Macromedia’s site.

  • Class Deserialization: OpenAMF & Flashcom

    Had a hell of a time debugging some OpenAMF calls yesterday. Turns out, when Flash deserializes your class, it basically takes a vanilla object, puts properties on it and assigns their values, and then points that instance’s __proto__ property to the prototype of the class you registered via Object.registerClass. The downside to this is it doesn’t run your setter functions on any getter/setters you have set on the class. Naturally, your getters fail immediately because they look to a private equivalent variable which is different, and when you call the setter… it’s really a function.

    How Flash manages to keep “firstName” the public property and “firstName” the public getter function in the same namespace is beyond me, but regardless, I’ve tested in Flashcom last night, and the same thing happens there, too, so it appears to be how Flash deserializes your class.

    The way we, “solved it” as my manager says, or “worked around it” as I claim, is emulating, EXACTLY the Java class equivalents. So, you have private properties in the Java model class, like:

    private String firstName;

    And same on the Flash side:

    private var firstName:String;

    And instead of getter/setter functions in Flash, you just use the get/set function methology:

    public function getFirstName():String
    {
    return firstName;
    }

    public function setFirstName(val:String):Void
    {
    firstName = val;
    }

    I really don’t like this at all, and personally feel that there should either be an event letting you know when the class is deserialized (Flashcom does this for server-side ActionScript classes via the onInitialize event) so you can then run the getter/setters yourself, OR Flash should just intrinsically know there are getter/setters in place, and set the private variables accordingly. This gets sticky though because you’re now having the Flash Player run code on your classes. Thus, I vote for the first.

  • Adobe Acquires Macromedia

    Adobe Systems Incorporated (Nasdaq:ADBE) today announced a definitive agreement to acquire Macromedia (Nasdaq:MACR) in an all-stock transaction valued at approximately $3.4 billion.

    Curious; regarding the Yahoo deal where Macromedia partnered with Yahoo, does Yahoo want to purchase Adobe, or does Adobe want to purchase Yahoo? Adobe already does the Yahoo Toolbar installer bundling with their Acrobat Reader, the PDF viewer.

    Adobe helped spawn the print revolution, and did the same for video; empowering the masses to create great content. This teaming up with Flashcom & Flash Video in general seems promising.