Making a Track Transparent

mattpeneguy wrote on 3/1/2012, 6:48 PM
Okay,
I've posted in another forum, and while they've tried to help...I just don't get it. I need a snippet that will make Track 0 transparent... I've tried to get at it from adjusting the CompositeLevel but haven't been able to figure it out. So, I want to do it through using Mute. I believe the following is very close, but it gives me a type mismatch error. Could someone please fix the following code?

import Sony.Vegas;
import Sony.Vegas.Track;

var track : Track = Track(0);
track.Mute=true;

Thanks