combined visual effect and transition
function Zap()
{
// if we come in here again, turn the glow off to reapply it with the transition
if ( myimg.filters.glow.enabled == 1 )
{
myimg.filters.glow.enabled = 0;
}
// make sure the transition isn't already running
if ( myimg.filters.blendTrans.status == 0 )
{
// Produce a gradual glow effect
myimg.filters.blendTrans.Apply();
myimg.filters.glow.enabled=1;
myimg.filters.blendTrans.Play();
}
}
لو سمحت اضغط هنا