Page 1 of 1

changing the alpha mode

Posted: November 6th, 2005, 9:14 pm
by ndeboar
Hey,

IM trying to set the alpha mode of imported footage. For someone reason every time i import a file via a script it defaults its alpha to ignore, even when its set to premult in my preferences.

This is what i tried

app.project.item(i).mainSource.alphaMode.PREMULTIPLIED;

Didnt do much though.

Any ideas?

Cheers,

Nick D
http://www.thepra.com.au

Posted: November 7th, 2005, 1:42 am
by Paul Tuersley
This seems to work:

app.project.item(i).mainSource.alphaMode = AlphaMode.PREMULTIPLIED;