Today, I’m taking the time to talk about my new project, Forexagone.com. It’s a website (in french only so far) whose aim is to teach Forex to very beginners, in a way it has not been done before. We really make Forex easy to learn for beginners, who can really start from the very beginn ...
As nothing’s as straight forward as PHP, I had to write my own class to sort ArrayCollections. My work was inspired by what Peter Dehaan did.
The method is to be used as follows:
ArrayUtils.sort(games, "playerScore", "DESC", true);
to sort an ArrayCollection of games by player score, with a de ...
In Flex (as in Java, or even PHP) you can dynamically get references to a class from its name. Just to remind you, it’s that easy in PHP:
$className = 'User';
$myUser = new $className;
Not a lot more complicated in Java:
Class className = Class.forName("User");
Object myUser = className.newIns ...
When you upgrade a project from Flex 3 to Flex 4 (and by the way, if you’re a student, you can have a free license for Flex Builder at http://www.adobe.com/devnet/flex/free/index.html), you probably encounter this error if you use States:
Error: State overrides may no longer be explicitly decl ...
I don’t know why JSON is not natively supported in Flex, since it’s a widely used serialization format (even the latest version, Flex 4 when I write these lines). Whatever, if you want JSON serialization functions in your Flex application, you will need to add a library to your project ...