Archive for the ‘Flex’ Category
I’ve had chance to play with Robotlegs this weekend and have really enjoyed it. It’s really lightweight and you find that you spend more time coding rather than repeating the same tasks like you would do in other frameworks.
The first demo I put together was a simple Twitter Search application, using the Twitter Search API. You can see the demo in all it’s glory by clicking the image below! View Source is enabled so you can download the source and have a play; you will need the Robotlegs SWC to compile though, you’ll find this on the Robotlegs website. If you have any feedback or questions please leave a comment below!
Continue reading »
Recently I’ve been introduced to a code formatter for Flex Builder 3 and thought it was worth sharing. The plug-in formats, indents and rearranges both MXML and ActionScript code.
Downloading the plug-in
There is a version of the plug-in available here, but I haven’t installed it from there. Below I’ve included instructions on how to install the plug-in using the software updates feature in Flex Builder. Continue reading »
I was working on a Flex project last week that dynamically used assets from a Flash library SWC and came across something I thought was worth sharing.
The application compiled correctly when using the assets within the code i.e. var object:Asset = new Asset(). However, when choosing to use the asset dynamically (with the use of getClassByAlias()) the application threw a runtime error. So, unless the asset was used within the application it was not compiled into the published application.
I found that by changing the link type of the SWC from ‘Merged into code’ to ‘Runtime shared library (RSL)’ I was able to use the asset dynamically within the application without the asset being used within the code.
Therefore, if you want to use Flash library assets from a SWC dynamically ensure that the link type of the SWC is set to ‘Runtime shared library’.
Does anyone have any comments or different solutions?