hi folks,
my sonyericcson emulator's width:176 and height:220.
Im having one image with same height but double the width.
so,
g.drawImage(transparentImage,0,0,g.TOP|g.LEFT);
will display only the first half of the img.
when i press any key , i want to show the second hidden part of the same image so that it creates an illusion of moving.
when i used,
g.translate(-175,0);
its suddenly moving to second part but not creates any illusion of movement.
before painting transparentImage i ve already painted BGImage.
now if i use
g.translate(-175,0);
g.drawString("painting",8,96,g.TOP|g.LEFT);
the "painting " is painted in the BGImage and not on top of transparentImage.
Please suggest....
1. how to move the img gradually
2. how to drawstring on top of that moved img
Thanks in advance
yafy



