[we're not talking about those mirror-images that were hip in Flash for a year.] reflection allows your code to inspect its own properties, methods, type, parent-type… . used in recipes including copying xml values to object properties & creating a decorator which extends proxy. I’m putting useful examples below, in one convient spot. ReflectionUtil.rtf includes: [...]
as a trainload of contrast to my last post, I’m playing with Robots. I created an integration of BulkLoader & Robotlegs. assets are grouped as specified in the accompanying assetsLoaded.xml. asset groups are loaded/unloaded on request, using Robotlegs commands. read more @ the project wiki. download the source @ github. view the demo that’s included [...]
I finally got fed up with recompiling our Flex application for the different servers I had to deploy to and decided to have it automatically figure out where it is and configure itself. This should have been relatively simple as the swf’s URL is known by the Flash player and was always available in Flash [...]
an especially relevant bug to anyone skinning, 9-slice is non-operative on bitmap assets imported from flash. this lost me a couple hours while skinning tonik.
Find code & commentary. Provides mail list tracking, RSS feed pulls, Search, plus Chat about Flex/Apollo/Flash.
Our current application uses a large XML structure to send data back and forth between the frontend and backend. This is a legacy interface which was created 2-3 years ago by the developers of a Flash 6 version of the same application and has stuck with the system since then. If I had my druthers [...]
Further work with Flex Validators has lead me to find yet another limitation. You can have only one Validator per element. If you attempt to apply multiple Validators for one element you end up with the last one fired usually taking precedence as its errorString and valid/invalid events are the last set/fired. I do see [...]
While building out a new framework for a series of highly form-centric applications in Flex 2 I ran into a strange problem. Seeing as I’m now using Flex I wanted to do things the right way and use a Validator to make sure that a value was selected. Imagine my surprise when the validation didn’t [...]