Re: [swfmill] prerelease 0.2.11.6
Steve Webster [EMAIL PROTECTED] (on Fri, 12 May 2006 22:50:52 +0100): I think I understand how the whole import mechanism works, and I can see why the 9-slice grid isn't imported (DefineScalingGrid is a sibling of DefineShape, not a child of it) but I haven't had enough time to even try to get it working yet. i see. could someone attach a as-minimal-as-possible swf using a scale9 grid to the bug at http://mirror1.cvsdude.com/trac/osflash/swfmill/ticket/9 ? its hard to test without a sample :) -dan -- http://0xDF.com/ http://iterative.org/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] prerelease 0.2.11.6
Hi Dan, I think I understand how the whole import mechanism works, and I can see why the 9-slice grid isn't imported (DefineScalingGrid is a sibling of DefineShape, not a child of it) but I haven't had enough time to even try to get it working yet. i see. could someone attach a as-minimal-as-possible swf using a scale9 grid to the bug at http://mirror1.cvsdude.com/trac/osflash/swfmill/ticket/9 ? its hard to test without a sample :) I've attached the SWF to ticket #8 since that's the one that deals with importing. http://mirror1.cvsdude.com/trac/osflash/swfmill/ticket/8 The red squares should be 50x50 pixels and the green square should be 300 x 300. If the red squares are 100x100 and the green square is 200 x 200 then the scaling grid hasn't been applied. Cheers, Steve -- Steve Webster http://dynamicflash.com ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] prerelease 0.2.11.6
Steve Webster [EMAIL PROTECTED] (on Fri, 12 May 2006 22:50:52 +0100): I think I understand how the whole import mechanism works, and I can see why the 9-slice grid isn't imported (DefineScalingGrid is a sibling of DefineShape, not a child of it) but I haven't had enough time to even try to get it working yet. I can see that you didnt even try, because your patch already solves that problem fine :) - as you might know, when importing SWFs, swfmill maps the id numbers to a new set, to assure they're not used twice. simply by understanding the DefineScalingGrid tag (and correctly labelling the property denoting the id of the referenced clip as objectID), ScaleGrids now get id-translated, thus continues to work. Alexandre could've actually gotten some nice quirky effects because the grid should've been applied to some arbitrary object (that got the id referenced). I'll give your simple-import another look, then apply the patch and do a prerelease. We need to get you svn access, you solved that problem it nearly a month ago :/ -dan -- http://0xDF.com/ http://iterative.org/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] prerelease 0.2.11.6
Hi Dan, Just for info, is this pre-release include the fix made for 9-slice (.diff attached to #9 ticket by Steve) ? nup, i'll have a look at that tomorrow tho. (didnt know about a patch being there). Sorry 'bout that. The 9-slice scaling is supported in swfml-ll and partially in swfmill-s, but Alexandre's problem actually stemmed from importing a SWF which already had a 9-slice grid defined in it. This is the reason I labelled swfmill-s support as provisional in the patch notes. I think I understand how the whole import mechanism works, and I can see why the 9-slice grid isn't imported (DefineScalingGrid is a sibling of DefineShape, not a child of it) but I haven't had enough time to even try to get it working yet. Steve -- Steve Webster http://dynamicflash.com ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org