Sorry if i am posting this in wrong
thread.
code is working, but there is some problem in my movementFish function, i tried allot but don't know where the problem is.
the problem is:
my x and y positions are 90 and 50,
sp.getHeight is 280 and sp.getWidth is 480.
when my image reached to 480 it reversed but now after reversing when it comes back(moving) to it's 0(zero)th position my y direction not changing while it's moving, it's moving continually at the top of frame, i mean to say, while coming back to 0th after reaching to 480, it only moving from left to right not top to bottom also (i mean y is not working only x is working).??