djcsdy/swfmill — Issue #17: Actions in buttons (still) not working in AS2 (0.3.2)
Author: etrepum
Created: 2011-12-01 01:20:19+00:00
State: open

https://bugs.launchpad.net/swfmill/+bug/728591

This doesn't appear to be fixed, or it's just broken in a different way.

$ swfmill --version
swfmill 0.3.2

Comparing the flasm output.

Original:

defineButton 40

on overDownToOverUp
push 0.0, 'this'
getVariable
push 'onClicked'
callMethod
pop
end
end // of defineButton 40

swfmauled by swfmill:

defineButton 41

on
toggleQuality
push 0.0, 'this'
getVariable
push 'onClicked'
callMethod
pop
end
end // of defineButton 41