go(string((8 * ((mh > gHot8H) and (mh < (gHot8H + gHot8W)) and ((mv > gHot8V) and (mv < (gHot8V + gHot8T))))) + (9 * ((mh > gHot9H) and (mh < (gHot9H + gHot9W)) and ((mv > gHot9V) and (mv < (gHot9V + gHot9T))))) + (10 * ((mh > gHot10H) and (mh < (gHot10H + gHot10W)) and ((mv > gHot10V) and (mv < (gHot10V + gHot10T))))) + (11 * ((mh > gHot11H) and (mh < (gHot11H + gHot11W)) and ((mv > gHot11V) and (mv < (gHot11V + gHot11T))))) + (12 * ((mh > gHot12H) and (mh < (gHot12H + gHot12W)) and ((mv > gHot12V) and (mv < (gHot12V + gHot12T))))) + (13 * ((mh > gHot13H) and (mh < (gHot13H + gHot13W)) and ((mv > gHot13V) and (mv < (gHot13V + gHot13T))))) + (14 * ((mh > gHot14H) and (mh < (gHot14H + gHot14W)) and ((mv > gHot14V) and (mv < (gHot14V + gHot14T))))) & "Hot"))
startTimer()
set the visible of sprite QTSpriteNum to 1
end
on PoemLineTestE
global gWhichLine, gPoemChannel
set mv to the mouseV
set top to the top of sprite the clickOn
set part to the height of sprite the clickOn / 4
StopAllSound()
if mv < (top + (1 * part)) then
set gWhichLine to 1
playQTSequence(5, 172)
else
if (mv >= (top + (1 * part))) and (mv < (top + (2 * part))) then
set gWhichLine to 2
playQTSequence(172, 300)
else
if (mv >= (top + (2 * part))) and (mv < (top + (3 * part))) then
set gWhichLine to 3
playQTSequence(300, 440)
else
if (mv >= (top + (3 * part))) and (mv < (top + (4 * part))) then
set gWhichLine to 4
playQTSequence(440, 573)
end if
end if
end if
end if
go("QTwait")
end
on PoemLineTestF
global gWhichLine, gPoemChannel
set mv to the mouseV
set top to the top of sprite the clickOn
set part to the height of sprite the clickOn / 4
StopAllSound()
if mv < (top + (1 * part)) then
set gWhichLine to 1
playQTSequence(0, 120)
else
if (mv >= (top + (1 * part))) and (mv < (top + (2 * part))) then
set gWhichLine to 2
playQTSequence(120, 210)
else
if (mv >= (top + (2 * part))) and (mv < (top + (3 * part))) then
set gWhichLine to 3
playQTSequence(210, 372)
else
if (mv >= (top + (3 * part))) and (mv < (top + (4 * part))) then
set gWhichLine to 4
playQTSequence(372, 479)
end if
end if
end if
end if
go("QTwait")
end
on PoemLineTestS
global gWhichLine, gPoemChannel
set mv to the mouseV
set top to the top of sprite the clickOn
set part to the height of sprite the clickOn / 4
StopAllSound()
if mv < (top + (1 * part)) then
set gWhichLine to 1
playQTSequence(0, 150)
else
if (mv >= (top + (1 * part))) and (mv < (top + (2 * part))) then
set gWhichLine to 2
playQTSequence(150, 288)
else
if (mv >= (top + (2 * part))) and (mv < (top + (3 * part))) then
set gWhichLine to 3
playQTSequence(288, 504)
else
if (mv >= (top + (3 * part))) and (mv < (top + (4 * part))) then
set gWhichLine to 4
playQTSequence(504, 655)
end if
end if
end if
end if
go("QTwait")
end
on PoemLineTestJ
global gWhichLine, gPoemChannel
set mv to the mouseV
set top to the top of sprite the clickOn
set part to the height of sprite the clickOn / 3
StopAllSound()
if mv < (top + (1 * part)) then
set gWhichLine to 1
playQTSequence(0, 240)
else
if (mv >= (top + (1 * part))) and (mv < (top + (2 * part))) then
set gWhichLine to 2
playQTSequence(240, 700)
else
if (mv >= (top + (2 * part))) and (mv < (top + (3 * part))) then
set gWhichLine to 3
playQTSequence(240, 700)
end if
end if
end if
go("QTwait")
end
on QTHotSwap charName, QTlocH, QTlocV
global QTSpriteNum, gMovieNum, gWhichLangLet
set the visible of sprite QTSpriteNum to 1
put gMovieNum & charName & gWhichLangLet & ".mov"
set the castNum of sprite QTSpriteNum to the number of cast the name of cast (gMovieNum & charName & gWhichLangLet & ".mov")
set the locH of sprite QTSpriteNum to QTlocH
set the locV of sprite QTSpriteNum to QTlocV
end
on QTswap movieName, QTlocH, QTlocV
global QTSpriteNum, gMovieNum, gWhichLangLet
set the visible of sprite QTSpriteNum to 1
set the castNum of sprite QTSpriteNum to the number of cast movieName
set the locH of sprite QTSpriteNum to QTlocH
set the locV of sprite QTSpriteNum to QTlocV
end
on writeMe nameChar
global QTSpriteNum, gWhichLangLet, gMovieNum
put "global QTspriteNum,gWhichLangLet,gMovieNum"
put "set the visibility of sprite QTspriteNum = TRUE"
put "set the castNum of sprite QTspriteNum = the number of cast(gMovieNum putANDhere" && QUOTE & nameChar & QUOTE && "gWhichLangLet putANDhere" && QUOTE & ".mov" & QUOTE & ")"
put "set the locH of sprite QTspriteNum = " & the locH of sprite QTSpriteNum
put "set the locV of sprite QTspriteNum = " & the locV of sprite QTSpriteNum