Okay, now my next question is for the format of the XML.  Is there a
reference as to what the various elements and attributes mean?

That is, what does the x,y of ShapeSetup imply, or of CurveTo?  So far
I'm guessing the units are twips, but either I'm totally confused on
these elements or Corel is truly writing arbitrary bounds information
(regardless of how I add the various CurveTo/LineTo I don't get anything
near what the bounds is written as).

Ralf Fuest wrote:
> Hello edA-qa,
> there is no build-in function in swfmill to recalculate the bounding
> boxes.
> But this shouldn't be hard to do in an external program using the way
> you described (swf2xml, correct bounds, xml2swf). The program needs to
> recalculate the bounding boxes by looking at the edges inside the
> DefineShape Tags. Perhaps this could also be done using XSLT.
> 
> Ralf
> 
>> I have a problem: the Corel SWF exporter I'm using, while setting the
>> correct size in the output files, is creating a bounding box larger than
>> desired.  I see no option to fix this in Corel (Ver11).
>>
>> Now, using swfmill I can easily get at the original size, but I also
>> notice the various <bounds> items.  These bounds are larger than they
>> need to be to contain the items.
>>
>> Is there any way in which I can automatically calculate the correct
>> bounds?  (Thus I would convert the SWF to XML, calculate correct bounds,
>> modify the XML, convert back to SWF).
>>
>>
>> NOTE: Having this additional bounding box makes using the width/height
>> variables of a DisplayObject in Flash9 virtually useless.  I also see no
>> way in actionscript to modify the bounding box of loaded clips.
> 
> 
> _______________________________________________
> swfmill mailing list
> swfmill@osflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
> 
> 


-- 
edA-qa mort-ora-y
Idea Architect
http://disemia.com/

Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org

Reply via email to