Last night I was working on a project which involved me having to display large amounts of data in a Flex list. However, this data needed to be transformed before being displayed. Let me explain with a simplified example.
The problem
Suppose we need to display a huge list of Result objects, where a Result object contains [...]
I am most proud to announce the development and upcoming release of Flextrine – an open source project I am developing that simplifies and encapsulates ORM with Flex and PHP. Very simply, Flextrine maps AS3 objects to database tables giving you the ability to save and load objects to a remote database without having to [...]
There have been some nasty fights recently between Apple and Adobe regarding allowing the Flash Player to run on mobile Apple platforms, which is starting to descend into massive criticism of the Flash platform itself. I guess its obvious which side of the debate I am going to be on and here is some of [...]
Adobe have just released the first version of Catalyst, a great addition to the Adobe suite which addresses the long-standing annoyances of skinning Flex applications. Basically Catalyst allows you to take a PSD or AI file, chop it up into Flex components, optionally add some interactions and then export the whole shebang info Flash Builder [...]
I spent a very frustrating day discovering that AMFPHP (trunk) doesn’t support class mapping to PHP classes that exist in the brand new PHP 5.3 namespaces. So, if you happen to have the following class mapping:
1: namespace vo;
2:
3: class User {
4: [...]
According to the notes buried deep within the Flex documentation:
If you use the ICollectionView interface to sort or filter a collection, do not use the IList interface to manipulate the data, because the results are indeterminate.
This means that if you are using an ArrayCollection as the dataprovider of a sortable component (e.g. a DataGrid), sort [...]
As Flash and Flex developers know all too well, browsers have a habit of caching SWFs so that when you put up a new version it doesn’t always show up on client machines. There are two classic ways to get around this – either by manually clearing your cache (and telling your clients to do [...]
A quick and useful titbit: in order to get the class of an object use the following code:
1: static function getClass(obj:Object):Class {
2: return Class(getDefinitionByName(getQualifiedClassName(obj)));
3: }
This is great for checking the type of an object. For example, if you have an object myObj1 [...]
My apologies to those of you who are watching my blog for updates - I’ve been working flat out on a number of exciting projects over the last few months including a plugin-based XML editor written in Flex which will be released as open source software in the coming weeks.
In the meantime I wanted to [...]
IntroductionPart 1 - FrameworksPart 2 - Directory structurePart 3 - Application and ApplicationFacadePart 4 - Notifications, Commands & Use CasesPart 5 - Model & ProxyPart 6 - The Application View & MediatorPart 7 - The Login View & MediatorPart 8 - The Roster View & MediatorPart 9 - The Chat View & MediatorConclusion, [...]