Posted on: 10/31/2012 1:42:24 AM | Views : 272

trying to begin a storyboard by using
<Image x:Name="MovingImage" Source="/TouchApp;component/Rocks.jpg" MaxWidth="120"> <Image.RenderTransform> <TranslateTransform /> </Image.RenderTransform> </Image> <Grid.Resources> <Storyboard x:Key="TransformImage"> <DoubleAnimation Storyboard.TargetName="MovingImage" Storyboard.TargetProperty="(Image.RenderTransform).(TranslateTransform.X)" By="100" Duration="0:0:3"> </DoubleAnimation> </Storyboard> </Grid.Resources> and the code behind   if ((touchPoint.Position.X >= 1.00 || touchPoint.Position.X <= 150.00) && (touchPoint.Position.Y >= 0.00 || touchPoint.Position.X <= 200.00)) { var theMainWnd = Application.Current.RootVisual as MainPage; Storyboard myStoryboard = (Storyboard)(theMainWnd.F ...

Go to the complete details ...