On Mon, Jan 3, 2011 at 6:37 AM, Jason<address@hidden> wrote:
Hi Ricardo
I hadn't seen your eply - I wasn't getting the mailing list emails. Thought
everyoine was on holiday.
Here are the files
The FLAs and swf are clearly marked AS2 and AS3
The 3 clips in each shoudln't loop as there is a stop action on the last
frame of each.
As you can see,
those extracted from an AS2 file work fine.
extracted AS2 file, when combined, ignore the stop actions
If you combine them in flash version 8 they should work correctly too.
But I'm guessing that you are combine them into flash>=9
extracted AS3 files ignore the stop action
extracted AS3 file, when combined, ignore the stop actions
You are right, swfextract doesn't extract as3 code. That's why you lose
those stops.
Not sure what you can make of this.
I did some little hacking in swftools-0.9.1 source and I was able to correctly
combine them.
But I'm not sure about the robustness of this hack.
What I've done was, to let swfextract extract the as3 code and symbols.
But those code and symbols will be repeated in all extracts and when combined
again it will be repeated too. You can check this with:
swfdump -a file.swf
and then search for tags SYMBOLCLASS and DOABC
I am a long-term Flash developer. But not so good at messing with *nix
installs !
If you system has all the necessary dependencies, it is as simple as:
$ tar xxvf swftools-0.9.1.tar.gz
$ cd swftools-0.9.1
$ ./configure
$ make
You don't need to "make install". All the tools will be in the
swftools-0.9.1/src directory
Then, if everything went ok, download the patch attached into
swftools-0.9.1 and do:
$ patch -p0< swfextract_as3.patch
$ make
And finally you can combined them with swfc:
.flash filename=as3-allclips.swf background=white bbox=300x250 version=9 fps=24
.swf animClip0 "as3-clip0.swf" as3name=as3_fla.animationClip_1
.put animClip0
.swf animClip1 "as3-clip1.swf" as3name=as3_fla.textClip_3
.put animClip1
.swf animClip2 "as3-clip2.swf"
.put animClip2
.end
I think I didn't forget anything.
Regards,
Ricardo