Error: Uncaught TypeError: Object #<an Object> has no method 'pan'
<p>For some reason, I'm getting this error message:</p>

<pre><code>Uncaught TypeError: Object #&lt;an Object&gt; has no method 'pan'
</code></pre>

<p>For this line of code:</p>

<pre><code>$('#bg_1').pan({fps: 3, speed: 2, dir: 'right'});
</code></pre>

<p>I have connected the spritely plugin prior to this line of code as you can see here:
<a href="http://www.marioplanet.com/index.asp" rel="nofollow">http://www.marioplanet.com/index.asp</a></p>

<p>Any ideas?</p>
