Craig Grummitt – Before I forget

Discoveries in Swift and iOS development.

Writing

The public notebook: Swift, iOS, Flutter, and a long trail of “I will definitely remember this.”

  • Frustrating Flex problems solved #5 – ButtonBarButton bugs

    So i had a series of custom Buttons all set up perfectly in a ButtonBar, when I realised that the design dictated that one of the buttons was a different size than…

    Keep reading

  • ,

    XML read error in AIR

    Back to blogging, working on a couple of projects: I was importing an XML file using the standard technique of using a URLLoader, and in the result handler, setting the XML file…

    Keep reading

  • latin flash tour

    Went to the Latin Flash tour last week in Bogotá, and met Lee Brimelow. He went over and demonstrated some of the latest updates to Flash CS5 and the FlashPlayer 10.2. Features…

    Keep reading

  • Where in the world is Craig?

    There´s been not much movement in this blog for a while because I´ve been travelling South America for a few months and am currently in Bogotá, Colombia. If by chance anyone in…

    Keep reading

  • Embedded fonts disappearing when loaded into another SWF

    I once found that when an AS3 flash movie(let’s call it parent) that contained a UIComponent, loaded another AS3 flash movie(let’s call it child) that contained a UIComponent with embedded fonts, the…

    Keep reading

  • Component styling utility function

    In addition to an earlier post here: I have put the sample code into a simple utility function that will apply a TextFormat style to any component or TextField, without needing to…

    Keep reading

  • ‘as’ isn’t the equivalent of typing.

    I guess I hadn’t thought too deeply about it, but I always thought that the ‘as’ Operator was the equivalent of typing a variable. pseudo code example: [sourcecode language=”actionscript3″] type(test) = test…

    Keep reading

  • ComboBox direction

    I needed to force the Flex ComboBox to open in a specific direction. (I’m using a HTML Component FCKEditor, which has to be on top, so I need to aim the ComboBox…

    Keep reading

  • "Color" component parameter

    I never really understood why when you define a component parameter, you can define its type. Wouldn’t the variable type that the parameter is related to, always define the type of the…

    Keep reading

  • Skinning the DateField icon

    When adjusting the Date icon skin in a DateField component, its not sufficient to just use the css that Flex auto-generates when importing the Skin Artwork. In addition to ‘skin’, you must…

    Keep reading