We have been spending quite a bit of time lately ramping up our Flex skills around the office for both Flex 1.5 and Flex 2. We have been focused mainly on developing custom components in Flash for use in Flex. Seems that most of the Flex work that we are being approached on is up that alley.
Now while the process is quite straight forward, I have found that there are a few annoyances that come with getting into this. The are small but still worth mentioning.1/ Documentation:
The usual issue of course, but while there are some resources in relation to getting started on basic components, very little exists when it comes to what I would consider an advanced component. Extending containers, custom layout routines for containers, etc. Containers I have found to be the most unclear part of the documentation.
You find yourself trying to dig through the few Flex classes that are bundled in the Flex component development package, and many of those are precomiled, so you have to do alot of guess work.
So ultimately, I definitely think there is alot of room for more documentation and tutorials on component development for the Flash for Flex scene.2/ Exporting SWC from Flash
Now this process again is pretty straight forward, however again I have a few complaints about SWC development and export from Flash 8.
First, you have to bind the class to the component in two places. 1 in the Linkage properties, and again in the Component Definition properties. This is no big deal, but it is annoying. They could eliminate the one in component properties. Save us a step.
The other annoyance is linkage items in a SWC file. If I am developing a component I have to make sure that any linkage item is included within the component. They say in the docs, that you should create an assets layer and put an instance of each linkage item on a frame. You then move that frame out of the way and put a stop action on the timeline.
This is doable I guess, but it is really messy. There has to be a better way to designate that you want the items to export with the SWC.
So anyways not huge deals here, but I think as the popularity of Flex grows, this process will become a little bit more important to refine.