<head><style>body{font-size:10pt;font-family:arial,sans-serif;background-color:#ffffff;color:black;}p{margin:0px;}</style></head><body><font color="#000000"><font size="2"><font face="arial,sans-serif">Don,</font></font></font><div><font color="#000000"><font size="2"><font face="arial,sans-serif"><br></font></font></font></div><div><font color="#000000"><font size="2"><font face="arial,sans-serif">I got it installed - figured it out and have it installed on 8 computer so far</font></font></font></div><div><font color="#000000"><font size="2"><font face="arial,sans-serif"><br></font></font></font></div><div><font color="#000000"><font size="2"><font face="arial,sans-serif">Thanks for your help</font></font></font></div><div><font color="#000000"><font size="2"><font face="arial,sans-serif"><br></font></font></font></div><div><font color="#000000"><font size="2"><font face="arial,sans-serif">Kent<br></font></font></font><blockquote style="PADDING-LEFT: 5px; MARGIN-LEFT: 0px; BORDER-LEFT: #0000ff 2px solid">-----Original Message-----
<br>From: Don Slater <dslater@andrew.cmu.edu>
<br>Sent: Mar 3, 2014 11:59 AM
<br>To: Alice Teachers <alice-teachers@lists.andrew.cmu.edu>
<br>Subject: Re: alice-teacher addObjectMover Event Listener in Alice 3

<br><br><zzzhtml><zzzhead><zzzmeta http-equiv="Content-Type" content="text/html charset=us-ascii"></zzzmeta></zzzhead><zzzbody style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Courtney,<div>She will not be able to do what she would like with the addObjectMover event listener. Essentially, addObjectMover is a method that is invoked when the program starts to run, and it executes continually while the program is running. And we do not provide access to edit the method so that you can stop at at any time. So the initial parameter that is passed is assigned when the method runs, and like any paramour to an executing method, it cannot be reassigned while the method is running. Does that make sense?</div><div><br></div><div>AddObjectMover was designed to be a simple event for those cases in which a student wants to move a single character throughout an animation (as in the case of most first-person exploration games). For the more complex case your student is interested in, she will need to build an addKeyListener event that sorts through the different cases.</div><div><br></div><div>Let me know if you have more questions.</div><div><br></div><div>All the best,</div><div>Don Slater</div><div><br></div><div><div><div>On Mar 3, 2014, at 10:20 AM, courtney bein &lt;<a target="_blank" href="mailto:courtney.bein@oracle.com">courtney.bein@oracle.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
  

    <zzzmeta http-equiv="content-type" content="text/html; charset=UTF-8">
  
  <div text="#000000" bgcolor="#FFFFFF">
    Hello,<br>
    <br>
    One of my students was wondering if its possible to start and stop
    the addObjectMover event listener in Alice 3. <br>
    <br>
    In her animation, she wants to control one object with the arrow
    keys, but then (if <b>x </b>happens) stop control of that object
    and start controlling a different object with the keyboard keys. <br>
    <br>
    Regards,<br>
    Courtney&nbsp;
  </div>

_______________________________________________<br>alice-teachers mailing list<br><a target="_blank" href="mailto:alice-teachers@lists.andrew.cmu.edu">alice-teachers@lists.andrew.cmu.edu</a><br>https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers<br></zzzmeta></blockquote></div><br></div></zzzbody></zzzhtml></alice-teachers@lists.andrew.cmu.edu></dslater@andrew.cmu.edu></blockquote></div></body>