Wednesday 2009/07/01
10:09 PM

Categories:

Flash/Actionscript, Technology's Betrayal, Web Dev, Work

Event.ACTIVATE and WMode

Another classic case of finding things out the hard way: in ActionScript Event.ACTIVATE and Event.DEACTIVATE do not fire if the swf is embedded with wmode set to transparent. I was working on a project that needed to know when the user switched focus away from the swf, and couldn’t figure out why the event would fire in the standalone player but not when run in the browser.


Tuesday 2009/06/23
10:29 AM

Categories:

Flash/Actionscript, Tech, Technology's Betrayal, Web Dev

1 Comment

Changing Filename Case in SVN

This one has bugged me for a long time. During a project where things get passed from developer to developer or designer to designer things often get renamed to the same name, only with a different case. For example, myFlv_IN.flv becomes myFlv_in.flv. I used to think you had to move the files away, rename them, and then re-add them. Turns out if you simply include the full path to the repository it'll do the rename in place for you.

For example:

CODE:
  1. svn mv -m 'rename' http://my.repository.com/myFlv_IN.flv http://my.repository.com/myFlv_in.flv

More details can be found here, at the Subversion FAQ.


Friday 2009/02/20
1:48 PM

Categories:

Video


Monday 2009/02/16
10:51 AM

Categories:

Hockey

Back on the Ice

Hopped onto the ice for the first time in about six months. The Sled Dogs were having a practice and scrimmage, so I took the opportunity to shake off the rust. My stickhandling and shooting have definitely taken a hit during the layoff, but was a lot of fun to be skating again. Hopefully I'll get in a game before the season is over.


Wednesday 2009/01/21
5:15 PM

Categories:

Flash/Actionscript

1 Comment

Flash, CDATA tags and line breaks in htmlText

This is probably obvious to most, but it caused enough of a headache that I'm writing to remind myself down the line: when assigning strings containing <br/> tags remember to set the TextField's multiline property to true. Otherwise it will happily ignore the HTML line break.