Archive for the ‘Flex’ Category

Create Combined Java/Flex project in Flex Builder

Wednesday, April 23rd, 2008

One of the new features in Flex Builder 3 is that you can create a combined Java/Flex project. This feature was added to help developers who code on both server side and client side parts for a project. Also it really helps development by keeping all code together for a ...

Sending extra data in Java Exceptions to Flex Clients

Tuesday, April 22nd, 2008

When building Java services there is always need for handling exceptions thrown by all kind of sources. Wether those are ConstraintViolationException thrown by wrong database queries, NullPointerException thrown by wrong data manipulations or any other exceptions, all of them should end up handled in the Flex application calling the services. One ...

Flex Tip 7: Using Deferred Instantiation

Wednesday, March 26th, 2008

When you are using MXML containers and declare the children as MXML tags inside the component, there is a possibility to not load all child components at instantiation, possibility known as "deferred instantiation". That is, the instantiation is deferred by an amount of time depending on creationPolicy property of Container ...

Flex Tip 6: Garbage Collection in Flex

Monday, March 17th, 2008

One of the hot-spots in Flash platform is related to memory, how is it distributed inside the runtime environment, memory leaks and of course garbage collection. The way that memory allocation takes place inside Flash is by instantiation, every time a new Object is created, a memory block is created ...

Flex Tip 5: Using Runtime CSS

Thursday, January 24th, 2008

On large scale projects that will be deployed on more than just one location it is a constant need for re-skinning the application. This applies mostly to "embedding" projects, that is projects that will need to be integrated (embedded) into an already done site, with a custom template. First solution would ...

Flex Tip 4: Export Release Build (Flex Builder 3)

Wednesday, January 23rd, 2008

If you are creating new project in Flex Builder 3 you will notice that there is no "bin" folder where the .swf, .html and .js files are stored. Instead you get a "bin-debug" folder with the files. This is because Flex Builder 3 threats the project by default as a ...

Flex Tip 3: Using Namespaces

Monday, January 21st, 2008

Namespaces are used in ActionScript 3 to limit the scope of custom methods / properties / constants within classes. The most known namespaces are public, private, protected, internal thought you might know them not as namespaces but as keywords. Besides those you can create your custom namespace to use with ...

Flex Tip 2: Template Components

Friday, January 18th, 2008

Here's one of the old problems with the Flex Framework. Templates are not natively supported in Flex but there is one way you can do templates on custom components. Lets say we want multiple panels inside the application that look the same, each one has a header with a title and ...

Flex Tip 1: Private Class Constructor and Singleton

Thursday, January 17th, 2008

Currently, ActionScript doesn't have support for private class constructors thus any class's constructor can be accessed. But there are times when you'll want your class to be instantiated just one time, meaning its constructor called just one time. This relates to the Singleton Pattern where a class is globally accessible ...

Flex Tips on their way

Wednesday, January 16th, 2008

As i work all day long with Flex Framework, using and extending it to achieve some great projects i thought of posting tips and tricks to help developers get around issues they encounter. You'll be seeing pieces of code (once i get the code plugin to work :D ), ...

Cairngorm vs PureMVC

Monday, January 14th, 2008

As ActionScript gone into a fully fledged object oriented programming language, there are many frameworks out there developed or in development on top of AS 3. Two of the most known are Cairngorm from Adobe Consulting and PureMVC from Futurescale. Both of them are build on top of Model-View-Controller architecture but ...

Taking BlazeDS in count for Live

Saturday, January 12th, 2008

As you probably know, BlazeDS, the server-based Java remoting and web messaging technology from Adobe Labs will be available open-sourced. Now what this technology enables is connecting to back-end data and push data in real time to Adobe® Flex™ and Adobe AIR™ application. Right now StreamingBASE solution for web conferencing, online ...

Spell checking for Flex / Flash / AIR

Friday, January 11th, 2008

New cool component from Grant Skinner to spell check you text inside a Flex / AIR application. Usability ? Endless, any application that uses a text input / text area would benefit from such a component.Details about the component and some demos here. Right now there are some licenses and fees involved. And watch out ...

Here we go…

Wednesday, January 9th, 2008

What did you think? That i cant start my own blog? Well here it finally comes. I'm a partner at the firm of EyePartner as software developer focusing on Adobe's technologies like Flex, AIR and LiveCycle doing some cool projects like StreamingBASE, KuleBLU and many others that i will detail in ...