As we all know, we can use the Flex Component Kit to add Flash content (animation, skin, components, containers, etc.) to the Flex application. If Flash Builder 4 is used, this workflow will be simpler.
1. Install Flex Component Kit for Flash CS4.
2. Drag the new Flash component or the new Flash container item from the component panel to the design canvas, as shown in the figure.
1
3. Double-click the placeholder icon or create it in Adobe Flash. The following window is displayed. Set the class name and swc file name, and click open Flash Professional cs4.
4. Create a new button in Flash, as shown in the following figure.
3
5. click finish and return to Flash Builder 4. You will find that the self-made Flash button component has been automatically added to the design canvas. the fla file is automatically saved to assets, while. swc is automatically saved to libs. As shown in the following figure.
This component is visible. In addition, in the past, we had to create or edit video editing elements in Flash and export them to Flash Builder in one way. Now the operation can be bidirectional, similar to processing Flash resources in Dreamweavert and Director.