I'd like to use this opportunity and invite Flex developers living in Europe
to attend our Advanced Flex Master Class in Brussels, Belgium on March 1 and
In my previous post I pointed to the BlazeDS classes that need to be replaced
in order to prevent ActionScript Number.NaN from turning into Long or Integer
zeroes on the MessageBroker side.
The recommendation boiled down to re-jaring flex-messaging-core.jar or
placing the modified classes somewhere earlier in the application server's
If neither option is allowed, you may configure your endpoint with the custom
type marshaller, like the one below:
Browser-based applications are widely used and we like the fact that we can
access them from anywhere. But from the users' perspective, the productivity
level of Web applications still doesn't approximate the productivity of
desktop programs. The good news is the gap is closing: the accumulated
potential of multiple technologies has boosted a whole new breed of
HTML-based apps that are as powerful as the desktop ones. Meet AJAX.
What Is AJAX?
can establish socket communication between browser-based JavaScri... (more)
In any GUI tool, one of the most popular components is the one that shows
data in a table format like JTable in Java or Datawindow in PowerBuilder. The
Adobe Flex 2 version of such a component is called DataGrid. In any UI
framework, the robustness of such a component depends on formatting and
validating utilities as well as a whole suite of data input controls:
CheckBoxes, ComboBoxes, RadioButtons, all sorts of Inputs, Masks, and so on.
Using theatrical terminology, the role of the king is played by his
entourage. Practically speaking, touching up the DataGrid is touching up a ... (more)
This is a book excerpt from the book RIch Internet applications with Adobe
Flex and Java.
Configuring the Server-Side Destination and Proxy
For security reasons (similar to the Java sandbox concept), Flash clients can
only access the domains they come from, unless other servers declare,
explicitly or implicitly, trust to SWF files downloaded from our domain by a
corresponding record in a crossdomain.xml file. But our portfolio SWF wasn't
loaded from finance.yahoo.com, and we aren't allowed to install
crossdomain.xml on the Yahoo! servers. We'll use another technique called
Flex p... (more)
Remember this old little rhyme?
For want of a nail, the shoe was lost;
For want of the shoe, the horse was lost;
For want of the horse, the rider was lost;
For want of the rider, the battle was lost;
For want of the battle, the kingdom was lost;
And all for the want of a horseshoe nail.
This little poem often comes to my mind as a see increasing number of
amateurs perceiving Flex as yet another "library of controls". The fact is,
it is very easy to start coding in Flex. So much that hot-heads get on the
coding spree before noticing that Flex is a beautifully crafted framework
with pro... (more)