Archive for July, 2008

Orientation Class

Thursday, July 24th, 2008

In the Flex framework we have the following classes…

BoxDirection
FormItemDirection
TileDirection
TileBaseDirection
ScrollBarDirection
ScrollEventDirection
SliderDirection.

All for the purpose of setting the orientation of a component (defined as direction), each class has the following 2 public static constants…

HORIZONTAL : String = “horizontal”
VERTICAL : String = “vertical”

Do we seriously need all those classes for those 2 options?

I logged a request on this a while ago suggesting they all get replaced with a class called Orientation. This for me would seem a more useable/consistent approach, and also would give me a class to use in my own components that required an orientation property set on them.

https://bugs.adobe.com/jira/browse/SDK-15859

This issue is now assigned to ‘community’ and I get the feeling that means its just lost and ignored, which is why I thought I resurrect it with a post here.

As I noted in the request, direction isn’t the greatest name for the property on the components that use the above classes as direction also implies, up, down etc… Personally i think the a property called orientation is much more fitting. If change it would mean the following…

[as]myComponent.orientation = Orientation.HORIZONTAL;
myComponent.orientation = Orientation.VERTICAL;[/as]

… which to me looks much tidier.

On a side note does anyone look through the community issues regularly to vote?

London Flash Platform User Group July 2008

Friday, July 18th, 2008

Big thanks for both Peter Hall and Johannes from Memorphic for their presentations last month. As usual their videos, presentations are online here.

Up this month up first we have Juan Delgado presenting ‘Source control for Flash’ followed by Dave Williamson presenting ‘Developing Flash Content For Mobile’.

This months event is sponsored by Adobe.

London Flash Platform 31st July 2008 (31/07/2008)

Drink Beer?

Thursday, July 17th, 2008

If your reading this blog, you probably have some interest in the Flash Platform. If your reading this post, you probably drink beer.

If both of the above are true for you then Flash on Tap could be your conference of choice. Yep you heard it right, and conference dedicated to Flash and beer!

This one sounds dangerous!

Flash on Tap