Archive for the 'Flex 2' Category

Embeddeding Fonts in Flex 2
Friday, August 10th, 2007

In my all experience in Flash one of the things I get most frustrated with is working with fonts. It never fails; I try to do something that I think would be simple to do with fonts and Flash (or Flex) gets all up in my kool aid about it. I don’t want […]

Custom Item Renderer in Flex2 List Components
Thursday, August 2nd, 2007

Even though the word “renderer” just looks (and types) funny to me, it’s used in the Adobe documentation so I will use it as well. In any event, this is a pretty cool way to render data with defined controls within a List-type component. So that means you can also use this in […]

AIR Tour
Monday, July 23rd, 2007

For all of you in the US of A and in a major city, I recommend you check out the onAir tour that is going around: http://onair.adobe.com/
It will be a night full of Apollo apps and demos and free booze and food. I will be there for sure as I am very […]

Embedding assets in Flex2
Thursday, July 19th, 2007

If assets are on the root timeline; they may or may not have animation. Like:
If you are applying it directly to a symbol skin using the @Embed directive. Like: prevYearUpSkin=”@Embed(source=’/images/calButton.png’)”
To use the [Embed] for AS 3, you must build your project in Flex Builder. Also, you must do it as an Action […]

Adding components to a Flex app using AS 3
Thursday, July 19th, 2007

There is just a few things to remember when adding elements to a Flex application using AS 3.
Have an xml namespace to the class you are trying to use to add elements to the Flex app. Like: xmlns:pacyga=”com.pacyga.*”
Have a custom tag:

In your AS 3 class have it extend Application

You can now […]

Flex 2 Template Component
Saturday, July 14th, 2007

If you ever wanted to keep a particular layout or order of other Flex or UI components; a template component may be handy. The example project is a basic example of this. By using arrays I am looping through and adding components to an H or V box. I may put up […]

Cairngorm Example
Wednesday, July 11th, 2007

As my last post stated I am learning about the Cairngorm Framework. I have read up on the article on Adobe Labs and I have the WROX book that has a chapter or two on it as well. So I thought I would cook up a simple example that really doesn’t do much […]

Cairngorm Framework
Monday, July 9th, 2007

MVC has always been a popular architecture in RIAs for Flash development. Now with the advent of Flex 2 and AS 3; a pair of developers brought over an ideology borrowed from J2EE to Flex 2 and presented the community with the Cairngorm framework. Similar to the MVC design pattern, the Cairngorm framework […]