display.remove does not work as expected

1
2
3
4
5
6
7
8
local imgBackground = display.newImage("image_320x480.jpg")
 
display.remove(imgBackround)
 
imgBackground = display.newImage("image_320x480.jpg")
imgBackground.alpha = 0.0
 
transition.to(imgBackground, { time=3000, alpha=1.0 })

@culutas,
spelling mistakes

imgBackround and imgBackground are different and hence will not work

cheers,

?:)

it is a shame i overlooked this simple mistake... thanks for pointing it out. ;)

views:1445 update:2011/9/29 19:21:19
corona forums © 2003-2011