changing the alpha mode

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
ndeboar
Posts: 8
Joined: April 17th, 2005, 8:39 pm

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
Paul Tuersley
Posts: 704
Joined: June 5th, 2004, 7:59 am
Location: London, UK

This seems to work:

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