Archive for the ‘Flex’ Category

Setting Parameters With The Same Name Using URLVariables

Friday, March 20th, 2009

The ability to set and send form parameters with the same name is available with URLVariables though it’s not quite documented very well (at all?). Below are 4 examples of setting 2 values with same parameter name. The first example results in 1 parameter. The rest result in 2 parameters as expected.   // results [...]

Read full blog post: Setting Parameters With The Same Name Using URLVariables

Example of Feature Rich Dynamic Item Renderers in Flex 3

Friday, February 20th, 2009

In the last Flex 3 rich feature item renderer example we looked at item renderers that had some nice visual and functional features, in this example we will take it to the next step and introduce some dynamic abilities to the item renderers. By using dynamic item renderers you can create more flexible & reusable [...]

Read full blog post: Example of Feature Rich Dynamic Item Renderers in Flex 3

FABridge Error: “You are trying to call recursively into the Flash Player which is not allowed…”

Saturday, February 14th, 2009

Like many people, I’ve been using the FABridge a lot and loving the simplicity it provides. Also like many people I’ve run into the following JavaScript error thrown by the FABridge:  You are trying to call recursively into the Flash Player which is not allowed. In most cases the JavaScript setTimeout function, can be used [...]

Read full blog post: FABridge Error: “You are trying to call recursively into the Flash Player which is not allowed…”

Mysterious Default XML Namespace Issue

Monday, February 9th, 2009

I’ve been working with a RESTful service layer a lot recently that uses XML with a default namespace. In an ActionScript library project I have some delegate and model classes that natually use the default xml namespace directive. Once in a while I ran into a mysterious issue where the namespace doesn’t seem to be [...]

Read full blog post: Mysterious Default XML Namespace Issue

Slider Track Click And Drag

Wednesday, January 7th, 2009

The default Flex Slider component allows you to click the track to update the thumb position but does not begin the dragging of the thumb. I wanted that drag behavior but didn’t want to write my own Slider from scratch. I love to read code so I looked at the mx source and found a [...]

Read full blog post: Slider Track Click And Drag

Using Gumbo and itemRendererFunction to create multiple ItemRenderers

Wednesday, December 3rd, 2008

Gumbo has added an "itemRendererFunction" function that allows certain data containers to specify an itemRenderer based on the data item. In this example an FxDataContainer’s dataProvider is set to an ArrayCollection that contains 2 different types of Value Objects. Depending on the type of Value Object the itemRendererFunction returns a different itemRenderer. View Example (right [...]

Read full blog post: Using Gumbo and itemRendererFunction to create multiple ItemRenderers

Gumbo and Catalyst Photo Viewer Application

Wednesday, December 3rd, 2008

I’ve posted an example of a Flex application created with the MAX preview versions of Flash Catalyst and Gumbo. This small demo application was created to test out some of the new features in both Catalyst and Gumbo. It is not a perfect project, but a starting point for further projects. View Example (right click [...]

Read full blog post: Gumbo and Catalyst Photo Viewer Application

Deconstruction and reconstruction of a ByteArray

Tuesday, December 2nd, 2008

Many times you may come up with tasks that seem pretty straight forward but involve a bit of researching. In a recent project, I needed to find a way pass a dynamically generated image from one flex application (swf) to another. My senior developer suggested that I pass the ByteArray data of the image via [...]

Read full blog post: Deconstruction and reconstruction of a ByteArray

Awesome to the (Max 2008)

Wednesday, November 26th, 2008

In the last couple of days, I decided to go through my notes, collect all the presentation files (powerpoints, pdfs and zips) and find blogs that reference the keynotes. Essentially I wanted to reflect and review “the Happening” that was Adobe Max 2008, my first Max. For the most part I was impressed with this, [...]

Read full blog post: Awesome to the (Max 2008)

Architecting Flex Applications Presentation

Saturday, October 11th, 2008

For those attending the user group meetings where I present on the topic of Architecting Flex Applications you may have interest in downloading the code for the sample application. The sample application is from Programming Flex 3, where you can find more detailed information and explanations about the application itself. However, the code is fairly [...]

Read full blog post: Architecting Flex Applications Presentation