Blog

  • Cloning non-primative datatypes in Flash MX

    I got it.

    It’s asyncronous, but I got it. Still, that’s better than the dangerous recursive versions.

    Had an idea about how to clone an object in Flash MX as there was one Class that I remember actually copied an object: LocalConnection. I figured this out almost a year ago when we all tried to pass a connected NetConnection object to other Flash movie’s hoping they could share it (since NetConnection’s don’t come cheap in Flashcom). Ultimately, it was a failure because, just like SharedObject’s, when you save a class to it, it strips it of any known linkage to its derived class (unless you use Branden Hall’s trick [don’t have link handy]).

    Anyway, read on for the code…

  • Ping Pong, Matrix-Style

    Via <a href=”http://www.freaksauce.com/”>Freaksauce</a>.

    I’ve been depressed the past 2 weeks, but this made my morning over coffee.

    <a href=”http://www.astercity.net/~tobik/pingpong.html”>Hilarious</a>

  • Flashcom User Sounds Component

    Treat 3 of 4 (another in the works)

    This component was in response to a thread on Flashcom about having sounds occur when a user logs in and logs out. I also have it making a sound when the user changes their name. You can modify which sound plays with what event. Server-side, you can add more events if you wish.

    <a href=”https://www.jessewarden.com/downloads/user_sounds_component.zip”>FCS User Sounds – ZIP</a>

  • Flashcom User Type Component

    Treat 2 of 3

    This component allows you, as an admin user, to set the “type” of a user. It works within the Component Framework of FCS 1.5 as well as SimpleConnect on the client side. Granted, there are a lot of “developer” friendly things that I did not add, but as you can tell from my lack of posts, I’m burnt out. However, a developer I was working with had a need for this, and since I started on it based on his need, I figured I’d at least put up what I had.

    What needs to be added is basically the default (server-side script) needs to default to “Participant” and then the client-side component needs to default to “admin”, similiar to how the Presentation SWF works.

    FCS User Type Component – <a href=”https://www.jessewarden.com/downloads/user_type_component.zip”>ZIP</a>