I'm a little late, but since Iban's been, well, banned...
function [ImageName]::onFire(%this, %obj, %slot)
{
Parent::onFire(%this, %obj, %slot);
%obj.playThread(2, "armAttack");
}
function [ImageName]::onStopFire(%this, %obj, %slot)
{
%obj.playThread(2, "root");
}
For example, for the sword this would be SwordImage::onFire and SwordImage::onStopFire.