Hello all,


I've spent some time using swfmill and I found that it's a great tool. I just 
decompiled a flash file (original.swf) to "output.xml" with swf2xml command and 
then compiled again with swfmill xml2swf to new-movie.swf. The result was an 
almost identical movie but with a problem: The buttons don't work.



I've look in the output.xml file and found this (just a sample):



<DefineButton2 objectID="7" menu="0" buttonsSize="35">

        <buttons>

          <Button hitTest="0" down="0" over="0" up="1" objectID="8" depth="1">

             <transform>

              <Transform transX="0" transY="0"/>

            </transform>

            <colorTransform>

              <ColorTransform2/>

            </colorTransform>

          </Button>

          <Button hitTest="0" down="0" over="1" up="0" objectID="8" depth="1">

            <transform>

              <Transform transX="0"  transY="0"/>

            </transform>

            <colorTransform>

              <ColorTransform2/>

            </colorTransform>

          </Button>

          <Button hitTest="0" down="1" over="0" up="0" objectID="8" depth="1">

            <transform>

              <Transform transX="0" transY="0"/>

            </transform>

             <colorTransform>

              <ColorTransform2/>

            </colorTransform>

          </Button>

          <Button hitTest="1" down="0" over="0" up="0" objectID="8" depth="1">

            <transform>

              <Transform transX="0" transY="0"/>

            </transform>

            <colorTransform>

               <ColorTransform2/>

            </colorTransform>

          </Button>

          <Button hitTest="0" down="0" over="0" up="0"/>

        </buttons>

        <conditions>

          <Condition next="0" menuEnter="0" pointerReleaseOutside="0" 
pointerDragEnter="0" pointerDragLeave="0" pointerReleaseInside="1" 
pointerPush="0" pointerLeave="0" pointerEnter="0" key="0" menuLeave="0">

            <actions>

              <Play/>

               <EndAction/>

            </actions>

          </Condition>

        </conditions>

      </DefineButton2>



I decided to decompile new-movie.swf and the button is defined there too, but 
it doesn't work in flash player 9. It seems swfmill writes actions in button in 
some way flash player does not understand.



Just wanted to report the problem.



Juan




__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.espanol.yahoo.com/ 

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

Reply via email to