home *** CD-ROM | disk | FTP | other *** search
- on enterFrame
- set i to field "type"
- case i of
- "Try Me":
- nothing()
- "Buy Me":
- puppetSprite(22, 1)
- set the member of sprite 22 to "buy2"
- end case
- set the itemDelimiter to "."
- set x to item 1 of field "whichbox"
- set the visible of sprite 29 to 0
- updateStage()
- case x of
- "box1":
- set the member of sprite 29 to member "Box01" of castLib "dbimages"
- "box2":
- set the member of sprite 29 to member "Box02" of castLib "dbimages"
- "box3":
- set the member of sprite 29 to member "Box03" of castLib "dbimages"
- "box4":
- set the member of sprite 29 to member "box04" of castLib "dbimages"
- "box5":
- set the member of sprite 29 to member "box05" of castLib "dbimages"
- "box6":
- set the member of sprite 29 to member "box06" of castLib "dbimages"
- "box7":
- set the member of sprite 29 to member "box07" of castLib "dbimages"
- "box8":
- set the member of sprite 29 to member "box08" of castLib "dbimages"
- "box9":
- set the member of sprite 29 to member "box09" of castLib "dbimages"
- "box10":
- set the member of sprite 29 to member "box10" of castLib "dbimages"
- "box11":
- set the member of sprite 29 to member "box11" of castLib "dbimages"
- "box12":
- set the member of sprite 29 to member "box12" of castLib "dbimages"
- "box13":
- set the member of sprite 29 to member "box13" of castLib "dbimages"
- "box14":
- set the member of sprite 29 to member "box14" of castLib "dbimages"
- "box15":
- set the member of sprite 29 to member "box15" of castLib "dbimages"
- "box16":
- set the member of sprite 29 to member "box16" of castLib "dbimages"
- "box17":
- set the member of sprite 29 to member "box17" of castLib "dbimages"
- "box18":
- set the member of sprite 29 to member "box18" of castLib "dbimages"
- "box19":
- set the member of sprite 29 to member "box19" of castLib "dbimages"
- "box20":
- set the member of sprite 29 to member "box20" of castLib "dbimages"
- end case
- set the visible of sprite 29 to 1
- updateStage()
- set the itemDelimiter to TAB
- end
-