Archive for January, 2010

London Flash Platform User Group January 2010

Thursday, January 14th, 2010

The start of 2010 sees LFPUG continuing with the same format, 2 one hour presentations on the last Thursday of each month.

First session of the year will be presented by Dennis Ippel with a session on 3D workflows for Flash. Following Dennis will be Adam Chappell with a session on SEO for Flash.

London Flash Platform User Group 28th January 2010 (28/01/2010)

Sponsored by (and huge thanks to) friends of ED.

AnimateTransitionShader

Monday, January 11th, 2010

A couple of days ago Corey Lucier posted a couple of nice examples of the new Flex 4 AnimateTransitionShader.

Like Flex 3, the new effects don’t handle being interrupted well. They jump abruptly to the end of the current IEffectInstance, then start a new one. The abruptness is what your trying to get away from when you decide implement an effect, opting for a smooth transition.

With a bit of tweaking about it was fairly easy to hack around this. Here’s what i changed

  • When an effect instance is interrupted it takes a snapshot of the view, and passes this a a bit of other info to the effect factory.
  • The effect instance then stops the final value being applied.
  • When creating an effect instance the effect factory looks inside itself for any interrupted effects that have the same target. If it finds one it passes the data through to the instance.
  • The effect instance then uses the snapshot to transition from.
  • In the examples below I’ve added a couple of more states and a ButtonBar to navigate. I’ve also removed the easing to make it a little simpler to see. If you click around a bit you should see the difference.

    (more…)

    FilterComboBox

    Tuesday, January 5th, 2010

    Here’s a little component I knocked out over the holiday period for use in a current project.

    Its basically a rip of ComboBox (extends ComboBase due to private methods in ComboBox), that will filter the dataProvider depending on what the user enters into the TextInput, and select the text to show you where a match is found (can only select the first match in FP9). You can also set it to be case sensitive (false by default).

    There’s a few other components out there with the same functionality (some you have to pay for some you don’t), most of which can be found doing a search for ‘AutoCompleteComboBox Flex’.

    They either didn’t quite do what we wanted or were too complex for our needs.

    (more…)