I have over 100 FLAs that have some code that opens a button in my Flex app. We've made some small changes to this code, and will probably make more in the future. I need an easy way to update these FLAs (would be nice to autopublish the SWF of changed files too, although there are several JSFL scripts out there for that already).
For example, I have several functions like this:
function CallFlexFunction1(e:MouseEvent) {
[login to view URL]("ba02.swf");
That need updating with this
function CallFlexFunction1(e:MouseEvent) {
dispatchEvent(new ClassViewEvent(ClassViewEvent.DO_VIEW_ACTION,{action:"loadMe",url:"ba02.swf"},true));
}
Doing this on each Fla w/ Flash CS4's "find and replace" panel would be a real pain, and we'd have to do it all over again if we modify the code again.
Any good JSFL people have something for this? I can't pay much for this - maybe $30, but if you know how to do it it could be 5 or 10 minutes of work.