Skip to main content
Home Forums Silverlight Design Expression Studio animation problem
2 replies. Latest Post by sharp81 on August 13, 2007.
(0)
sharp81
Member
2 points
2 Posts
08-13-2007 7:03 AM |
Hi,
I created a simple application where I used a media element and did some transformations on it with the timeline like the one showed in the example video.
I am able to preview it within the expression blend but when I compile it and run it in the browser, I dont see any of these transforms happening. Can you please let me know how to get this working?
Regards
y_makram
Contributor
6172 points
1,233 Posts
08-13-2007 7:24 AM |
How are you triggering the beginning of your timeline. Are you using Canvas.Triggers, if you want your timeline to be started upon loading your content use syntax like the following:
<Canvas.Triggers> <EventTrigger RoutedEvent="Canvas.Loaded"> <BeginStoryboard> <Storyboard x:Name="Timeline1">
<DoubleAnimationUsingKeyFrames ....
</Storyboard> </BeginStoryboard> </EventTrigger> </Canvas.Triggers>
08-13-2007 7:14 PM |
I want to use the javascript file that is create it as a webpage. Not use the wpf format. So I dont think I will be using the trigger. I dont know where exactly the problem lies.
Thanks