set makeSoundDown to the number of member string(makeSoundDown)
end if
if makeSoundUp = #none then
set makeSoundUp to 0
else
set makeSoundUp to the number of member string(makeSoundUp)
end if
set ancestor to new(script "BasicBtnBhvr")
init(me)
set myObj to value(myObj)
if setPrev then
set the scriptInstanceList of sprite (the currentSpriteNum - 1) to [me]
if centerText then
set the locH of sprite (the mySprite of me - 1) to the locH of sprite the mySprite of me - (the width of the member of sprite (the mySprite of me - 1) / 2) + 10
end if
end if
if makeMeDefault then
set the defaultBtn of script 1 to the mySprite of me
end if
end
on doAction me
if updateBeforeAction then
updateStage()
end if
call(myAction, myObj, the mySprite of me, myParams)
end
on getPropertyDescriptionList
set x to [#none, "-", #changeTypeSize, #displayPageSetup, #changeColorMode, #scrollField, "-", #preSaveFile, #promptToOverwrite]