home *** CD-ROM | disk | FTP | other *** search
/ PC Format (UK) 86 / PC_Format_September1998_Issue86.iso / Wired / mbed / intlitet.exe / _SETUP.1 / tutorial.mbd < prev    next >
Encoding:
Text File  |  1998-03-17  |  23.8 KB  |  785 lines

  1. <MBEDLET>
  2.     <PROPERTIES>
  3.         SIZE=600,400
  4.         BACKCOLOR=255,204,102
  5.     </PROPERTIES>
  6.     <PROTOTYPES>
  7.         <TEXT NAME=step>
  8.             <PROPERTIES>
  9.                 VISIBLE=TRUE
  10.                 POSTNAME=
  11.                 COLOR=153,102,51
  12.                 FONTSIZE=10
  13.                 JUSTIFY=CENTER
  14.             </PROPERTIES>
  15.             <HANDLERS>
  16.                 <MOUSEUP>
  17.                     step_$lessonplan.value set color=153,102,51
  18.                     lessonplan SET VALUE=$value
  19.                     me set color=255,0,0
  20.                     me gostep 
  21.                 </MOUSEUP>
  22.                 <GOSTEP>
  23.                     logo hide 
  24.                     jukebox hide 
  25.                     jukebox.child.path1 stop 
  26.                     substeps show 
  27.                     mbedlet showsubs $stepcount
  28.                     topic set value=$topic
  29.                     substep_$substeps.value set color=153,102,51
  30.                     substeps set max=$stepcount
  31.                     substeps SET VALUE=1
  32.                     substep_1 set color=255,0,0
  33.                     me gosub 1
  34.                 </GOSTEP>
  35.                 <GOSUB>
  36.                     tick play 
  37.                     instructions set value=$sub($param)text
  38.                     image hide 
  39.                     image load images/$sub($param)image
  40.                     caption set value=$sub($substeps.value)caption
  41.                 </GOSUB>
  42.             </HANDLERS>
  43.         </TEXT>
  44.         <TEXT NAME=substep>
  45.             <SLOTS>
  46.                 stepnum=1
  47.             </SLOTS>
  48.             <PROPERTIES>
  49.                 POSTNAME=
  50.                 COLOR=153,102,51
  51.                 FONTSIZE=14
  52.                 BOLD=TRUE
  53.                 SERIF=TRUE
  54.                 SMOOTH=TRUE
  55.             </PROPERTIES>
  56.             <HANDLERS>
  57.                 <MOUSEUP>
  58.                     substep_$substeps.value set color=153,102,51
  59.                     substeps SET VALUE=$stepnum
  60.                     me set color=255,0,0
  61.                     step_$lessonplan.value gosub $stepnum
  62.                 </MOUSEUP>
  63.             </HANDLERS>
  64.         </TEXT>
  65.     </PROTOTYPES>
  66.     <PLAYERS>
  67.         <BOX NAME=Background>
  68.             <PROPERTIES>
  69.                 VISIBLE=TRUE
  70.                 LOCATION=301,0
  71.                 RECT=301,0,644,427
  72.                 LINECOLOR=51,51,51
  73.                 FILLCOLOR=51,51,51
  74.                 FILLED=TRUE
  75.             </PROPERTIES>
  76.         </BOX>
  77.         <TEXT NAME=topic>
  78.             <PROPERTIES>
  79.                 VISIBLE=TRUE
  80.                 LOCATION=6,59
  81.                 RECT=6,59,297,105
  82.                 POSTNAME=TEXT1
  83.                 VALUE=Welcome to mBED Interactor Lite
  84.                 COLOR=51,51,0
  85.                 FONTSIZE=18
  86.                 BOLD=TRUE
  87.                 SERIF=TRUE
  88.                 JUSTIFY=CENTER
  89.                 MULTILINE=TRUE
  90.                 SMOOTH=TRUE
  91.             </PROPERTIES>
  92.         </TEXT>
  93.         <step NAME=step_1>
  94.             <SLOTS>
  95.                 stepcount=1
  96.                 topic="mBED Interactor Lite"
  97.                 sub1text="mBED Interactor Lite is an authoring tool for adding Java driven multimedia components, called mbedlets, to your Web site. In this tutorial, you'll use mBED Interactor to build the Starfish Coffee Company homepage. Have fun!"
  98.                 sub1caption=""
  99.             </SLOTS>
  100.             <PROPERTIES>
  101.                 LOCATION=13,35
  102.                 RECT=13,35,25,49
  103.                 VALUE=1
  104.             </PROPERTIES>
  105.         </step>
  106.         <step NAME=step_2>
  107.             <SLOTS>
  108.                 stepcount=5
  109.                 topic=Create a New Mbedlet
  110.                 sub1text=To create a new mbedlet, click the New button in the Main toolbar.
  111.                 sub1image="2a.gif"
  112.                 sub1caption=Main toolbar
  113.                 sub2text=To set the mbedlet's size, you use the mbedlet's properties window.  To open the properties window, make sure the mbedlet player is selected in the Players window.
  114.                 sub2image="2b.gif"
  115.                 sub2caption=Select the mbedlet player
  116.                 sub3text=Click the Properties button in the Player toolbar. NOTE: Click on the Layout Window is activate Player toolbar during the tutorial.
  117.                 sub3image="2c.gif"
  118.                 sub3caption=Open properties window
  119.                 sub4text=In the mbedlet properties window, enter 400,450 in the SIZE field.
  120.                 sub4image="2d.gif"
  121.                 sub4caption=Set the mbedlet size
  122.                 sub5text=Close properties window
  123.                 sub5image="2e.gif"
  124.                 sub5caption=Close window
  125.             </SLOTS>
  126.             <PROPERTIES>
  127.                 LOCATION=29,35
  128.                 RECT=29,35,42,49
  129.                 VALUE=2
  130.             </PROPERTIES>
  131.         </step>
  132.         <step NAME=step_3>
  133.             <SLOTS>
  134.                 stepcount=4
  135.                 topic=Creating the Coffee Cup
  136.                 sub1text=To create the coffee cup, you'll need to create a sprite player and then add the coffee cup image to the sprite player.  To create the sprite player, click the Sprite button in the Player toolbar.
  137.                 sub1image="3a.gif"
  138.                 sub1caption=Player toolbar
  139.                 sub2text=To add the coffee cup image to the sprite player, you'll use the Data button in the next step.
  140.                 sub2image="3b.gif"
  141.                 sub2caption=Add Data
  142.                 sub3text=Click the Data button in the Player toolbar. Locate and select the image, coffee01.gif, then click the + button in the Bitmap section.  The coffee cup image is located in the images folder, inside the Tutorial Content folder. Click Done.  
  143.                 sub3image="3c.gif"
  144.                 sub3caption=Data dialog box
  145.                 sub4text=A thumbnail of the coffee cup now appears inside the sprite player in the Players window.
  146.                 sub4image="3d.gif"
  147.                 sub4caption="Players window"
  148.             </SLOTS>
  149.             <PROPERTIES>
  150.                 LOCATION=45,35
  151.                 RECT=45,35,57,50
  152.                 VALUE=3
  153.             </PROPERTIES>
  154.         </step>
  155.         <step NAME=step_4>
  156.             <SLOTS>
  157.                 stepcount=2
  158.                 topic=Showing the Coffee Cup
  159.                 sub1text=To place the coffee cup image in the Layout window, drag the sprite player from the Players window to the Layout window.
  160.                 sub1image="4a.gif"
  161.                 sub1caption=Drag sprite to Layout window
  162.                 sub2text=In the Layout window, position the coffee cup in the middle of the window.
  163.                 sub2image="4b.gif"
  164.                 sub2caption=Position Coffee Cup in Layout window
  165.             </SLOTS>
  166.             <PROPERTIES>
  167.                 LOCATION=61,35
  168.                 RECT=61,35,73,50
  169.                 VALUE=4
  170.             </PROPERTIES>
  171.         </step>
  172.         <step NAME=step_5>
  173.             <SLOTS>
  174.                 stepcount=3
  175.                 topic=Preview Your Mbedlet
  176.                 sub1text=To preview your mbedlet, click the Play button in the Control toolbar.
  177.                 sub1image="5a.gif"
  178.                 sub1caption=Control Toolbar
  179.                 sub2text=The mbedlet playing and the sprite of the coffee cup appears in the runtime window.  As you build the remaining parts of your mbedlet, use the Play command to preview your work.
  180.                 sub2image="5b.gif"
  181.                 sub2caption=Runtime window
  182.                 sub3text=To stop the preview, click the Stop button in the Control toolbar. Close the Runtime window.
  183.                 sub3image="5c.gif"
  184.                 sub3caption=Control Toolbar
  185.             </SLOTS>
  186.             <PROPERTIES>
  187.                 LOCATION=78,35
  188.                 RECT=78,35,90,50
  189.                 VALUE=5
  190.             </PROPERTIES>
  191.         </step>
  192.         <step NAME=step_6>
  193.             <SLOTS>
  194.                 stepcount=5
  195.                 topic=Creating a back drop for the title
  196.                 sub1text=To create a colored box, you'll need to create a box player and then adjust the color properties.  To create the box player, click the Box button in the player toolbar.
  197.                 sub1image="6a.gif"
  198.                 sub1caption=Player toolbar
  199.                 sub2text=To set the box color to brown, click the properties window in the Player toolbar.
  200.                 sub2image="2c.gif"
  201.                 sub2caption=Open properties window
  202.                 sub3text=Click the LINECOLOR field, and select 'brown' from the color picker, then click OK.  Click the FILLCOLOR field and select 'brown' from the color picker, then click OK. 
  203.                 sub3image="6c.gif"
  204.                 sub3caption=Color Picker
  205.                 sub4text=Checkmark the FILLED property. Close properties window.
  206.                 sub4image="6d.gif"
  207.                 sub4caption=Close properties window
  208.                 sub5text=Drag the box player from the Players window to the Layout window and position the box in the top left corner.  You can resize the box in the layout window as well.
  209.                 sub5image="6e.gif"
  210.                 sub5caption=Position box in Layout window
  211.             </SLOTS>
  212.             <PROPERTIES>
  213.                 LOCATION=95,35
  214.                 RECT=95,35,107,50
  215.                 VALUE=6
  216.             </PROPERTIES>
  217.         </step>
  218.         <step NAME=step_7>
  219.             <SLOTS>
  220.                 stepcount=5
  221.                 topic=Creating the Starfish Coffee Title
  222.                 sub1text=To create the Starfish Coffee title, you'll use a text player.  Click the Text button in the Player toolbar.
  223.                 sub1image="7a.gif"
  224.                 sub1caption=Create Text player
  225.                 sub2text=To specify the title, font size and color, click the Properties button in the Player toolbar.
  226.                 sub2image="2c.gif"
  227.                 sub2caption=Open properties window
  228.                 sub3text=In the value field, enter the title, Starfish Coffee.  Make the text bold and set the font size to 24.  If you'd like, click the color field, and select a different color.  The default color is black. Close the properties window.
  229.                 sub3image="7c.gif"
  230.                 sub3caption=Set the text properties
  231.                 sub4text=To place the text in the Layout window, drag the text player from the Players window to the Layout window.  Position the text as shown.
  232.                 sub4image="7d.gif"
  233.                 sub4caption=Position text in Layout window
  234.                 sub5text=In the Layout window, resize the text player so 'Starfish Coffee' is visible.
  235.                 sub5image="7e.gif"
  236.                 sub5caption=Resize text box in Layout window
  237.             </SLOTS>
  238.             <PROPERTIES>
  239.                 LOCATION=110,35
  240.                 RECT=110,35,122,50
  241.                 VALUE=7
  242.             </PROPERTIES>
  243.         </step>
  244.         <step NAME=step_8>
  245.             <SLOTS>
  246.                 stepcount=5
  247.                 topic=Creating the Starfish Tagline
  248.                 sub1text=To create the Starfish Tagline you'll use a text player again.  Click the Text button in the Player toolbar.
  249.                 sub1image="7a.gif"
  250.                 sub1caption=Player toolbar
  251.                 sub2text=To specify the tagline, font size and color, click the Properties button in the Player toolbar.
  252.                 sub2image="2c.gif"
  253.                 sub2caption=Open properties window
  254.                 sub3text=In the value field, enter the tagline, Your Java Fix by the Sea.  Make the text bold and set the font size to 16.  If you'd like, click the color field, and select a different color. Close the properties window.
  255.                 sub3image="8c.gif"
  256.                 sub3caption=Set the text properties
  257.                 sub4text=To show the tagline in the Layout window (without making it visible in the runtime window) click the Show in Layout button in the Player Toolbar.  Later you'll create a path that animates and makes the tagline visible.
  258.                 sub4image="8d.gif"
  259.                 sub4caption=Player Toolbar
  260.                 sub5text=In the Layout window, resize the text player so 'Your Java Fix by the Sea' is visible and position the tagline as shown.
  261.                 sub5image="8e.gif"
  262.                 sub5caption=Position text in Layout window
  263.             </SLOTS>
  264.             <PROPERTIES>
  265.                 LOCATION=126,35
  266.                 RECT=126,35,139,50
  267.                 VALUE=8
  268.             </PROPERTIES>
  269.         </step>
  270.         <step NAME=step_9>
  271.             <SLOTS>
  272.                 stepcount=4
  273.                 topic=Animating the tagline along a path
  274.                 sub1text=To create the path for the tagline, click the Path button in the Player toolbar.
  275.                 sub1image="9a.gif"
  276.                 sub1caption=Player toolbar
  277.                 sub2text=Click the Properties button to open the path player's properties
  278.                 sub2image="2c.gif"
  279.                 sub2caption=Open properties window
  280.                 sub3text=To specify the tagline as the item that travels on the path, choose TEXT2 from the Player pop-up menu. Set the duration to 1500 milliseconds. When you are done, close the dialog box.
  281.                 sub3image="9c.gif"
  282.                 sub3caption=Set the text properties
  283.                 sub4text=Drag the path player from the Players window to the Layout window.  Position the path as shown. 
  284.                 sub4image="9d.gif"
  285.                 sub4caption=Layout Window
  286.             </SLOTS>
  287.             <PROPERTIES>
  288.                 LOCATION=141,35
  289.                 RECT=141,35,153,50
  290.                 VALUE=9
  291.             </PROPERTIES>
  292.         </step>
  293.         <step NAME=step_10>
  294.             <SLOTS>
  295.                 stepcount=5
  296.                 topic=Using a Score to Play a Path
  297.                 sub1text=To create a score to control the path, you'll use a score player.  Click the Score button in the Player toolbar.
  298.                 sub1image="10a.gif"
  299.                 sub1caption=Player toolbar
  300.                 sub2text=To view the score window, click the Data button on the Players toolbar.
  301.                 sub2image="3b.gif"
  302.                 sub2caption=Add Data
  303.                 sub3text=To have the path play 3 seconds after the page loads, right mouse click on the PATH1 row and at the 3000 column.  Choose PLAY from the pop-up menu.
  304.                 sub3image="10c.gif"
  305.                 sub3caption=Score window
  306.                 sub4text=Close the Score window.
  307.                 sub4image="10d.gif"
  308.                 sub4caption=Close score window
  309.                 sub5text=Open the properties window for the score and check the Autoplay checkbox. Close the properties window.
  310.                 sub5image="10e.gif"
  311.                 sub5caption=Open properties window
  312.             </SLOTS>
  313.             <PROPERTIES>
  314.                 LOCATION=156,35
  315.                 RECT=156,35,168,50
  316.                 VALUE=10
  317.             </PROPERTIES>
  318.         </step>
  319.         <step NAME=step_11>
  320.             <SLOTS>
  321.                 stepcount=4
  322.                 topic=Creating the animated Starfish
  323.                 sub1text=To create the animated starfish, click the Sprite button in the Player toolbar.
  324.                 sub1image="3a.gif"
  325.                 sub1caption=Player toolbar
  326.                 sub2text=To add the starfish images to the sprite player, you'll click the Data button in the next step.
  327.                 sub2image="3b.gif"
  328.                 sub2caption=Add Data
  329.                 sub3text=Click the Data button. Select the image, starfish01.gif, then click the + button in the Bitmap section. Repeat this for images starfish02.gif through starfish05.gif. Click done to close the dialog box.
  330.                 sub3image="11c.gif"
  331.                 sub3caption=Data dialog box
  332.                 sub4text=Drag the sprite player from the Players window to the Layout window.  Position the sprite as shown.
  333.                 sub4image="11d.gif"
  334.                 sub4caption=Layout Window
  335.             </SLOTS>
  336.             <PROPERTIES>
  337.                 LOCATION=174,35
  338.                 RECT=174,35,186,50
  339.                 VALUE=11
  340.             </PROPERTIES>
  341.         </step>
  342.         <step NAME=step_12>
  343.             <SLOTS>
  344.                 stepcount=4
  345.                 topic=Animating the Starfish
  346.                 sub1text=To set the starfish to animate, you'll use the sprite properties window.  To open the Properties window, make sure the starfish player is selected in the Players window.
  347.                 sub1image="12a.gif"
  348.                 sub1caption=Players window
  349.                 sub2text=Click the Properties button in the Player toolbar.
  350.                 sub2image="2c.gif"
  351.                 sub2caption=Open properties window
  352.                 sub3text=In the starfish properties window, check mark PLAY FOREVER and AUTOPLAY.
  353.                 sub3image="12c.gif"
  354.                 sub3caption=Set sprite properties
  355.                 sub4text=To set the speed of the animation, enter a number in the FLIPINTERVAL field.  Type in 200 for this example. Close the properties window.
  356.                 sub4image="12d.gif"
  357.                 sub4caption=Set sprite properties
  358.             </SLOTS>
  359.             <PROPERTIES>
  360.                 LOCATION=191,35
  361.                 RECT=191,35,203,50
  362.                 VALUE=12
  363.             </PROPERTIES>
  364.         </step>
  365.         <step NAME=step_13>
  366.             <SLOTS>
  367.                 stepcount=5
  368.                 topic=Creating menu item with hyperlink
  369.                 sub1text=To create the Company Text, click the Text button in the Player toolbar.
  370.                 sub1image="7a.gif"
  371.                 sub1caption=Players toolbar
  372.                 sub2text=To set the color, font size and value of the text, click the Properties button in the Player toolbar. In the value field, enter Company.  Make the text italics and set the font size to 14.
  373.                 sub2image="13b.gif"
  374.                 sub2caption=Set the text properties
  375.                 sub3text=To specify a hyperlink, click the Web tab.  Type http://www.mbed.com in the hyperlink field.
  376.                 sub3image="13c.gif"
  377.                 sub3caption=Web tab
  378.                 sub4text=Close the properties window.
  379.                 sub4image="13d.gif"
  380.                 sub4caption=Close properties window
  381.                 sub5text=Drag the text player from the Players window to the Layout window.  Position the text as shown.
  382.                 sub5image="13e.gif"
  383.                 sub5caption=Layout window
  384.             </SLOTS>
  385.             <PROPERTIES>
  386.                 LOCATION=208,35
  387.                 RECT=208,35,220,50
  388.                 VALUE=13
  389.             </PROPERTIES>
  390.         </step>
  391.         <step NAME=step_14>
  392.             <SLOTS>
  393.                 stepcount=4
  394.                 topic=Adding Sound
  395.                 sub1text=To play an .au file from your mbedlet, click the Sound button in the Player toolbar
  396.                 sub1image="14a.gif"
  397.                 sub1caption=Player toolbar
  398.                 sub2text=To add the .au file to the sound player, you'll click the Data button in the next step.
  399.                 sub2image="3b.gif"
  400.                 sub2caption=Add Data
  401.                 sub3text=Click the Data button. Select the .au file, click.au.   The click.au file is located in the sound folder, inside the TutorialContent folder. Click the done button.
  402.                 sub3image="14c.gif"
  403.                 sub3caption=Data dialog box
  404.                 sub4text=Double-click SOUND1 in the Players window to preview the sound.
  405.                 sub4image="14d.gif"
  406.                 sub4caption=Players window
  407.             </SLOTS>
  408.             <PROPERTIES>
  409.                 LOCATION=225,35
  410.                 RECT=225,35,237,50
  411.                 VALUE=14
  412.             </PROPERTIES>
  413.         </step>
  414.         <step NAME=step_15>
  415.             <SLOTS>
  416.                 stepcount=5
  417.                 topic=Playing the sound
  418.                 sub1text=In order for the click sound to play, it needs to receive a message that tells it to do the action.  To create such a message, select the TEXT3 player and click the Handlers button in the Player toolbar.
  419.                 sub1image="15a.gif"
  420.                 sub1caption=Player toolbar
  421.                 sub2text=Click + to create a new handler.  A handler defines the messages that a player responds to, and the actions that it takes when it receives the messages.  You'll create a handler that responds when your mouse is over the TEXT3.
  422.                 sub2image="15b.gif"
  423.                 sub2caption=Handlers window
  424.                 sub3text=To make the sound respond when you mouse over it, specify 'mouse enter' in the Message field.  Right-click the default MOUSEUP message, and choose MOUSEENTER from the pop-up menu.
  425.                 sub3image="15c.gif"
  426.                 sub3caption=Set the message
  427.                 sub4text=Click the Insert Line button, and then specify the sound as the player that will perform an action. Right-click the default player TEXT3, and choose SOUND1 from the pop-up menu.
  428.                 sub4image="15d.gif"
  429.                 sub4caption=Choose the player
  430.                 sub5text=Specify play as the action. Right-click the default action SHOW, and choose PLAY from the pop-up menu. When you are done, close the window.
  431.                 sub5image="15e.gif"
  432.                 sub5caption=Choose the action
  433.             </SLOTS>
  434.             <PROPERTIES>
  435.                 LOCATION=241,35
  436.                 RECT=241,35,253,50
  437.                 VALUE=15
  438.             </PROPERTIES>
  439.         </step>
  440.         <step NAME=step_16>
  441.             <SLOTS>
  442.                 stepcount=2
  443.                 topic=Creating more menu items.
  444.                 sub1text=To create menu items, for "Products, Order, Facts and Contact Us", repeat steps 11 through 15.  NOTE: You can copy and paste players, then modify properties.
  445.                 sub1image="16a.gif"
  446.                 sub1caption=Layout window
  447.                 sub2text=Click the Play Button in the Control toolbar to preview your mbedlet
  448.                 sub2image="5a.gif"
  449.                 sub2caption=Control toolbar
  450.             </SLOTS>
  451.             <PROPERTIES>
  452.                 LOCATION=258,35
  453.                 RECT=258,35,270,50
  454.                 VALUE=16
  455.             </PROPERTIES>
  456.         </step>
  457.         <step NAME=step_17>
  458.             <SLOTS>
  459.                 stepcount=1
  460.                 topic=Mbedlet Complete
  461.                 sub1text=Congratulations!  You have just completed your first Java mbedlet.  To learn more about mBED Interactor Lite, see the online user guide.
  462.                 sub1image="03.mbedletPlayer.gif"
  463.                 sub1caption=Players window
  464.             </SLOTS>
  465.             <PROPERTIES>
  466.                 LOCATION=273,35
  467.                 RECT=273,35,285,50
  468.                 VALUE=17
  469.             </PROPERTIES>
  470.         </step>
  471.         <CONTROL NAME=lessonplan>
  472.             <DATA>
  473.                 lilballbutd.gif
  474.                 lilballbutmo.gif
  475.             </DATA>
  476.             <PROPERTIES>
  477.                 VISIBLE=TRUE
  478.                 REGPOINT=50,50
  479.                 POSTNAME=CONTROL1
  480.                 STARTPOINT=17,19
  481.                 ENDPOINT=279,19
  482.                 MIN=1
  483.                 MAX=17
  484.                 VALUE=1
  485.                 SNAPTOVALUE=TRUE
  486.             </PROPERTIES>
  487.             <HANDLERS>
  488.                 <MOUSEDOWN>
  489.                     step_$value set color=153,102,51
  490.                 </MOUSEDOWN>
  491.                 <MOUSERELEASE>
  492.                     step_$value set color=255,0,0
  493.                     step_$value gostep 
  494.                 </MOUSERELEASE>
  495.             </HANDLERS>
  496.         </CONTROL>
  497.         <CONTROL NAME=substeps>
  498.             <DATA>
  499.                 lilballbutd.gif
  500.                 lilballbutmo.gif
  501.             </DATA>
  502.             <PROPERTIES>
  503.                 REGPOINT=50,50
  504.                 POSTNAME=CONTROL1
  505.                 STARTPOINT=87,133
  506.                 ENDPOINT=210,133
  507.                 MIN=1
  508.                 MAX=5
  509.                 VALUE=1
  510.                 SNAPTOVALUE=TRUE
  511.             </PROPERTIES>
  512.             <HANDLERS>
  513.                 <MOUSEDOWN>
  514.                     substep_$value set color=153,102,51
  515.                 </MOUSEDOWN>
  516.                 <MOUSERELEASE>
  517.                     substep_$value set color=255,0,0
  518.                     step_$lessonplan.value gosub $value
  519.                 </MOUSERELEASE>
  520.             </HANDLERS>
  521.         </CONTROL>
  522.         <SOUND NAME=click>
  523.             <DATA>
  524.                 tick.wav
  525.             </DATA>
  526.         </SOUND>
  527.         <substep NAME=substep_1>
  528.             <SLOTS>
  529.                 stepnum=1
  530.             </SLOTS>
  531.             <PROPERTIES>
  532.                 LOCATION=91,99
  533.                 RECT=91,99,104,113
  534.                 VALUE=a.
  535.                 COLOR=255,0,0
  536.             </PROPERTIES>
  537.         </substep>
  538.         <substep NAME=substep_2>
  539.             <SLOTS>
  540.                 stepnum=2
  541.             </SLOTS>
  542.             <PROPERTIES>
  543.                 LOCATION=119,99
  544.                 RECT=119,99,131,112
  545.                 VALUE=b.
  546.             </PROPERTIES>
  547.         </substep>
  548.         <substep NAME=substep_3>
  549.             <SLOTS>
  550.                 stepnum=3
  551.             </SLOTS>
  552.             <PROPERTIES>
  553.                 LOCATION=148,99
  554.                 RECT=148,99,158,113
  555.                 VALUE=c.
  556.             </PROPERTIES>
  557.         </substep>
  558.         <substep NAME=substep_4>
  559.             <SLOTS>
  560.                 stepnum=4
  561.             </SLOTS>
  562.             <PROPERTIES>
  563.                 LOCATION=174,99
  564.                 RECT=174,99,186,112
  565.                 VALUE=d.
  566.             </PROPERTIES>
  567.         </substep>
  568.         <substep NAME=substep_5>
  569.             <SLOTS>
  570.                 stepnum=5
  571.             </SLOTS>
  572.             <PROPERTIES>
  573.                 LOCATION=201,99
  574.                 RECT=201,99,213,114
  575.                 VALUE=e.
  576.             </PROPERTIES>
  577.         </substep>
  578.         <TEXT NAME=instructions>
  579.             <PROPERTIES>
  580.                 VISIBLE=TRUE
  581.                 LOCATION=26,163
  582.                 RECT=26,163,286,321
  583.                 POSTNAME=TEXT1
  584.                 COLOR=51,51,0
  585.                 FONTSIZE=14
  586.                 SERIF=TRUE
  587.                 JUSTIFY=CENTER
  588.                 MULTILINE=TRUE
  589.                 SMOOTH=TRUE
  590.             </PROPERTIES>
  591.         </TEXT>
  592.         <BUTTON NAME=next>
  593.             <SLOTS>
  594.                 temp=0
  595.             </SLOTS>
  596.             <DATA>
  597.                 lilballbutd.gif
  598.                 lilballbutmd.gif
  599.                 lilballbutmo.gif
  600.             </DATA>
  601.             <PROPERTIES>
  602.                 VISIBLE=TRUE
  603.                 LOCATION=160,328
  604.                 MOUSEOVER=TRUE
  605.             </PROPERTIES>
  606.             <HANDLERS>
  607.                 <mouseup $substeps.value LT $(step_$lessonplan.value).stepcount>
  608.                     me set temp=$substeps.value
  609.                     me increment temp,1
  610.                     substep_$temp mouseup 
  611.                 </mouseup>
  612.                 <mouseup $lessonplan.value LT 17>
  613.                     me set temp=$lessonplan.value
  614.                     me increment temp,1
  615.                     step_$temp mouseup 
  616.                 </mouseup>
  617.             </HANDLERS>
  618.         </BUTTON>
  619.         <BUTTON NAME=prev>
  620.             <SLOTS>
  621.                 temp=0
  622.             </SLOTS>
  623.             <DATA>
  624.                 lilballbutd.gif
  625.                 lilballbutmd.gif
  626.                 lilballbutmo.gif
  627.             </DATA>
  628.             <PROPERTIES>
  629.                 VISIBLE=TRUE
  630.                 LOCATION=120,328
  631.                 MOUSEOVER=TRUE
  632.             </PROPERTIES>
  633.             <HANDLERS>
  634.                 <mouseup $substeps.value GT 1>
  635.                     me set temp=$substeps.value
  636.                     me decrement temp,1
  637.                     substep_$temp mouseup 
  638.                 </mouseup>
  639.                 <mouseup $lessonplan.value GT 1>
  640.                     me set temp=$lessonplan.value
  641.                     me decrement temp,1
  642.                     step_$temp mouseup 
  643.                     substep_$(step_$lessonplan.value).stepcount mouseup 
  644.                 </mouseup>
  645.             </HANDLERS>
  646.         </BUTTON>
  647.         <TEXT NAME=TEXT18>
  648.             <PROPERTIES>
  649.                 VISIBLE=TRUE
  650.                 LOCATION=152,355
  651.                 RECT=152,355,192,370
  652.                 POSTNAME=TEXT1
  653.                 VALUE=next
  654.                 COLOR=51,51,0
  655.                 FONTSIZE=10
  656.                 JUSTIFY=CENTER
  657.                 MULTILINE=TRUE
  658.                 SMOOTH=TRUE
  659.             </PROPERTIES>
  660.         </TEXT>
  661.         <TEXT NAME=TEXT19>
  662.             <PROPERTIES>
  663.                 VISIBLE=TRUE
  664.                 LOCATION=111,355
  665.                 RECT=111,355,151,370
  666.                 POSTNAME=TEXT1
  667.                 VALUE=back
  668.                 COLOR=51,51,0
  669.                 FONTSIZE=10
  670.                 JUSTIFY=CENTER
  671.                 MULTILINE=TRUE
  672.                 SMOOTH=TRUE
  673.             </PROPERTIES>
  674.         </TEXT>
  675.         <TEXT NAME=Caption>
  676.             <PROPERTIES>
  677.                 VISIBLE=TRUE
  678.                 LOCATION=346,186
  679.                 RECT=346,186,567,222
  680.                 POSTNAME=TEXT20
  681.                 COLOR=255,255,204
  682.                 SERIF=TRUE
  683.                 JUSTIFY=CENTER
  684.                 MULTILINE=TRUE
  685.                 SMOOTH=TRUE
  686.             </PROPERTIES>
  687.         </TEXT>
  688.         <PICTURE NAME=IMAGE>
  689.             <PROPERTIES>
  690.                 VISIBLE=TRUE
  691.                 REGPOINT=50,50
  692.             </PROPERTIES>
  693.             <HANDLERS>
  694.                 <completeload>
  695.                     me set LOCATION=448,152
  696.                     me show 
  697.                     caption set top=$bottom
  698.                 </completeload>
  699.             </HANDLERS>
  700.         </PICTURE>
  701.         <PICTURE NAME=LOGO>
  702.             <DATA>
  703.                 images/00.Interactor.gif
  704.             </DATA>
  705.             <PROPERTIES>
  706.                 VISIBLE=TRUE
  707.                 LOCATION=117,81
  708.             </PROPERTIES>
  709.         </PICTURE>
  710.         <SUBLET NAME=jukebox>
  711.             <DATA>
  712.                 ../TutorialContent/starfish.mbd
  713.             </DATA>
  714.             <PROPERTIES>
  715.                 VISIBLE=TRUE
  716.                 LOCATION=300,0
  717.                 RECT=300,0,600,400
  718.             </PROPERTIES>
  719.         </SUBLET>
  720.         <SOUND NAME=TICK>
  721.             <DATA>
  722.                 tick.wav
  723.             </DATA>
  724.         </SOUND>
  725.     </PLAYERS>
  726.     <HANDLERS>
  727.         <STARTUP>
  728.             step_1 MOUSEUP 
  729.         </STARTUP>
  730.         <SHOWSUBS $PARAM EQ 1>
  731.             substeps hide 
  732.             logo show 
  733.             jukebox show 
  734.             jukebox.child.path1 play 
  735.             substep_1 hide 
  736.             substep_2 hide 
  737.             substep_3 hide 
  738.             substep_4 hide 
  739.             substep_5 hide 
  740.         </SHOWSUBS>
  741.         <SHOWSUBS $PARAM EQ 2>
  742.             substep_1 show 
  743.             substep_2 show 
  744.             substep_3 hide 
  745.             substep_4 hide 
  746.             substep_5 hide 
  747.             substep_1 set RECT=91,99,104,112
  748.             substep_2 set RECT=201,99,213,112
  749.         </SHOWSUBS>
  750.         <SHOWSUBS $PARAM EQ 3>
  751.             substep_1 show 
  752.             substep_2 show 
  753.             substep_3 show 
  754.             substep_4 hide 
  755.             substep_5 hide 
  756.             substep_1 set RECT=91,99,104,112
  757.             substep_2 set RECT=146,99,158,113
  758.             substep_3 set RECT=201,99,213,112
  759.         </SHOWSUBS>
  760.         <SHOWSUBS $PARAM EQ 4>
  761.             substep_1 show 
  762.             substep_2 show 
  763.             substep_3 show 
  764.             substep_4 show 
  765.             substep_5 hide 
  766.             substep_1 set RECT=91,99,104,113
  767.             substep_2 set RECT=127,99,139,112
  768.             substep_3 set RECT=164,99,176,113
  769.             substep_4 set RECT=201,99,213,112
  770.         </SHOWSUBS>
  771.         <SHOWSUBS $PARAM EQ 5>
  772.             substep_1 show 
  773.             substep_2 show 
  774.             substep_3 show 
  775.             substep_4 show 
  776.             substep_5 show 
  777.             substep_1 set RECT=91,99,104,113
  778.             substep_2 set RECT=119,99,131,112
  779.             substep_3 set RECT=148,99,158,113
  780.             substep_4 set RECT=174,99,186,112
  781.             substep_5 set RECT=201,99,213,114
  782.         </SHOWSUBS>
  783.     </HANDLERS>
  784. </MBEDLET>
  785.