混合3动画不工作 [英] blend 3 animation not working

查看:72
本文介绍了混合3动画不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在win xp pro上安装了表达式混合3,silverlight和运行visual studio professional 2008的试用版。我创建了一个silverlight app项目,在屏幕上放置了一个矩形,然后创建了一个新的故事板。我将时间设置为几秒钟,移动矩形并停止录制故事板。当我运行应用程序以在IE浏览器版本6中显示时,没有任何反应。有什么东西我需要安装才能使这个工作吗?

I have installed the trial version of expression blend 3, silverlight and running visual studio professional 2008 on win xp pro.  I created a silverlight app project, placed a rectangle on the screen and then created a new storyboard.  I set the time for a couple of seconds, moved the  rectangle and stopped the storyboard from recording.  When I run the app to display in IE explorer ver 6, nothing happens. Is there something I need to install to make this work?

推荐答案

你确实创建了一个动画,但你没有把它挂起来玩。尝试这些步骤,让我知道它是否适合您。

1。打开资产面板并拖放"ControlStoryboradAction"矩形上的行为
2。选择"ControlStoryboardAction";在对象和时间线面板中3。在"属性"窗格中,在"故事板"中设置要播放的故事板。下降
4。设置"事件名称"财产到已装载的5。 F5

您会看到一旦加载矩形就会播放动画。您还可以创建一个按钮并添加"ControlStoryboardAction"。在其他事件上播放动画的行为,例如点击按钮等...

你可以使用 http://www.kirupa.com/blend_silverlight/using_behaviors_pg1.htm 了解有关行为的更多信息。

希望这会有所帮助。

问候,
Navit Saxena
Hi,
     You did create a animation but you didn't hook it up to play. Try these steps and let me know if it works for you.

1. Open Asset Panel and drag and drop "ControlStoryboradAction" behavior on the rectangle
2. Select "ControlStoryboardAction" in Object and Timeline panel
3. In Properties pane, set the storyboard you want to play in the "Storyboard" drop down
4. Set the "Eventname" property to Loaded
5. F5

You will see that animation will play as soon as Rectangle gets loaded. You can also create a button and add "ControlStoryboardAction" behavior to it to play animation on other events like click of a button etc...

You can use  http://www.kirupa.com/blend_silverlight/using_behaviors_pg1.htm to learn more about behaviors.

Hope this helps.

Regards,
Navit Saxena


这篇关于混合3动画不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆