I'm looking for some help in using maven to manage a dependency on a
stylesheet i want to load at runtime in my flex application.
I currently have 2 maven projects: project A contains my css file
which i can compile into a SWF using flexmojos. project B is my main
application and i want to use the Flex StyleManager to load the swf
generated by project A at runtime . If i manually copy the generated
style.swf into sr/main/resources/style, i can load it using the
following code:
StyleManager.loadStyleDeclarations("style/style.swf",true);
However I want maven to automatically include the syle.swf when i
build project B. I have added project A as a dependency on B, but I'm
unsure where or how it bundles up the style.swf within the swf
generated for project B? What line of code should i use to enable the
StyleManager find the style.swf file?
--
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en
http://blog.flex-mojos.info/