Archive | February, 2007

Don’t trust Stage.width

28 Feb07

Just found an issue with cached SWF files in IE7 - Stage.width will sometimes be reported incorrectly. We had a Movieclip that used Stage.width for positioning and whenever the SWF was cached, that movieclip would be positioned off stage. Hardcoding a variable instead of using the property solved the problem.

I seem to remember that there were some issues with Stage.width some years ago as well? Anyway - great to finally be doing some Flash work after editing JSP and portlets the last couple months…

Supreme Commander on MacBook Pro

26 Feb07

256px-Supreme_Commander_Box_Art.jpgThis friday I joined Paulo to pick up a WII controller at a gaming store. He asked the guy at the counter for a demo disk of Supreme Commander, an RTS that I’ve been eagerly awaiting. Back at the office he had a look at the specs required and then gave me the disk as his gaming PC wasn’t up to it and he mostly plays WII these days anyway. Back home I found that my own gaming PC also struggeled a bit but then I remembered that Apple released an update to BootCamp the other day.

The MacBook Pro is quite a piece of hardware and it has a better GPU than my gaming PC so I thought I’d try BootCamp again to see what kind of performance I’d get. Easier said than done as my 120Gb harddrive was almost full and Bootcamp would need about 12Gb of space to install the game and XP. After a lot of cleaning and backing up old stuff, I had more than 30gb free, but BootCamp still wouldn’t install since there wasn’t enough contiguous free space on the drive. OSX has this funky Unix filesystem that supposedly does not suffer from de-fragmentation so there’s no tool in the OS to compact what is on the disk. After a bit of researching, I found this tool called iDefrag that did the job in two hours for $30. I now had 30Gb of contiguous space and BootCamp installed smoothly.

It’s kind of funny - updating XP after the install takes longer than the install itself. I must say that after using a Mac for such a long time, it really feels messy with all those balloons popping up in the lower right corner telling you that you don’t have any antivirus installed, windows update needs to be updated, I need to activate my XP, I need to prove that I have a Genuine copy, a bunch of updates must be installed and so on. OSX is just so sleek and “wise” compared to that. Anyway - Supreme Commander runs beautifully on the MacBook so I’m picking up a copy of the full game tomorrow. Great Fun and the zoom from World View to Battle is amazing! Runs pretty smooth on the native 1680x1050 resolution on the MacBook Pro.

Too bad that I didn’t try this before ordering a new motherboard and a MSI GeForce 8800GTS 640MB for the gaming PC. Guess I’ll install Vista then since I’m soon the owner of a DirectX 10 capable Graphics card or maybe I should cancel the order? Hmmm…

OT: Fight the dirty directories (Bedriftsguiden and buddies)

21 Feb07

Sort of out of topic and mostly of interest to those that can read norwegian or know Jarle from when he did Flash. My buddy Jarle Bergersen got tired of all those dorks that have started their own web directory and think they have a business idea that they can force onto other people. These companies sell listings though phone and they won’t take no for an answer - if you answer the phone, they will send you a bill no matter if you agree or not.

The company in question - Bedriftsguiden - is especially bad. What I find most amazing about this comany is that it clearly consists of people that cannot do even simple math. They claim to have 162.622 unique users a month but an amazing 2.498.610 page views for that same period. This means that the average visitor reads more than 15 unique pages when visiting a directory site like that. They have more ads than relevant content (approx 2:1 ratio on a random page I tested) and your ads will drown if you put them there. The average reader will not read 15 pages on such a site. Everything I know about usability tells me that the average user will leave such a poorly organized site quite quickly, maybe after 2-3 pages. I strongly suspect that they don’t know the difference beween visitors, hits and spiders gathering content in those numbers. They refuse to use professional aditing of their visitors, probably since they fear they’ll get lower numbers than the unprofessional software they use at the moment.

I love that somebody kicks those idiots in the nuts. Jarle got coverage in a national newspaper and now it keeps popping up negative stories all over the web about Bedriftsguiden. If you Google for their name, all you’ll find is negative stories about the company. Funny since this is a company that also claims to know how to do Search Engine Optimization… They’re so unprofessional and clueless that they also comment anonomusly on blogs that mention the story and try to say negative things about my buddy Jarle. Funny - most bloggers know that to have any kind of credibility you should post with Full name or nick + a working URL. Those that comment negatively without disclosing who they are usually have something they need to hide… lol

Anyway - Best of luck fighting them. If they ever sue you, I’ll chip in on the trial ;-)