[URGENT] SpriteSheet Broken

I’m currently porting a flash game from AS3 to Lua using the Corona Game Edition.
I decided I’d use sprite sheets for fast performance.

There’s a major problem with it - it doesn’t import my sheet properly.

My sheet’s height is 104px.
My sheet’s width is 4410px.
My sheet has a total of 14 frames.

I’m able to animate through it, however I’m not able to specify any frame height above 12px (therefore I can only see the tops of each frame) without getting the error message:

 'frameHeight' must be less than sheet height  

Here is my sprite sheet image:
http://www.mediafire.com/?ntyqktztgt1

Here is my sprite sheet code:

 local dgGame = display.newGroup()  
 dgGame.x = 0  
 dgGame.y = 0  
  
 local dgScreen\_MainMenu = display.newGroup()  
 dgGame:insert( dgScreen\_MainMenu )  
 dgScreen\_MainMenu.x = 0  
 dgScreen\_MainMenu.y = 0  
  
 local sheet1 = sprite.newSpriteSheet( "title\_logo.png", math.floor(4410/14), 104 )  
 local spriteSet1 = sprite.newSpriteSet(sheet1, 1, 10)  
 local instance1 = sprite.newSprite( spriteSet1 )  
 dgScreen\_MainMenu:insert( instance1 )  
 instance1.x = math.floor(display.contentWidth / 2)  
 instance1.y = math.floor(display.contentHeight / 2)  
 instance1:play()  

Any suggestions? Am I doing something wrong, or is this seriously broken?
[import]uid: 7366 topic_id: 1353 reply_id: 301353[/import]

FYI, the texture size limit for the iphone is 1024x1024. So your sheet is to big and I would expect to see problems with it in general and not only related to the Game Edition.
[import]uid: 5712 topic_id: 1353 reply_id: 3687[/import]

Ah, thank you Mike.
I didn’t know that.

Is there a program I can use to re-organize my sprite sheet so that it fits within that limit?

If not, is there a program that will take a sprite sheet and separate each image so I can simply use the MovieClip class? [import]uid: 7366 topic_id: 1353 reply_id: 3691[/import]

Not that I know of. But maybe someone else knows. [import]uid: 5712 topic_id: 1353 reply_id: 3692[/import]

If you have each frame in the sheet as a separate image, then there are a number of utilities that can help you reorganize them. A good one is Zwoptex – and it’s free! [import]uid: 54 topic_id: 1353 reply_id: 3927[/import]

Correction: It is not free… and in a company you need a licence for every user.
[import]uid: 6928 topic_id: 1353 reply_id: 3936[/import]

Huh, you’re right. They changed that recently, probably when they went 1.0. [import]uid: 54 topic_id: 1353 reply_id: 4027[/import]

The maximum texture size limit on newer-generation iPhones and the iPad is 2048 x 2048, but 1024 x 1024 is the safe size if you want total backwards compatibility.

The Zwoptex online version is still free: http://www.zwoptexapp.com/flashversion . It’s confusingly named “flash version”, but that’s because it’s written IN Flash, not FOR Flash. [import]uid: 3007 topic_id: 1353 reply_id: 4135[/import]