Hi All,
For those of you that are using lots of flash CS3 swf's, what is your
folder organisation and publishing process ??
Right now we have everything including project folder ~/Documents/Flex
Builder 3/<Proj>/ under subversion control. Everything that we want
to publish (to localhost MAMP in this case) is under src/. The fla
files are kept out of that src/ folder and have their publish settings
set to publish into the src/swf/ folder.
fla/
assets.fla
src/
Application.mxml
amfphp/
components/
AIRenderer.mxml
crossdomain.xml
remoting-config.xml
services-config.xml
swf/
assets.swf
html-template/
However... the only reliable process to view a change in your CS3
swf's becomes:
shift+F12 from flash (Publish), switch to eclipse, right click in Flex
Navigator->refresh, cmd+B, switch to safari, close any window/tab with
flex app in it, cmd+opt+e to empty cache, switch to eclipse, cmd+F11
to run your app with new content displaying.
without the refresh, eclipse will not pick up the changed swf files.
F11 will run the app, not copy across changed files.
without emptying the cache in safari you will often get cached content
(even though we are pulling in our swf's with a querystring parameter).
without closing the window in safari, on F11 the applescript will
close your freshly launched app window (along with all your help docs/
blogs/research).
using firefox instead of safari means that you can't launch help as it
errors out saying that firefox is already in use.
eclipse will also not copy across empty folders (even though you need
them in our output folder).
Someone kindly point out a better way of doing this.
Regards,
Nik