Using CSS to set properties in Flex
I am working on a project where I need to make the view layer fit into a small interface. Unlike in HTML, we can’t use css to control all of the look at feel features of the components in Flex. And example of something I wanted to do was to use CSS to change both the font-size and the height of a TextInput control via css. Unfortunately height is a property not a style, so be default it...
Read MoreActionscript 3 just keeps getting a little more Java
I don’t know exactly why I associate Inversion of Control (IoC) and Dependency Injection (DI) with Java… Well of course its because of Spring. But anyway, as Flex and AS continue to mature and the developer ecosystem grows we continue to see trends in the type of development being done. And as my title suggests many developers are following the techniques of Java. This post is not...
Read MoreXML Classes in Actionscript 3
I was scanning twitter yesterday and I saw a note from a frustrated developer who couldn’t find any really good simple example of the difference between XML, XMLList and XMLListCollection. Being the handy and informative (read nosey) guy that I am I decided to respond to the tweet to discuss this. The problem here is that I only had 140 chars to explain and I only got through XML and...
Read MoreSmooth Animation in Flex
A while back I wrote a small swf for the header in my wifes site. I wrote it in flex using an HBox and i set the horizontalScrollPosition of the HBox to slide the images along. I was never very happy with it because despite my best efforts to make it scroll smoothly, I never could, it was always choppy. I ended up experimenting with using just AS3 to do the same thing and the results were...
Read MoreA Closer Look at Array’s in ActionScript 3
I have been working with ActionScript for a long time. And I have to admit I don’t know if the reason I never noticed some of the functionality was it was added after I read the documentation, or if I just never looked close enough to pick it up. But never the less I find that I have been overlooking some gems that are built in and so I wanted to make sure that you are not overlooking them...
Read More
Recent Comments