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,
Pablo.


2012/11/4 Matthias Kramm <[email protected]>

> On Sun, Nov 04, 2012 at 12:55:14PM +0100, Pablo Beltran <
> [email protected]> 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.
>
> Matthias
>
>
> ---------------
> 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>
>
---------------
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