Search code examples
apache-flexsvgflex4adobe-illustratorflashbuilder4

Adobe Illustrator to Flash Builder 4.6


I have a map of United States in .ai format. I would like to use it in my flex application.
The problem is the map is sliced on state lines, I would like to manipulate the States within the application.

Explanation: In my app I want to be able to click on a State to highlight it, and blast all other States out of the scene and then later bring back all the states back to make the entire country. Just like a jigsaw puzzle.

I imported the FXG file from Adobe Illustrator to my Flex application in Flash Builder 4 but I can't manipulate each state at a time!

would really appreciate help! cheers


Solution

  • I ended up converting fxg to MXML...

    I used the following code to do it:

    FXG to MXML Converter

    I changed the

    d:userlabel

    into attribute ID and it worked out extremely well!...