Monthly Archives: February 2010

Actionscript 3: Bold not working on external fonts in a font family.

There was an issue with compiling external font swf made up of a font family in flex builder. For example when trying to generate a set of AkzidenzGrotesk regular, light, bold and black the bold will now show up. Here … Continue reading

Posted in Actionscript 3.0 | Leave a comment

Actionscript 3: Get ratio value between two numbers

Simple utility for getting a ratio between two numbers. Thanks to my friend Jamie for the method. private function returnValue(value:Number, actualMin:Number, actualMax:Number, ratioMin:Number, ratioMax:Number):Number{ return (((value – actualMin) / (actualMax – actualMin)) * (ratioMax – ratioMin)) + ratioMin; } Here … Continue reading

Posted in Actionscript 3.0 | Tagged | 2 Comments