Currently I'm doing this:
Code: Select all
-- init some variables
put the width of this stack into tWidth
put tWidth /9 into tWidthEase
put the height of this stack into tHeight
put tHeight /9 into tHeightEase
put 0 & "," & tVerticalMiddle into tmyLocalLeftMidScreen
put tWidth & "," & tVerticalMiddle into tmyLocalRightMidScreen
-- Move something X times
Repeat for X times
move img MyImage from tmyLocalLeftMidScreen to (item 1 of tmyLocalRightMidScreen -tWidthEase),(item 2 of tmyLocalRightMidScreen) in 2000 milliseconds
wait 2 milliseconds with messages
move img MyImage from the loc of img Customimage to tmyLocalRightMidScreen in 350 milliseconds --Ease To Edge
wait 2 milliseconds with messages
move img MyImage from tmyLocalRightMidScreen to (item 1 of tmyLocalLeftMidScreen +tWidthEase),(item 2 of tmyLocalLeftMidScreen) in 2000 milliseconds
wait 2 milliseconds with messages
move img MyImage from the loc of img Customimage to tmyLocalLeftMidScreen in 350 milliseconds -- Ease to Edge
wait 2 milliseconds with messages
End Repeat