This content has been marked as final. Show 3 replies
The FB help system is good, and I guess in the end it is necessary to just learn the technology and apply it well. It is frustrating when sample code doesn't work though.
Yeah I ran into the same issue. Most examples don't scale up to real life scenario's and it takes a while to figure out what does work.
For example, I'm running into a similar thing with localization. If you follow the documentation then you will have an enormous amount duplicate resource bundle name strings all over the code, with a typo in any one of them being hard to discover.
The examples are useful to see what parameters go into functions. Best practices they often are not though.
This may be a good starting to to work on a better solution. Seems to take care of the problem of repetitive code at least.
Hopefully someone from Adobe will address these issues, and improve on their documentation and examples. I find myself going through the Flex SDK source code sometimes trying to figure out why something doesn't work (DataGrid stuff in particular) or how to get a certain behavior.