Craig Grummitt – Before I forget

Discoveries in Swift and iOS development.

Author: admin

  • 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

  • adding classes dynamically Part II

    A little addition to a previous post on adding symbols dynamically from the library. I was having difficulty adding classes(that weren’t in the library) dynamically – they weren’t being recognised. var classRef:Class…

    Keep reading

  • CS4 component icon library bug.

    I’ve been wondering why items in my library disappear occasionally – including the library buttons and column headers! I’ve narrowed the problem down to a CS4 bug. Steps to reproduce bug: 1.Create…

    Keep reading

  • jerky raster animations

    It has always bothered me that animations of raster images are always jerky when they get to the point of animating less than a pixel per frame. Flash assumes that rasters should…

    Keep reading

  • Stage dimension limitation – 214×137

    I was trying to work out why the Flash Player Settings window was not appearing when i attached a webcam to a Video object, when i discovered that my stage was too…

    Keep reading

  • stage.mouseLeave and wmode=transparent

    noted a strange incompatibility today – the stage.mouseLeave event doesn’t get triggered when you hold a mouse button down, and drag off stage on a flash object which has wmode set to…

    Keep reading

  • dynamic text fields part II

    just got back from a six week holiday, so was wondering if i’d lost my mind while i was away… steps to recreate weird problem: 1. set up two dynamic text boxes…

    Keep reading

  • Frusting Flex problems solved #4 – preventing a DataGrid column from resizing

    What a laborious problem this was! I had set up a DataGrid that resized with the browser, and the user could also resize the column widths. However one column contained a button,…

    Keep reading