<mx:Label visible="false" includeInLayout="false" text="{String(rp.currentIndex)}"/>visible="false" and includeInLayout="false" should also be set