Blog

  • Microsoft Pays Real Bling

    Sad day for the industry (not bad at all compared to the horrible earthquake in Pakistan & floods in Guatemala).

    Microsoft Corp., the world’s largest software maker, agreed to pay RealNetworks Inc. about $761 million as part of a settlement that removes one of the last major antitrust lawsuits brought by a Microsoft competitor. RealNetworks shares surged as much as 48 percent.

    The article goes on to quote an analyst saying the surge in stock is because of ensured cofindence in RealNetworks’ ability to survive alone in the market.

    If you can’t manage $30,000, you can’t manage $3 million. Let’s hope that this rule applies to Real’s ability, or hopefully lack thereof, to stay afloat. Competition is a good thing, but they suck, ethically and technically.

    Too bad their stock went up; now I can’t be afford to be a majority shareholder, and launch verbal nukes in their board meetings. Dammit.

    Via her majesty.

  • Flashcoders is Down… WITH THE SICKNESS!!!

    Da system… sis-sis-sis-sytem…is down. Dude, my wife was doing user testing last week, and a 14 year-old girl bought that song as her ring tone… insanity. I hope my kids learn to mosh at a young age as well.

    Got an email questioning what’s up with Flashcoders, the premiere Flash… er I mean Flash coding email list. Apparently all of Chattyfig’s lists (that we care about) are down (Flashcoders, Flashnewbie, Flashcom, etc.). Here’s what I know. It was down like Sunday evening, and hasn’t been back up since. Dave Watts, the admin, posted an email saying they had moved the email servers across the street. Then, nothing…

    So, for those on withdrawl, here’s my infered next emails, in order:

    Re: [Flashcoders] Flash player 8.5 and ActionScript 3.0
    “…omg, .NET cannot be consumed on a MAC… unless there is salt, LOL, OMFG!!! ROFLMASOSHIPDFDFD!!!”

    [Flashcoders] What is a Delegate?
    “onPress = function? My this is confused. Must… eat… chili…”

    [Flashcoders] RE: Re: FW: Re: [SPAM-LOW] HELP!!!
    “I would like to code. Tank, I need an AS1 w/ Flash MX, stat! Thank you.”

  • PopUpManager & loadMovie

    This is the 2nd time this year I’ve been burned by PopUpManager and loadMovie. I’ve had to read the code in PopUpManager.as about 3 times to get an inkling of wtf is going on, but basically, it finds the “true root” of your movie.

    While you can hide _root’s hardcoded timeline by using _lockroot, _root still has one way to get around it, and that’s that it is really a MovieClip which has a _parent property. So, _root has a _parent if he’s loaded into another movie. PopUpManager apparently knows this, and can dig his way up to find the true _root which is, as we all know, _level0. But, he uses elaborate recursion instead of writing _level0… whatever.

    Bottom line, this forces you to keep copies of component assets in the movie loading you if you wish to utilize PopUpManager. This defeats the whole purpose of loadMovie’s flexiblity in loading in any SWF into any container and/or circumstance.

    If I were using a modal dialogue, I’d think it’d be excluded from the rules of true modality because you cannot control “who is loading you“. While I appreciate the resourcefulness of PopUpManager’s attempt, it’s fatal flaw is assuming that movie loading it knows what assets are in the SWF it’s loading, and thus has exact copies to load.

    As far as I can see, 3 solutions, all of which suck:

    1. Keep assets in the SWF that’s loading the other SWF in. Already explained why this sucks.
    2. Utilize SharedLibraries to lessen the damage. So, if you are loading a “LoadingWindow” component, put it in a SharedLibrary, and have both the SWF that’s the container, and the SWF that’s being loaded both use the LoadingWindow as a shared asset. More to manage.
    3. Don’t use PopUpManager. Replace with attaching a component to _root since that can be abstracted away. However, you lose the modality aspect.

    This is why I don’t use loaded movies in my development. Flash & Flex, at least with the current component framework, does not facilitate it. I do not think an improved framework would work either because you’d need something player bound to allow easier asset sharing between SWF’s, otherwise you’re just relaying on an implicit contract. “Dude, can you give me like 2 methods in your SWF? I’ll then call them.” It’s the same thing you do when writing encapsulated classes, so hopefully Macromedia Flash Player engineers will see the parellels, and someday implement this ability to treat a loaded SWF just as an SWC treats it; a component.

    …anyway, real world solutions I’ve used: The first time, we just copied those assets needed (Window and Alert) in the main movie. The second time, I just said heck with it, and made the entire application an SWC and said here you go.

  • VGMap = Google Maps + Flash + JavaScript

    Caught this while trolling MXNA from injun #576871. Basically, they utilize Flash for what it does best and show additional graphics, mainly runtime, vector drawn plots/lines/graphics over top of Google Maps. The example includes a New York City Subway example. When compared to it’s boring forebear, you can see why someone would want to utilize this technology.

    I downloaded the beta code (assuming beta b/c of the b) they have available, and was very impressed. Nicely commented JavaDoc style, and even includes a build of the JavaScript Kit, which is used to allow JavaScript and Flash to speak to eachother easily. A little light on a glorified API wrapper, though.

    I will say this. This is a glaring example of what paying attention to women and beer vs. Trig in high school will do in the long run… either that, or I am just not a map geek. There is some SERIOUS math stuff going in there, mainly in the Flash side, which is really nice. I’ve used a lot of that abstracted stuff in the past, and man does it help. You know the result you want, and the code helps you get there without having to worry about how it really works.

    All I’d ask for is further abstraction in terms of methods via a wrapper class. While x, y, latitude, and longitude getter/setters are great, so to are “moveMapToHere”, and events for “map latitude and longitude changed”. Overall, great effort, and nice to see how Flash can compliment an existing technology by what it does best.

    Nat’s got some additional coverage over at O’Reilly Radar, although his title is backwards.