Hi Brent,
here is the code-block that seems to make trouble. Please let me know if you need more:
[lua]
– draw box
local instructionsbox = display.newImageRect(“images/COMMON/instructionsbox.png”, 300, 340)
instructionsbox.x = screenCenterX
instructionsbox.y = screen.bottom - 150 + scaleData.spacer_20px - scaleData.kindleFireBoxAdder
instructionsbox.alpha = 0
local longline
– display long line below logo
if scaleData.isIPAD then
longline = display.newImageRect(“images/COMMON/longline.png”,270, 2)
elseif gameData.isKindleFireHD9 then
longline = display.newImageRect(“images/COMMON/longline.png”,268, 2)
else
longline = display.newImageRect(“images/COMMON/longline.png”,290, 2)
end
longline.x = screenCenterX
longline.y = screen.top - 130 + scaleData.kindleFireButtonAdder
longline.alpha = 0
– draw “back” button
local backButton = widget.newButton {
defaultFile = “images/COMMON/button_back.png”,
overFile = “images/COMMON/button_back_down.png”,
left = screen.left + 15 + scaleData.reducer_30px + scaleData.iPad1_18px - scaleData.kindleFireButtonReducer - scaleData.kindleFireTextReducer,
top = screen.bottom - 50 - scaleData.spacer_5px - scaleData.kindleFireBottomReducer,
width = 35,
height = 35,
onPress = function () if gameData.busy == false then playSound(sound.buttonClick) end end,
onRelease = function () if gameData.busy == false then gotoMainMenu() end end,
}
backButton.alpha = 0
– Kindle Fire specific changes
if gameData.isKindleFire then
backButton.x = backButton.x + 10
end
– draw “next” button
local nextButton = widget.newButton {
defaultFile = “images/COMMON/button_forward.png”,
overFile = “images/COMMON/button_forward_down.png”,
left = screen.right - 55 - scaleData.reducer_25px - scaleData.iPad1_10px + scaleData.kindleFireButtonAdder,
top = screen.bottom - 50 - scaleData.spacer_5px - scaleData.kindleFireBottomReducer,
width = 35,
height = 35,
onPress = function () if gameData.busy == false then playSound(sound.buttonClick) end end,
onRelease = function() if gameData.busy == false then showInstructions(“next”) end end,
}
nextButton.alpha = 0
– draw “previous” button
local previousButton = widget.newButton {
defaultFile = “images/COMMON/button_backward.png”,
overFile = “images/COMMON/button_backward_down.png”,
left = screen.right - 110 - scaleData.reducer_10px - scaleData.iPad1_5px,
top = screen.bottom - 50 - scaleData.spacer_5px - scaleData.kindleFireBottomReducer,
width = 35,
height = 35,
onPress = function () if gameData.busy == false then playSound(sound.buttonClick) end end,
onRelease = function() if gameData.busy == false then showInstructions(“previous”) end end,
}
previousButton.alpha = 0
– make Kindle Fire specific changes
if gameData.isKindleFire then
nextButton.x = nextButton.x + 4
elseif gameData.isKindleFireHD9 then
previousButton.x = previousButton.x + 8
end
[/lua]
Jens