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 the root and any sub menu.
From the category archives:
Flex
This is more a post-to-self regarding Key Code values in Flex.
[click to continue…]
{ 0 comments }
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 forces me not to clean the data for this POC but it still proves the point. [click to continue…]
{ 1 comment }
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 didnt touch the code at all except to add a console log (window.console.log()) and tada… it works now. Well it was aparent that the fckeditor was not getting to where i needed to get to fast enough.
[click to continue…]
{ 2 comments }
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.
{ 0 comments }
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 adding and removing key listeners and mapping them to a dictionary of available keys. My final implementation handled [cmd + shift + key] for windows and [alt + key] for mac switched based on Capabilities.os. [click to continue…]
{ 1 comment }
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 do was walk through my application in the debugger, and what should have been a straight shot ended up turning into hours of troubleshooting my computer. The problem was when I would try to debug my flex app, safari would crash or hang or timeout.
{ 0 comments }
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 on flexcoders: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg83781.html
[click to continue…]
{ 1 comment }
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 which ill admit I have been know to over use.
Recently a co-worker David Chang and I looked into the exact process Flex takes when initializing an application and its components and at what stages the data is available.
[click to continue…]
{ 1 comment }
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 its after the method or after the block of code executes? Great question, and I honestly couldn’t with absolute certainty answer him so I went ahead and wrote this quick POC to prove the fact one way or another.
[click to continue…]
{ 1 comment }
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 I thought too, but as it turns out, it turned into a couple hours of work and debugging. The issue wasn’t as simple as an incorrect url, network timeouts, dead links, etc… Debugging the complete() event shows the image was getting to where it had to get to and that flex felt that it did everything it had to do. So what was the problem with loading the image? [click to continue…]
{ 0 comments }
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 find that writing an enumeration of static constants gives me the most flexibility and accuracy in my code.
{ 0 comments }
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 project im involved with right now requires a high regard to pixel perfect design, which meant a lot of back and forth between the ux team. Font rendering was clearly something that needed some direct tweaking from the ux guys. while I do think i have a pretty good eye for design, they are ultimately the ones who will sign off of subpixel font grid type fitting and so on. So now my goal was to separate as much of the text formatting from the components and hopefully normalize it as best as possible as well.
{ 1 comment }
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 of storage, and a custom url for your account. Signup for the beta here
{ 0 comments }
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.
{ 0 comments }
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 world of “Best Practices” and the pursuit of architectural sanity I felt that this was worth a post. [click to continue…]
{ 1 comment }






