[swfmill] Restoring broken bounding boxes?

edA-qa mort-ora-y eda-qa at disemia.com
Thu Jun 28 10:28:47 EDT 2007


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.

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://osflash.org/pipermail/swfmill_osflash.org/attachments/20070628/a84d639d/signature.bin


More information about the swfmill mailing list