title: cocos2d Sprite contentSize Problem
body: <p>I've defined a sprite using the spriteWithFile method, providing a 120px by 30px .png</p>
  
  <pre><code>Sprite *trampoline = [Sprite spriteWithFile:@"trampoline.png"];     
  [self addChild:trampoline];
  </code></pre>
  
  <p>When I add this to my Layer and position it, it is where I expect it to be on the screen.</p>
  
  <pre><code>trampoline = [Trampoline node];
  trampoline.position = ccp(160,15);
  [self addChild:trampoline z:0 tag:1];
  </code></pre>
  
  <p>However, it seems to have no contentSize. The following NSLog statement:</p>
  
  <pre><code>NSLog(@"Content Size x:%f, y:%f", trampoline.contentSize.width,trampoline.contentSize.height);
  </code></pre>
  
  <p>Gives the following read out:</p>
  
  <pre><code>2009-07-10 18:24:06.385 TouchSprite[3251:20b] Content Size x:0.000000, y:0.000000
  </code></pre>
  
  <p>Am I missing something? Shouldn't that be 120.000000 by 30.000000</p>
  
  <p>Any help would be greatly appreciated.</p>
  
  <p>Regards,</p>
  
  <p>Rich</p>