Smart    Lucky

Smart Lucky

  • NA
  • 555
  • 640.8k

VideoBrush

Nov 15 2011 2:51 AM
Hi
I am trying Video brush in this way and it is not calling can any one tell why....?

and it is showing me warrning below....

The file 'wildfile.wmv' is not part of the project of its 'Bulid Action' property is not set ot 'Resource'



 <MediaElement Source="Wildlife.wmv" x:Name="movie" Opacity="0" AutoPlay="True" />
        <TextBox Height="100" Width="150" Text="Testing" Canvas.Left="409" Canvas.Top="12">
            <TextBox.Background >
                <VideoBrush SourceName="movie" Stretch="UniformToFill"></VideoBrush>
            </TextBox.Background>
        </TextBox >

Answers (5)