swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] AS3


From: Jason
Subject: Re: [Swftools-common] AS3
Date: Tue, 04 Jan 2011 22:27:58 +0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7

Hi Ricardo

I think I will keep this patched system seperate from the PEAR install.
That way I won't mess up the app if I ever update the PEAR one.

My app is working in severalstages :
1) extract eveything in PHP
2) import all swf into Flash
3) adapt the positioning of swf elements
4) send new coordinates back to PHP
5) rebuild the combined swf from the original extracted swf and the repositioning data sent by Flash

The recompiling (stage 5) is not working ... is this because I need to extract and recompile within the same PHP script execution for the AS3 code to be picked up correctly when recompiled ?

Your explanation was very good.
I am the fool for installing two copies of swftools on the same server, and then being surprised when I got confused !!!!

Thanks

Jason


On 04/01/2011 21:41, Ricardo Pedroso wrote:
On Tue, Jan 4, 2011 at 1:58 PM, Jason<address@hidden>  wrote:
Hi Ricardo

I have got that working.
Thanks a BILLION !!!!

Great.

Is that because you patched swfc and swfextract... and the -3 is only needed
in the first two ?
The -3 is for swfextract only and be aware that it could never be in the
official distribution.


I will clarify what that patch does.

The files patched are swfc.c and swfextract.c
swfc.c:
    the changes are a backport of what is already in the repository,
    is the inclusion of as3name in .swf command. So you will
    have that feature in future releases.

swfextract:
    the change is adding a switch (-3) to be able to extract the
actionscript 3 code.
    In other word is to swfextract not ignore SYMBOLCLASS and DOABC tags.


I mademy own 'bad' by having two installs... and patching only one.
Yep, I could be more clear, but sometimes I have some difficults to explain
for 2 reasons:
1. Its very clear to me ;)
2. English is not my mother language.


But I have no idea where PEAR installs swftools.
you can see where is installed with:
$ which swfc
$ which swfextract
....

or using "type" instead of "which"
$ type swfc
....


Ricardo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]