问题描述
你好我是一个使用Blend3的新手。
Hi I a newbie using Blend3.
我已经能够在Blend2中插入一个播放按钮,但我不知道怎么在Blend3中这样做。我该如何学习呢?我知道这个网站上有视频,但视频是针对WPF应用而不是针对Silverlight。我需要Silverlight,因为我想把它放在网上。 Blend3中Play()的语法是什么?步骤是什么?
I have been able to insert a play button in Blend2 but I don't know how to do it in Blend3. How do I go about learning this? I know there is video on this site under Learn but the Video is for WPF application and not for Silverlight. I would need it for Silverlight as I want to put it up on the web. What is the syntax for Play() in Blend3 and what are the steps?
希望你能提供帮助。
Murpho
推荐答案
private void Play_Click(object sender,System.Windows.RoutedEventArgs e)
private void Play_Click(object sender, System.Windows.RoutedEventArgs e)
{
[video_wmv的名称] .Play();
[Name of video_wmv].Play();
// TODO:在此处添加事件处理程序实现。
// TODO: Add event handler implementation here.
}
当你关注视频时,它的名称将改为* _wmv(或avi或其他),所以你会必须替换原来的"。"。 by"_"。
when you isert the video so, the name of it will change to *_wmv (or avi or whatever) so you will have to replace the original "." by "_".
我希望我能提供帮助。
JR
PS:.Pause(); 。停止(); 。恢复();也应该工作。
PS: .Pause(); .Stop(); .Resume(); should work too.
这篇关于如何在Blend3中插入视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!