Cairngorm, Flex Modules, Flex Remoting, Flex Examples, Flex Framework

Flex Examples: Adding invalidation to non-visual components

Problem: How do you implement invalidation in a non-visual class?

Solution: Use an instance of UIComponent to proxy the invalidation.

Problem with WebORB and ByteArray's as parameters

I recently ran into a problem with a drawing application I am working on. It wasn’t a major problem but I am sure someone else will run into it. The problem is with sending ByteArray's through WebORB as a parameter or a variable in a ValueObject.

More on Flex, WebOrb for PHP and dates

After my first article on WebOrb and dates in PHP I ran into another problem when sending dates from Flex to a PHP class through WebORB. This time it was a date that was sent as a property of a Value Object and not a parameter of the method. I finally decided it was time to figure this out once and for all.

What is AsyncDispatcher?

While poking around in the Flex SDK source code I came across an undocumented class called AsyncDispacther under \Flex Builder 3 Plug-in\sdks\3.2.0\frameworks\projects\rpc\src\mx\rpc and it reminded me of some of the tricks we used to use before Flash Player 9 to overcome problems we encountered.

Flex Examples : Validating user input in a TextInput Component

Scenario: You need to validate user input in a TextInput component for legal values.

Solution : Use the 'textInput' event to intercept the characters a users types before they are committed and cancel the committing of the character if it is illegal.

Flex, WebORB for PHP and dates

This is a problem that I have ran into in the past but never really investigated it. This problem has 2 parts - the first comes from sending a Date object from Flex through WebORB for PHP and then using that date in a sql query and the second comes from pulling a date from a MySQL table in PHP and returning it to Flex.

Syndicate content