Skip to content

The FlexWiz Blog

Notes on Flex, AIR and Game Development

Archive

Tag: ActionScript 3

Flex is often taken for granted when implementing flash/AS3  projects. However it is not mandatory to use Flex on the flash platform. Not only that, its not always the preferred solution for most RIAs.

In this post, I will cover a few alternatives to Flex while staying in the realm of Actionscript and Flash. Yes, this may sound strange from someone who makes his living using Flex, but there are situations when Flex can become a liability.
continue reading…

  • Share/Bookmark

There are many components out there to use in a game for displaying score. But can any of them do the job in 15 lines or less?

The following code makes use of a tweener. Tweeners are extremely powerful, and  typically used to move objects, but can do so much more. The first thing to know about a tweener is that you can tween anything, including custom properties.
continue reading…

  • Share/Bookmark


The standard containers like Canvas, HBox, VBox offer only a solid color background. Occasionally you’d want to place a gradient as a background – now you can, using this custom component GradientCanvas.

continue reading…

  • Share/Bookmark


For one of my projects, a client asked for vertical list with up/down buttons in place of scrollbars with smooth scrolling.
I found a few classes that gave a partial solution, but some gave choppy results, and for others I didn’t like their long and complex code. After a lot of tryouts I came across Doug McCune’s ButtonScrollingCanvas, which came close to what I needed.
continue reading…

  • Share/Bookmark