[Top][All Lists]

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

Re: [Swftools-common] Get pictures from MovieClips

From: Pablo Beltran
Subject: Re: [Swftools-common] Get pictures from MovieClips
Date: Mon, 5 Nov 2012 20:28:08 +0100

Well, I got all the pictures! the fill coordinates are relatives to the container page. So, I guess neither the child shapes nor the swfextract output are relevant. All the required information can be obtained from the swfdump -D command.


2012/11/5 Pablo Beltran <address@hidden>
Hi Mattias, 

I would say I've located the right child Shapes regarding the order. But now I'm getting new issues trying to get the pictures by using the ImageSnapshot class. I got few pictures, other are empty or they look displaced. ??

I need some help in order to interpret the swfdump -D output:

[014]     26723 DEFINEBITSLOSSLESS defines id 0013 image 734x449 (32 bpp)
[002]        45 DEFINESHAPE defines id 0014
                 | fillstyles(01)        linestyles(00)
                 | 1 ) BITMAPc 13        
                 | fill: 01/00 line:00 - moveTo 90.00 71.95
                 | fill: 01/00 line:00 - lineTo 90.00 310.35
                 | fill: 01/00 line:00 - lineTo 521.00 310.35
                 | fill: 01/00 line:00 - lineTo 521.00 71.95
                 | fill: 01/00 line:00 - lineTo 90.00 71.95

The data above corresponds to a png picture. Is the 734x449 the total size of the shape and  the fill coordinates below the offset to draw the png inside the shape container? 

Many thanks,

2012/11/4 Matthias Kramm <address@hidden>
On Sun, Nov 04, 2012 at 12:55:14PM +0100, Pablo Beltran <address@hidden> wrote:
> And those names instanceXXXX seem created randomly at run time (different
> each time the SWF is loaded). Hence, likely I must read another property
> rather than the child *name. *Right?

Hm, this part might be tricky. I'm actually not sure whether the ID is
exposed to ActionScript within the Flash runtime.

Maybe you can derive what is what by the order they come in?

The other option is to explictly give names to everything, which may or
may not be possible depending on how these SWF files are generated.


SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an existing subscription, please kindly point your favourite web browser at:<http://lists.nongnu.org/mailman/listinfo/swftools-common>

reply via email to

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