There are a few ways developers can use resource bundles in a flex application. When using a resource bundle, in particular a simple string, inside of an mxml file you can gain access to the resource using the resourceManager or … Continued
Flex
Skinning Checkbox with Error State
Similar to skinning a combobox with an error state, there may be times where you need to show the error state for a checkbox without showing its error string.
Skinning ComboBox with Error State
Since the ComboBox doesn’t come with an out-of-the-box error state / skin without using an error string, you can grab the sample code below to give your comboBox an error skin. The example implements the interface IValidatable which for the … Continued
Compile ASDocs with ANT
Continuing on with ANT – Flex compilation, this sample script below will help you output ASDocs for your projects deliverable.
Overriding Menu to include stage height bounds
I was working on a custom menu component uses Menu. Turns out that Menu doesnt inherintly understand the stage height of the application. What I ended up doing was creating CustomMenu which extends Menu and adds in height bounds for … Continued
Compile Flex applications using ANT
A quick setup and example of how to compile a Flex application using ANT. This example will show the basics of how to run the ANT script to compile your flex application, I will walk through more complex examples in … Continued
Using tokens in resource bundles
A quick sample on how to pass in token values to a resource bundle string. When you need to replace a token value in your bundle, you will want to use the resourceManager or ResourceManager and pass in the value … Continued
Flex Keycodes
This is more a post-to-self regarding Key Code values in Flex.
Flex Google Style Inline Auto Suggest Search Field
A quick little POC for building a drop down inline auto suggest, google style search field. The search is hitting a MySQL database populated with over 30,000 records, mind you some / a lot of them are duplicates and laziness … Continued
Passing arguments to javascript’s setTimeout() method using closures
Yesterday I ended up having to hack around FCKEditor a bit to “fine tune” it for a project im involved in. The problem was that the html text we needed from the editor was getting back to our app, I … Continued
Hello MXNA
Long time listener, first time caller here, I’ve been aggregated by Adobe Feeds, and im looking forward to posting a lot more relevant information related to AIR, FLEX, RIA development through my experiences and research.
Handling Keyboard Events
Im working on a project that required a Keyboard Manager to track shortcut keys within the Flex app, so i went ahead a wrote this quick little POC that I later incorporated into the project. I handle shortcut keys by … Continued
Installing CruiseControl on CentOS with Plesk
I recently setup CruiseControl on my server and figured it might be helpful to some to put together a little walk through. My server runs CentOS and Plesk which adds a bit of difficulty above the standard rehl *nix configurations. … Continued
Flex Debugger Crashes Safari
So I had one of those awful days at work yesterday, we have all been through it at one point or another, where basically for no reason at all, everything started breaking and nothing would work. All I wanted to … Continued
Flex 3 Profiler & [tincan]
While profiling an application I’m working on I came across and interesting method in my performance snapshot. Method [tincan], for those of you wondering what this is, as I was, I Googled Flex 3 [tincan] and came across this post … Continued
Flex Application Life Cycle
In the last project I was working on we were developing more so based on Flex’s Application and component life cycles. Binding data within the life cycle helps eliminate the need for weak references as well as direct mxml bindings … Continued
Flex Call Stack and callLater()
Ive used callLater() quite a few times before, but about a week ago a co-worker asked me if I knew exactly when callLater() was called. Well I think its 1 millisecond after the method executes, to which he re-asked if … Continued
Image Load I/O Error in Flex
On a project im working on I ran into a very strange error when trying to load in a simple .jpg image. The image wouldn’t load. Now this sounds like a very familiar issue and easily solvable right? That what … Continued
Enum toArray()
There have been plenty of times that Ive needed to reuse the values of my enums as an array. A good example of this would be an enumeration of US states. There are many ways of doing this, however I … Continued
Externalizing CSS Text for Designer
Heres a quick and easy way to separate font styles from component styles which will allow ux teams to skin fonts independent of the development team or even independent of the encapsulating component itself. This all came up from a … Continued
Adobe Photoshop Express
Adobe Photoshop Express, a cool little flex app offering up some bare bones features picasa style. Nonetheless its a very clean interface, very well done, and just good fun to play with. Signing up is pretty painless, you get 2gb … Continued
Flex skinning links
Just a quick list of some links for skinning in flex, programmatic, graphic, or what have you. Ill be updating this list here and there as I consolidate more links.
Talk to your view through your command
Admittedly, this is something I have grappled with for quite some time now, and apparently I’m not the only one. This is by no means a hot topic but for my own purposes, and as I venture deeper into the … Continued