to be more clear adding sprite means :
if my variable lives = 3 I will print <img src="smileys/smiley10.gif" border="0" align="middle" /> <img src="smileys/smiley10.gif" border="0" align="middle" /> <img src="smileys/smiley10.gif" border="0" align="middle" />
if lives = 2 I will print <img src="smileys/smiley10.gif" border="0" align="middle" /> <img src="smileys/smiley10.gif" border="0" align="middle" />
===>sprite creation in dynamic it's related to lives variable.
thanks of help