Beginning Flex: Triggering Effects using events

Filed under: Flex

comments (1) Views: 4,494

While working on a project at work, I needed to highlight a UI element when the user performed an action. The problem was that the action had no direct relation to the element. When the user saved a piece of data, I wanted to update a ComboBox, then add a glow effect to said ComboBox to let the user know that it had changed. Adding the effect was easy enoough but it took me several hours to figure out how to trigger te effect without directly interacting with the ComboBox. Here's a quick set of sample code in case you ever need something like this. Feel free to download the Flex Builder project files.


Right click inside the above area to view source

Amazon logo

If this article was interesting, or helpful, or even wrong, please consider leaving a comment, or buying something from my wishlist. It's appreciated!

Related Posts


comments powered by Disqus