Mark Drew (Redux)- cf_etc...

a compendium of railo, cfml, cfeclipse and technology topics

Mark Drew (Redux)- cf_etc...

Using Flash components in Flex

November 23, 2006 · 2 Comments

This is a question to the community, I cant find any answers with my terrible Google skills, can you create a component in Flash and put it in Flex? I am thinking of making something that uses a lot of actionscript that would be easy(er) to do in Flash but can you then use that in Flex? Comments?

Tags: flex

2 responses so far ↓

  • 1 Mike Shaw // Sep 22, 2008 at 4:10 PM

    As far as I can tell the Flash 9 Alpha IDE cannot export swc files for components yet. For a graphing component I needed I put the visual assets into a swf and embedded that into a Flex AS component similar to what you would do in Flash anyway. You can asign each symbol in the swf to a var in the AS file but I think they are all embedded as Sprites. You may need to double check this.
  • 2 Tom Chiverton // Sep 22, 2008 at 4:10 PM

    Broadly, yeah, sure. There is nothing stopping you from writing actionscript heavy (Flex) components in Flex Builder or Eclipse though - it's what we've done.

    The core framework components are almost exclusively AS rather than MXML, for instance, if you download the SDK and start poking at them.

Leave a Comment