Archive for the ‘Flex’ Category

Flex 4 Custom Preloader

Wednesday, November 11th, 2009

In this example were going to look at a way to create a custom preloader SWC in Flash Professional and use it inside of a Flex 4 application by extending the SparkDownloadProgressBar class. This preloader will display the progress percentage of loading and also a count of RSLs as they are being loaded, after loading [...]

Read full blog post: Flex 4 Custom Preloader

“Content Assist” did not complete normally – bat file workaround

Tuesday, November 3rd, 2009

Follow up to my last post. I am having to do this enough that I wrote a bat file for it. Here is what it looks like if anyone is interested. Just copy and paste the code below into a notepad and save as a .bat file. I put mine in the root of my [...]

Read full blog post: “Content Assist” did not complete normally – bat file workaround

“Content Assist” did not complete normally. Please see log for more information.

Tuesday, October 27th, 2009

Here is a work around for this annoying bug in Flash Builder 4 beta 2: From: http://bugs.adobe.com/jira/browse/FB-21566 Close Flash Builder 4 beta 2 Delete this folder in your workspace: \.metadata\.plugins\com.adobe.flexbuilder.codemodel. Relaunch Flash Builder 4 beta 2

Read full blog post: “Content Assist” did not complete normally. Please see log for more information.

Example of Feature Rich Item Renderers in Flex 4

Thursday, October 15th, 2009

This is an example of creating feature rich item renderers in Flex 4. The example retrieves this blog’s RSS feed and displays each entry in a Spark List using Item Renderers. This example will demonstrate: Skinning an item renderer and list States in an item renderer Pass callback function to item renderer Override ItemRenderer ‘set [...]

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

Flash Camp St Louis 2009 – Code Samples

Sunday, September 13th, 2009

I had a great time presenting at Flash Camp St Louis this last Friday. The City Museum was a great venue. All the other speakers did a great job. Thanks JP for putting together such a great event! Here is the sample code I showed in the presentation. Rt-click and select View Source for the [...]

Read full blog post: Flash Camp St Louis 2009 – Code Samples

Flash Camp St. Louis 2009 – This Friday

Tuesday, September 8th, 2009

Two TMG employees presenting at Flash Camp St. Louis this Friday at the City Museum, Ben Bishop and Jason Hanson. Should be a good time. If you are in St. Louis and have any interest in Flash, Flex, or Catalyst think about coming. Tickets still available. www.flashcampstlouis.com

Read full blog post: Flash Camp St. Louis 2009 – This Friday

More Memory for FlexBuilder

Friday, August 14th, 2009

If you are like me and cannot stand long compile times you may find that increasing the memory allocation for FlexBuilder will help. To do this edit this file. Likewise, if FlexBuilder uses too much memory for your system you can make edits to this file. C:\Program Files\Adobe\Flex Builder 3\FlexBuilder.ini Here are my settings ### [...]

Read full blog post: More Memory for FlexBuilder

How to Use Asynchronous Test Methods with FlexUnit 4

Wednesday, July 15th, 2009

An essential part of Agile Development is to embrace the use of unit testing throughout the development of your project. Unit tests give the programmer to ability to run automated tests on their code at anytime to ensure that any refactoring or added code has not broken what was previously written. This luxury is a [...]

Read full blog post: How to Use Asynchronous Test Methods with FlexUnit 4

Ant Compiling in Flex Builder “Error: Java heap space”

Friday, July 10th, 2009

This week, I wanted to use Ant to compile a large project with a couple external libraries. Right after a few seconds of running my build.xml using Ant, I received this ugly message: compile flex project: [mxmlc] Loading configuration file C:\Program Files\Adobe\Flex Builder 3\sdks\3.3.0\frameworks\flex-config.xml [mxmlc] Error: Java heap space [mxmlc] java.lang.OutOfMemoryError: Java heap space …… [...]

Read full blog post: Ant Compiling in Flex Builder “Error: Java heap space”

How to Make a Flash Application into a Facebook Application and Page Tab

Thursday, July 9th, 2009

For the Morphic Group’s Facebook page we wanted to repurpose the featured projects part of our current website into a Facebook page tab. After looking at a series of tutorials and poking and prodding till it worked, here is how we did it. What you will need: – A webserver or hosting account that can [...]

Read full blog post: How to Make a Flash Application into a Facebook Application and Page Tab