I just had to-do this exact same thing with a map of New York State and the Flash Component Kit work perfect for me
I used Pete Ent's posting to make it happen http://weblogs.macromedia.com/pent/archives/2007/04/example_of_the.cfm Once I was able to pull in my swc I could set colors of each state sub swf, call functions and change states mapped to frame labels. Should work for you too, Anthony --- In flexcoders@yahoogroups.com, "Muzak" <[EMAIL PROTECTED]> wrote: > > Have a look at the Flex_Component_Kit_for_Flash_CS3: > http://labs.adobe.com/wiki/index.php/Flex_Component_Kit_for_Flash_CS3 > > http://www.adobe.com/cfusion/exchange/index.cfm? event=extensionDetail&loc=en_us&extid=1273018 > > > ----- Original Message ----- > From: "bebethschenk" <[EMAIL PROTECTED]> > To: <flexcoders@yahoogroups.com> > Sent: Monday, December 03, 2007 12:59 PM > Subject: [flexcoders] Advice on AS3 and Flex map project > > > I recently inherited some code for a basic mapping project that the > client wants done in Flex. The previous programmer created all the > artwork for the map and classes for the symbols in AS3. I've done > projects where you import symbols from .swfs but never where there's > code/classes associated with those symbols. > > So, my question is how to best proceed. A lot of work has been done, > so I'd like to reuse the code, but I'm not sure how. From my reading > it seems that importing .swfs with actionscript 3.0 code is not easy. > > Any suggestions? > > many thanks, > bebeth >