Refresh flex spark theme

515 Views Asked by At

I have two flex projects: A project with my custom theme and another project in which I want to use my custom theme. However, every time I modify the theme, I have to import it again, clean and refresh the project. I am using Flash Builder 4.5. Does anybody know a better way to use the custom themes?

1

There are 1 best solutions below

0
On BEST ANSWER

I found the solution to the problem. It is not that difficult and the results are great; you will be able to edit the theme, go to the design view of the project using the theme and see the results (no imports, no cleans, no refreshes).

Steps:

  1. Open both projects at the same time in Flash Builder
  2. In the main project (the project using the theme), go to Project > Properties > Flex Build Path
  3. Select the Library Path tab and click Add Project
  4. Select the project containing the theme
  5. You're done! The main project will now depend on the theme and will recompile the theme every time you build.

Hope it helps!