在SketchFlow动画的过渡期间重置属性值 [英] Property values being reset during the transitions of a SketchFlow animation

查看:69
本文介绍了在SketchFlow动画的过渡期间重置属性值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

观看"使用Expression Blend 3使用SketchFlow动画面板"之后 http://expression.microsoft.com/en-us/ee426894.aspx 上的视频,我想我会按照自己的例子来试试。然而我遇到了一个问题。

我有一个复选框和一个光标图像。完整的动画包括:

1。将光标移动到复选框(第1帧)。
2。将复选框设置为IsChecked为true。 (第2帧)。
3。将光标移离复选框(第3帧)。
4。继续使用其他帧以获得更多动画。 (框架n)。

我遇到的问题是在帧之间的(0.5秒)转换期间,复选框中的检查正在消失。例如,在(1秒)帧2保持期间,选中复选框。然后,在从第2帧到第3帧的(0.5秒)转换期间,取消选中该复选框。这在每次转换期间都会发生(复选框未选中。)结果是复选框闪烁(保持期间)和关闭(转换期间)。

看来我的一般问题是控件是在转换期间被设置为基本状态。 (我发现ListBox和ComboBox在设置SelectedIndex时遇到了同样的问题。)

我想我错过了定义帧的方法。有没有人有我的指针?

Wally



软件开发,咨询和培训

After watching the "Working with the SketchFlow Animation Panel with Expression Blend 3" video at http://expression.microsoft.com/en-us/ee426894.aspx, I thought I would try it on my own example. I ran into a problem however.

I have a checkbox and a cursor image. The complete animation consists of:

1. Move the cursor to the checkbox (frame 1).
2. Set the checkbox to IsChecked to true. (frame 2).
3. Move the cursor away from the checkbox (frame 3).
4. Continue with other frames for more animation. (frame n).

The problem that I'm having is that during the (0.5 second) transitions between frames, the check in the checkbox is disappearing. For example, during the (1 second) frame 2 hold, the checkbox is checked. Then, during the (0.5 second) transition from frame 2 to frame 3, the checkbox is unchecked. This happens during every transition (the checkbox goes unchecked.) The result is that the checkbox flickers on (during holds) and off (during transitions).

It seems that my general problem is that the control is being set to the base state during transitions. (I found ListBox and ComboBox have the same problem when setting SelectedIndex.)

I think I'm missing something about defining the frames. Does anyone have a pointer for me?

Wally


Software development, consulting, and training

推荐答案

嗨Wally - 您有没有找到解决方法? 我遇到了同样的问题。
Hi Wally--did you ever find a workaround for this?  I'm experiencing the same issue.


这篇关于在SketchFlow动画的过渡期间重置属性值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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