One bad thing about flash is that there's no batch process command in flash. Sometimes, batch process will save a lot of man power, especially when you are working on large projects.
Fortunately, flash has jsfl script, and it's very powerful.
So last summer when I'm working on a huge project with hundreds of swf in it, this script was born.
Here's what this script do and how it's done.
First, this script acquires the list of fla file need to be published.
Then jsfl command the flash application to publish the list one by one.
After excute, the script pop up a dialog ask for pathes of fla files, you can input more than one path.
Then it use FLfile to search the input path, find out every fla file and its related swf filein it and its sub folder, then compare their time, if the fla is newer than the swf, put the fla in the publish queue.
After user confirm the publish queue, the script publish these fla files, then report time used after finish.
In publishing state, you cannot cancel.
| Attachment | Size |
|---|---|
| batchpublish.rar | 2.24 KB |
Comments
Add to Bookmarks
Add to my Bookmarks )
Excellent job! :-).
Excellent job! :-).
Add to Bookmarks
save to my Bookmarks :)