(415) 240-4741
BLOG
Time-o-lite (05/03) I think I’ll have to get the domain name for this awesome tool I picked up at Urban Ore in···
text line metrics not calculating accurately (03/30) I am setting an html text field with a stylesheet and then some html text, and following that attempt to get the line height of a single line (such as the first) by textField.getLineMetrics(0). From that I check the lineMetrics.height value and it is always about 1.5 to 2 even though I have text···
Link to source code of a swc (03/24) Great tip I just found at: http://clintm.esria.com/2007/05/11/linking-source-code-to-a-swc-in-flexbuilder/ The path you would put when you “Edit” the “Source attachment: (None)” would be something akin to ~/Flex Builder/MySwcProject/src On my mac I now command-click into the···
Actionscript 3 regular expression for html special characters (03/23) A regular expression I am using to find html special characters. It will find both ” & a m p ; ” and ” & # 1 2 3 ; ” types. It is also case-insensitive. /&[A-Z0-9#][^;\s]+;/i Anyway, if this fails anyone, lemme know, but so far so good for···
textField.htmlText and multiline true gives inaccurate textHeight (03/23) I was looking to vertically truncate htmlText with an ellipsis (or any indicator string) if it were too long for the area denoted, and I set wordWrap and multiline to true. After attacking it from many directions (including removing any excess html if there was any), I was unable to get the text to···
mouseOver, rollOver Events buggy in Mac OSX 10.5 / Firefox 3+ / Flash Player 10 (03/23) I spent a few frustrating hours this morning trying to understand why mouseOver events in my code only fired on mouseDown. The component I’m building (but can’t demo here—sorry) also uses some mouseDown/Over/Up events, some of which include stopping event propagation, so I decided···
PureMVC on the IPhone? (01/15) Just when you thought they couldn’t port PureMVC to another language it shows up for the IPhone with a Cocoa port. I haven’t tried it yet I hope to in the next couple of days and for sure I’ll blog about it when I do. Apparently it’s 1.0 and there is one demo so we’ll···
Dgiin Show at La Pena in Berkeley (01/15) There’s a Dgiin show in Berkeley tomorrow night at 9 PM. tickets to be sold at the door. It should be fun and I’ll be···
Pretty Loaded - An homage to the preloader (01/12) A new feature here cause I’m trying to blog more and I run across some good sties that I figured I would share thoughts on. Today is: Pretty Loaded an homage to preloaded from the venerable Big Spaceship. I hope they add some community aspects to it as preloaders can be fun and engaging and···