weird force stop error

Monkey Targets Forums/Android/weird force stop error

dave.h(Posted 2011) [#1]
why do i get a a force stop crash on my experia x10 with this code

If level=7
update_aliens()
reset_aliens(0,9,0,1)
resources=1000
eol_score=10
main_background=LoadImage("lev7.png")
EndIf

now this works with hmtl and on my android galaxy tab perfectly.
i know the error is main_background=LoadImage("lev7.png") but i use this image in level 8 and 9. the error happens when it is loaded in level 9.i have worked out a different way of doing this but cant understand why i would get the error.is it possibly just a quirk of the experia x10 or am i missing something obvious.