title: cocos2d runAction in loop
body: <p>quite new to cocos2d so this is probably a school boy question.</p>
  
  <p>I have ccMenu full of ccMenuItemImage's and want to animate each menu item in sequence to fade out.</p>
  
  <p>I have an array with all the CCMenuItemImages:</p>
  
  <pre><code>menuItems = [[NSArray alloc] initWithObjects:button1, button2, button3, nil];
  </code></pre>
  
  <p>And i am trying to loop through the array and fade each button out:</p>
  
  <pre><code>CCFadeOut *fadeToAlpha = [CCFadeOut actionWithDuration:0.5];
  
  for (CCMenuItemImage *nextOne in menuItems)
      [nextOne runAction:fadeToAlpha];
  </code></pre>
  
  <p>This seems to work, but will only fade out the last CCMenuItemImage in the array. I know i could perform the action on the actual CCMenu, but i want to perform the animations one after another on each menu item.</p>
  
  <p>Any help would be appreciated. </p>