Skip to main content
markerline
Inspiring
July 16, 2013
Question

is it possible to combine FLA, AS3, and Flex?

  • July 16, 2013
  • 2 replies
  • 3983 views

Hi.  I have a concept for using assets created in the Flash GUI and stored as Library elements in the Flash GUI but accessed and manipulated via AS3?  The issue I have is the concept has to be developed in Flash Builder/Flex 4.7 so I'm trying to figure out if there's a way to export each FLA library element using some kind of automated process that will enumerate each object for easy scripting access via an AS3 Array or Array Collection in Flex.

Any examples on this?  Thanks in advance.

This topic has been closed for replies.

2 replies

Inspiring
July 17, 2013

Second thought re enumeration.

You don't need JSFL. Just write a class that will contain an instance of array of library instances --> create SWC --> use instance of the class that has array to read values in Flex.

markerline
Inspiring
July 17, 2013

Thanks Andrei.  I'm still somewhat new to Flex and creating an SWC is something I've never compiled before.  At least not knowingly.  I'm also somewhat uncomfortable with classes but I am doing a bunch of reading and tutorials to get caught up.  I have been distracted since I last used to post to the Flash forum with other projects including music.

So hopefully I wlil be able to apply your suggestions.  Thanks for responding.

Inspiring
July 17, 2013

If you need to use objects created in Flash IDE as library in other dev environment - just compile SWC from the FLA that contains these objects and use this SWC as an external library in Flash Builder or any other IDE. As far as enumeration goes - perhaps you can do something with JSFL but it may be too much trouble. If FLA assets have linkage classes - using them is just a mater of instantiation of these classes which is no different from the standard syntax of creating instances.