Flash of strip of new scene appears as new scene appears

I am experiencing an issue when I change scenes where I get a quick flash of a strip (full length of screen and about 65 pixels wide on iPhone 4) of the background of the new scene appearing at the same time as the background for the old scene. It looks like the imagery from this strip is coming from the LHS of the background image of the new scene.

See http://www.mediakitchen.co.uk/grab3.png

This issue only seems to have started since I amended my image display code to cater for iPad screen sizes

e.g

  
local background = display.newImageRect("images/splashBg.jpg", 384,512)  
background.x = 160  
background.y = 240  
localGroup:insert(background)  
  

Note the example grab link above shows a strip of the splashBg.jpg image

Thinking about it, I wonder if the issue is related to the fact I have changed this image to jpg to try and reduce file size.

Anyway any advice much appreciated.

Thanks

Paul [import]uid: 7863 topic_id: 7084 reply_id: 307084[/import]

Just to confirm the issue is not related to using jpg images. I reverted back to png and the issue still occurs.

I have also now identified that the strip of image appearing is actually a strip of image from the left hand side of the background of the new scene.

See http://www.mediakitchen.co.uk/grab4.jpg

I have drawn a line around the strip and also the 640 x 960 visible area on the iPhone 4.

So it appears that is is displaying the bleed area from the left of the background image as the scene is changed. And the weird thing is that it is displaying this bleed area on the right hand side.

It is almost as if it is loading the new background image off screen to the right by one screen width and because my background image has bleed on its edges, this excess is appearing on the right hand side of my screen.

This is very strange! [import]uid: 7863 topic_id: 7084 reply_id: 24896[/import]

I have found another post related to this issue and the solution seems to fix my issue - phew!

http://developer.anscamobile.com/forum/2011/02/07/anomaly-fade-effect-using-letterbox

[import]uid: 7863 topic_id: 7084 reply_id: 24910[/import]