Repository for the random musings of the award winning digital creative developer Matt Bindoff. Pls excuse this theme - waiting to get some time to integrate into site design. Also website way overdue for an update. One of these days... bindoff.co.uk


Quote

Sep 3, 2010
@ 10:22 am
Permalink

W3C Leads Discussion at TypeCon 2010 on New Open Web Font Format (WOFF)

W3C News Archive: 2010 W3C


Photo

Sep 3, 2010
@ 9:36 am
Permalink

Auditorium - wonderful sound toy

Auditorium - wonderful sound toy


Text

Sep 2, 2010
@ 4:09 am
Permalink
2 notes

AS3 dynamic fonts class

agione:

Simple class to include dynamic fonts in your flash movie. You can either compile this from your fav AS editor or apply it to an FLA as the document class.

To access the fonts, all you will need to is load in the generated swf into your project and use the fontName value you specify in the class to apply the appropriate font.

It’s also good practice to limit the unicode range to characters you need. Adobe provides a good reference, flash-unicode-table.xml, which you can find inside the Flex SDK 2/frameworks folder.

package {
   
    import flash.display.MovieClip;
    import flash.text.Font;
   
    public class Fonts extends MovieClip {
        [Embed(source=‘C:/WINNT/fonts/DiCnBd.ttf’, fontName=’_dinBold’, unicodeRange=‘U+0021-U+007A,U+00BB,U+00A9,U+2122,U+00AE’)]  
        public static var _dinBold:Class;
        Font.registerFont(_dinBold);
        trace(”_dinBold LOADED”);
       
        [Embed(source=‘C:/WINNT/fonts/arial.ttf’,fontName=’_Arial’, unicodeRange=‘U+0021-U+007A,U+00BB,U+00A9,U+2122,U+00AE’)]  
        public static var _Arial:Class;
        Font.registerFont(_Arial);
        trace(”_Arial LOADED”);
       
        [Embed(source=‘C:/WINNT/fonts/arialbd.ttf’, fontWeight= “bold”,fontName=’_ArialBold’, unicodeRange=‘U+0021-U+007A,U+00BB,U+00A9,U+2122,U+00AE’)]  
        public static var _ArialBold:Class;
        Font.registerFont(_ArialBold);
        trace(”_ArialBold LOADED”);
       
    }
}


Link

Sep 1, 2010
@ 9:46 am
Permalink
1 note

Result of expression ‘document.forms[0].submit’ [[object HTMLInputElement]] is not a function »

This one had me stumped, until I realized what it was telling me… that my submit button was named “submit”.

<input type="submit" name="submit" id="Button1" />

I changed the name of the submit button and the problem went away.

<input type="submit" name="button1" id="Button1" />

Basically, Javascript provides a “convenience” by adding the names of the form inputs as children of the form. But this then clashes with preset function names, like the submit() function.


Text

Aug 31, 2010
@ 7:05 am
Permalink
2 notes

Easily creating your own iOS icons

If you’re looking to try your hand at creating an iOS icon a quick little tip for those that want their site to render an icon on the homescreen when bookmarked, simply save out your icon as “apple-touch-icon.png” and dump it in the root directory of your domain.



Photo

Aug 30, 2010
@ 6:25 am
Permalink

Espresso. Code editor for Mac - looks like it&#8217;s giving Coda a run for it&#8217;s money.

Espresso. Code editor for Mac - looks like it’s giving Coda a run for it’s money.


Link

Aug 27, 2010
@ 6:27 am
Permalink
3 notes

Ultimate list of jQuery Selectors »



Photo

Aug 25, 2010
@ 12:02 pm
Permalink
2 notes

50 Fresh Useful Icon Sets For Your Next Design

50 Fresh Useful Icon Sets For Your Next Design