This content has been marked as final. Show 5 replies
Sure this is possible. There're lots of ways you can do it. The very strait forward way is to compile your FLA into SWC (check this option in the publish settings) and than use that SWC in your Flex project. You can also embed the compiled SWF or load it and do with it whatever you want.
You should really investigate the Flash Component Kit For Flex
"cputnam14" <email@example.com> wrote in message
>I don't even know if this is possible, but here goes...
> I have a flash movie that has a button in it.
> I have a flex app that the flash movie is in along with a label.
> When I press the button in my flash movie, I want my flex label.text to
> WOOHOO IT WORKED!!!!
> I have no clue how to even start doing this, or if it is even possible.
> My eventual goal is to have a map of the USA in flash that when the user
> clicks a state it does something in Flex
Would this help?
Another possibility to investigate is the LocalConnection object of the Flash Player which enables two SWFs residing on the same page to communicate:
My preferred way would really be the Flex Component Kit for Flash as Luigi pointed out.
After looking through lots of stuff on the flash component kit...thats what I went with.
I converted each state to a movie clip, and copied it 3 times.
I changed the color for each one...
I published my swc file and now I have my button skins.
Everything works great. Thanks for the help folks