I did the latter. But the backgound object (part of which was a small rectangle which was the page colour) ends up with a white frame around it when reproduced on the page.

This is normal when I export GIFs or JPGs from Xtreme. I normally get arouund it by placing everything on a larger square or rectangle of the same colour on a background layer and exporting all the objects except the background layer and this works fine.

Please tell me if I'm wrong but if I try that with an animation my resulting GIF becomes the size of all the objects INCLUDING the larger rectangle. There's no way I can just export a selection of objects.