Place an item beneath another item in Illustrator CS3/CS5

say I’ve got an Illustrator file with two linked .tifs, one sitting on top of the other. The bottom .tif is a picture of a baseball, the top .tif is just a transparency that makes the baseball look blue.

now, how would I replace the bottom .tif, the picture of the baseball, with another .tif file (say, a picture of a football), and still keep the two .tif fles in the same stacking order? How could I keep the bottom .tif on bottom and the top .tif on top? As it is now, every time I re-link, the new .tif file comes in at the top of the stacking order.

any and all help is appreciated.

Send it to the back.

Or use move to .

tell application "Adobe Illustrator"
	tell the current document
		tell layer 1
			move the first raster item to after the second raster item
		end tell
	end tell
end tell

thanks Mark…I can figure out a way to make this work for me.

Cheers :smiley:

move some document object to some location will allow you quite a bit of flexibility with your syntax.

tell application "Adobe Illustrator"
	tell the current document
		move the first raster item of layer 1 to before the last path item of the last layer
	end tell
end tell

Stepping back to document level to move between layers.