Hi, Folks. I have this script (below) in a TextMorph. When I evaluate each line it seems to work fine, until the last line which causes this error &quot;Type Error: Cannot call method &#39;startSteppingFor&#39; of null&quot;. How do I debug this?<div>
<br></div><div><div>BoxMorph.subclass(&quot;LauncherMorph&quot;, {</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>addMorph: function(morph) {</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>//super(morph);</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>morph.velocity=pt(10,0);</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>morph.angularVelocity=Math.PI/16;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>morph.moveOriginBy(morph.innerBounds().center());</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>//morph.stepByVelocities();</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>morph.startStepping(1000,&quot;stepByVelocities&quot;);</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>}</div><div>});</div><div>morph1 = new LauncherMorph(new Rectangle(50,100,80,360));</div><div>morph1.openInWorld();</div><div>morph2 = Morph.makeRectangle(new Rectangle(20,20,40,40));</div>
<div>morph1.addMorph(morph2);</div></div><div><br></div><div>Here&#39;s a link to my test page: <a href="http://www.lively-kernel.org/repository/lively-wiki/users/pshouse/test.xhtml">http://www.lively-kernel.org/repository/lively-wiki/users/pshouse/test.xhtml</a></div>
<div><br></div><div>Thanks,</div><div>Patrick</div>