set adjustVLoc to the height of the member of sprite 10 + 5
set bugFix to the left of sprite 2
set myRect to the rect of sprite 2 + [0, 0, 0, adjustVLoc]
set the rect of sprite 2 to myRect
repeat with i in [1, 9, 23]
set the locV of sprite i to the locV of sprite i + adjustVLoc
end repeat
set offsetPoint to point(getAt(the rect of the stage, 1) + ((640 - the width of myRect) / 2), getAt(the rect of the stage, 2) + ((480 - the height of myRect) / 2))
checkBtnLocations(the bottom of myRect)
set bugFix to the rect of sprite 28
if not (the number of member the member of sprite 29) then
set alertIconHeight to 32
else
set alertIconHeight to the height of the member of sprite 29
end if
set dialogBottom to max(alertIconHeight + 15 + 60, the bottom of sprite 28 + 20 + 40)
set the locV of sprite 27 to dialogBottom - 40
set the locV of sprite 29 to dialogBottom - 40 - 20
checkBtnLocations(dialogBottom, [31, 33])
if not (the moreThanMax of sprite(12)) then
disable(sprite(14))
disable(sprite(16))
disable(sprite(17))
end if
updateIndicator(sprite(12), 1)
set theRect to myRect + rect(offsetPoint, offsetPoint)
set the rect of the activeWindow to theRect
set the modal of the activeWindow to 1
set the visible of the activeWindow to 1
end
on enterFrame me
set the selStart to 0
set the selEnd to length(the text of member "fileName")