Horizontal Halo Form Layout

Written by

I cannot count the amount of times I have had to use damn mx_internal in this project !@$%^ It’s been raised by many a developer that inaccessibility of certain properties in halo components is a grade A pain in the ar$e and I agree, Spark is already a vast improvement.

My latest was getting an mx:Form to layout horizontally, to do this simply create a custom class that extends form and stick this in the constructor:

1
mx_internal::layoutObject.direction = BoxDirection.HORIZONTAL;

Comments