on beginSprite me
if whichEvent = #beginSprite then
run me
end if
end
on endSprite me
if whichEvent = #endSprite then
run me
end if
end
on mouseDown me
if whichEvent = #mouseDown then
run me
end if
end
on mouseUp me
if whichEvent = #mouseUp then
run me
end if
end
on mouseUpOutside me
if whichEvent = #mouseUpOutside then
run me
end if
end
on mouseEnter me
if whichEvent = #mouseEnter then
run me
end if
end
on run me
repeat with n = startSprite to endSprite
if the scriptInstanceList of sprite n <> [] then
repeat with i = count(the scriptInstanceList of sprite n) down to 1
if string(getAt(the scriptInstanceList of sprite n, i)) contains scriptName then
deleteAt the scriptInstanceList of sprite n, i
end if
end repeat
end if
end repeat
end
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA