R – Flash and Flex workflow using a SWC

actionscriptapache-flexflashswcworkflow

Ill try to explain the best i can 🙂

I want to use the strengths of both Flex and Flash in an upcoming project. Doing the graphical related stuff in Flash and all the coding in Flex.

What i want to do is create a layout in flash making classes as you would normally by creating symbols and exporting them for actionscript etc. Then i want to export them as a SWC and edit all the classes in Flexbuilder. A CustomButton symbol is given a CustomSymbol.as ie.

However i cant really get it to work. Searching the net suggest that you extend the classes in the SWC which will give the same functionality. This however wont work if i got nested layouts. Since the components laid out in flash are not of the same type.

I somehow want to directly get in control of the Classes in the SWC.

Any ideas ?

Best Answer

I don't think you can directly access the AS3 code of a *.swc file, unless you hack at it.

I suggest using the "Design Mode" in FlexBuilder so as to be able to create layouts without having to worry about using Flex's MXML. I think this is the workflow that you desire; however, the code that it will produce will not be AS3 it will be MXML from my experience.

http://livedocs.adobe.com/flex/3/html/help.html?content=intro_workbench_4.html

Related Topic