Quote: "If it so easy and only 4 lines would you please show me those 4 lines of code?"
Didn't you ask this in the App Game Kit area? Pincho Paxton is right. Writing code for that doesn't take much. The following isn't 4 lines because it creates images, uses a timer, and has remarks so you know what's going on.
` Create two boxes
for t=1 to 2
` Make a box
box 0,0,screen width(),screen height(),rgb(rnd(255),rnd(255),rnd(255)),rgb(rnd(255),rnd(255),rnd(255)),rgb(rnd(255),rnd(255),rnd(255)),rgb(rnd(255),rnd(255),rnd(255))
` Grab the image
get image t,0,0,screen width(),screen height(),1
next t
` Set starting image
CImage=1
` Create a timer
tim=timer()
do
` Show the current image
paste image CImage,0,0
` Check if it's time to switch the image (every 20 milliseconds)
if timer()>tim+20
` Increase CImage
inc CImage
` Reset timer
tim=timer()
` Check if CImage goes beyond the range of 1 to 2 and reset back to 1
if CImage=3 then CImage=1
endif
loop
Or just use one of the animation programs that use the Mac and just do it that way rather than writing any lines of code.
http://download.cnet.com/mac/animation-software/