home *** CD-ROM | disk | FTP | other *** search
- on immSetupObject
- global immObject, movieObject
- set selectList to [12]
- set textList to ["Interferon1", "Interferon2", "Interferon3", "Interferon4"]
- set audioList to [0, 0, 0, 0]
- set frameList to [0, 480, 780, 1110]
- set movieList to ["Interfer"]
- set selRegionList to []
- repeat with k in selectList
- set nextButton to "immBut" & string(k)
- set nextAction to "global immObject" & RETURN & "selectAction(immObject, " & string(k) & ")"
- append(selRegionList, getButtonData(nextButton, nextAction, [0, 0], nextButton))
- end repeat
- set firstMovie to getAt(movieList, 1)
- set immObject to new(script "immObject", selRegionList, 6, selectList, 8, 7, ["pauseUp", "pauseDn"], ["playUp", "playDn"], "movieSlider", "movieBar", 9, ["frameRewDn", "frameForDn"], 11, 10, 12, movieList, firstMovie, 1, 4, 0, audioList, frameList, textList, 13, [0, 0])
- updateMovie(movieObject)
- end
-