(A George Script For Aura)

Written By Ray Foster


(Note: This script only works with Aura 1.0)


You can go to the bottom of the page from here and click on the link to download this script, or take a look at the acutal script, which is between the start and end George script lines.

< ---------------------------------- Start of George Script ----------------------- >
// reverse.grg - rfoster
// This appends a duplicate set of frames in reverse order
// to the end of an existing animation like a ping pong effect
// Sometimes I get things backwards.

param none
connect "aura commands"
tv_request "Reverse order of frames in layer |Continue|Stop"
answer=result

if (answer==0)
exit
end


//++++++++++++++++++++++++++++++++++++
tv_lastimage
count=result //last image in original
place=count //last image after paste +1 to get first image
marker=0 //previous image

do


tv_layerselect count-marker 1 //select last image less marker as current
tv_layercopy //copy current image

tv_layerselect place 1 //select last image
tv_layerinsertimage //select a new image after the last image
tv_layerpaste //paste new image
marker=marker+1
place=place+1

until (marker==count+1) //won't get to zero unless count+1

tv_lastimage
last=result
tv_layerselect last 1
tv_layercut

tv_layerselect count 1

tv_layerinsertimage 0

< ---------------------------------- End of George Script ----------------------- >


Click Here to Download Reverse.zip


Well that does it for this one, till next time...


To contact Ray Foster you can E-Mail him at rfoster@idirect.com

Back To The Tutorial Page
Copyright © 2001 Visual Inspirations