home *** CD-ROM | disk | FTP | other *** search
- >colors BEACH1.GIF
- ;
- ; The following are the shopping items
- ; Replace each ITEM.GIF file with a gif or bmp of
- ; the item you want to sell. Include price in
- ; image for display. See below to add prices.
- ;
- >actor ITEM3
- #ITEM3
- >pause 99
- ITEM3.GIF
- >repeat 9999
- >end ITEM3
-
- >actor ITEM2
- #ITEM2
- >pause 99
- ITEM2.GIF
- >repeat 9999
- >end ITEM2
-
-
- >actor ITEM1
- #ITEM1
- >pause 99
- ITEM1.GIF
- >repeat 9999
- >end ITEM1
- ;
- ; end of shopping items
- ;
- >actor CART
- #CART
- >pause 99
- CART.GIF
- >repeat 9999
- >end CART
-
- >actor DONE
- >click 0 0 140 70 context loop #DONE2
- #DONE
- >pause 99
- DONE.GIF
- >repeat 9999
- #DONE2
- >resume 0
- >loop #DONE
- >end DONE
-
- >visual
- BEACH1.GIF
- >bigtext "Drag items to the shopping cart side of page. When"
- >bigtext "you have completed your selection, hit Done."
- >bigtext "After entering address, hit Done again to print order."
- >bigtext ""
- >bigtext "Be sure to include check for full amount."
- >bigtext ""
- >bigtext "Mail order to: Shop-Smart"
- >bigtext " 101 Main Street"
- >bigtext " Anytown, USA 00000"
- >text 0 size 16 color 0 0 0 at 242 87 bigtext
- >bigtext "Shop-Smart"
- >bigtext " Electronic Mall"
- >text 1 size 30 bold color 255 0 128 at 297 19 bigtext
- >start 18 CART at 472 276 0 0
- >start 19 DONE at 252 355 0 0
- ;
- ; >start & >grabbable commands for shopping items:
- ;
- >start 1 ITEM1 at 68 286 0 0
- >grabbable 1
- >start 2 ITEM2 at 43 10 0 0
- >grabbable 2
- >start 3 ITEM3 at 32 151 0 0
- >grabbable 3
-
- >delay 999
- #2
- WHITE1.GIF
- ;
- ; Ungrabbable ea. item so it can't be moved after price computation
- ;
- >ungrabbable 1
- >ungrabbable 2
- >ungrabbable 3
-
- >text 8 size 16 bold color 0 0 0 at 272 260 ""
- >text 9 size 16 color 0 0 0 at 221 261 "Ship to:"
- ;
- ; Total price computation
- ; Change the price of items as appropriate
- ; To add additional items, up to #17 max,
- ; add:
- ; >xyvec item# 0
- ; >if x>250 >set total total+# (where # is price)
- ;
- >set total 0
- >xyvec 1 0
- >if x>250 >set total total+7
- >xyvec 2 0
- >if x>250 >set total total+14
- >xyvec 3 0
- >if x>250 >set total total+9
- >text 7 size 16 bold color 0 0 0 at 483 416 "Total is $ `total "
- ;
- ; end of pricing
- ;
- >text 1 size 30 bold color 255 0 128 at 220 232 "Enter name & address:"
- DING.MID
- >edit 8
- >delay 999 seconds
- #3
- WHITE1.GIF
- >clear 19
- >text 1 size 30 bold color 255 0 128 at 229 28 "Thank you for your order!"
- >print
- CHORD.MID
- >delay 999 seconds
-
-