I have created an story boarding animation from png images using expression blend .When I play animation for the first time it flickers but when I play for second time it not flicker ? Why? Is there any way that animation not flicker for first time?
Here is my code
<Storyboard x:Name="Storyboard1">
<ObjectAnimationUsingKeyFrames Duration="0:0:5.0"
Storyboard.TargetName="image"
Storyboard.TargetProperty="Source">
<ObjectAnimationUsingKeyFrames.KeyFrames>
<DiscreteObjectKeyFrame KeyTime="0:0:0.01">
<DiscreteObjectKeyFrame.Value>
<BitmapImage UriSource="animation/entering toilet/a01.png"/>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
<DiscreteObjectKeyFrame KeyTime="0:0:0.2">
<DiscreteObjectKeyFrame.Value>
<BitmapImage UriSource="animation/entering toilet/a02.png"/>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
<DiscreteObjectKeyFrame KeyTime="0:0:0.6">
<DiscreteObjectKeyFrame.Value>
<BitmapImage UriSource="animation/entering toilet/a03.png"/>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
<DiscreteObjectKeyFrame KeyTime="0:0:1.0">
<DiscreteObjectKeyFrame.Value>
<BitmapImage UriSource="animation/entering toilet/a04.png"/>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
<DiscreteObjectKeyFrame KeyTime="0:0:1.4">
<DiscreteObjectKeyFrame.Value>
<BitmapImage UriSource="animation/entering toilet/a05.png"/>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
<DiscreteObjectKeyFrame KeyTime="0:0:1.8">
<DiscreteObjectKeyFrame.Value>
<BitmapImage UriSource="animation/entering toilet/a06.png"/>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
<DiscreteObjectKeyFrame KeyTime="0:0:2.2">
<DiscreteObjectKeyFrame.Value>
<BitmapImage UriSource="animation/entering toilet/a07.png"/>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
<DiscreteObjectKeyFrame KeyTime="0:0:2.6">
<DiscreteObjectKeyFrame.Value>
<BitmapImage UriSource="animation/entering toilet/a08.png"/>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
<DiscreteObjectKeyFrame KeyTime="0:0:3.0">
<DiscreteObjectKeyFrame.Value>
<BitmapImage UriSource="animation/entering toilet/a09.png"/>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames.KeyFrames>
</ObjectAnimationUsingKeyFrames>
</Storyboard>