How to set up a Time based TriggerI need my handler function to be called at a particular time in the Animation Timeline.<br> Say, at 10th second, a particular trigger needs to be raised.<br> <br> How do i set that??<br> Is there a way to raise triggers at different stages of execution based on the time?<br> [I am currently using Expr Blend 2.5 June Preview]<br> <br> Thanks in advance!<br> <br> Kaangeyan.<br> <br> © 2009 Microsoft Corporation. All rights reserved.Wed, 01 Jul 2009 22:06:20 Z6bf29116-8868-465c-8c9c-26309c9c7c04http://social.expression.microsoft.com/Forums/en-US/blend/thread/6bf29116-8868-465c-8c9c-26309c9c7c04#6bf29116-8868-465c-8c9c-26309c9c7c04http://social.expression.microsoft.com/Forums/en-US/blend/thread/6bf29116-8868-465c-8c9c-26309c9c7c04#6bf29116-8868-465c-8c9c-26309c9c7c04Kaangeyanhttp://social.expression.microsoft.com/Profile/en-US/?user=KaangeyanHow to set up a Time based TriggerI need my handler function to be called at a particular time in the Animation Timeline.<br> Say, at 10th second, a particular trigger needs to be raised.<br> <br> How do i set that??<br> Is there a way to raise triggers at different stages of execution based on the time?<br> [I am currently using Expr Blend 2.5 June Preview]<br> <br> Thanks in advance!<br> <br> Kaangeyan.<br> <br> Mon, 13 Oct 2008 16:39:47 Z2008-10-13T16:39:47Zhttp://social.expression.microsoft.com/Forums/en-US/blend/thread/6bf29116-8868-465c-8c9c-26309c9c7c04#536305f5-b509-4f5c-ab48-c45a4b817989http://social.expression.microsoft.com/Forums/en-US/blend/thread/6bf29116-8868-465c-8c9c-26309c9c7c04#536305f5-b509-4f5c-ab48-c45a4b817989Brennon Williamshttp://social.expression.microsoft.com/Profile/en-US/?user=Brennon%20WilliamsHow to set up a Time based Trigger Howdy,<br><br>Oh I sense a Flash user? This particular feature is not supported in Blend, and indeed creating it in code is very long winded. You would need to create a custom clock object and create a custom keyframing solution as well... all very nasty.<br><br>The Blend solution is to create multiple storyboards, or to set of a timer and animation in code at the same time so as you can easily determine a tick when your required time segment is reached, although this probably wont be 100% accurate.<br><br>Sorry I couldnt offer more here.<br><br>Cheers<hr size="1" align="left" width="25%"><p>Expression MVP</p> <p></p> <p>Learn Expression Blend at <a href="http://www.learnexpressionstudio.com"> learnexpressionstudio.com</p> <p>my blog : <a href="http://x-coders.com/blogs/sneaky/default.aspx">http://x-coders.com/blogs/sneaky/default.aspx</p>Tue, 14 Oct 2008 23:00:51 Z2008-10-14T23:00:51Zhttp://social.expression.microsoft.com/Forums/en-US/blend/thread/6bf29116-8868-465c-8c9c-26309c9c7c04#08e66230-8a4b-4296-892c-216689165359http://social.expression.microsoft.com/Forums/en-US/blend/thread/6bf29116-8868-465c-8c9c-26309c9c7c04#08e66230-8a4b-4296-892c-216689165359EdSFhttp://social.expression.microsoft.com/Profile/en-US/?user=EdSFHow to set up a Time based TriggerHi Brennon,<br/><br/>As much as your answer isn't the &quot;desired&quot; one - thank you for this. I'm new to WPF so I will assume that this still holds true(?). If so, you just saved me a ton of time - was thinking about WPF for a new project that has animation and a number of line of business routines. <br/><br/>Yes, am also one coming from Flash....and have been looking for &quot;frame actions&quot; in WPF /Blend- essentially timline triggers (not really &quot;time&quot; per se). While animation is Flash staple, the line of business stuff would be a lot easier within .Net - (more comfortable with .net than AS).  <br/><br/>Was trying to do something better than a winform + flash app (not &quot;consolidated&quot;, just displayed in winform).....and was hoping WPF would be it. Started out very promising...but I'll probably have to hold off WPF until I get more expertise in it.<br/><br/>Ed<hr class="sig">It's ____! http://dailycrapola.spaces.live.com/Tue, 30 Jun 2009 04:11:50 Z2009-06-30T04:11:50Zhttp://social.expression.microsoft.com/Forums/en-US/blend/thread/6bf29116-8868-465c-8c9c-26309c9c7c04#9d727b43-287b-42b3-9e9c-3ae2e062f7echttp://social.expression.microsoft.com/Forums/en-US/blend/thread/6bf29116-8868-465c-8c9c-26309c9c7c04#9d727b43-287b-42b3-9e9c-3ae2e062f7ecBrennon Williamshttp://social.expression.microsoft.com/Profile/en-US/?user=Brennon%20WilliamsHow to set up a Time based TriggerHowdy Ed,<br/><br/>It's still the way I am affraid. But I should also say that most of the time you can get around these issues by thinking about animations differently in WPF, becoming creative with Triggers/States etc.<br/><br/>My only advice is to try to force yourself to use WPF rather than Winforms. If you run into any issues along the way, by all means pop back in here.<br/><br/>Best of luck!<br/><br/>Cheers<hr class="sig"><p>Expression MVP</p> <p></p> <p>my blog : <a href="http://x-coders.com/blogs/sneaky/default.aspx">http://x-coders.com/blogs/sneaky/default.aspx</p>Tue, 30 Jun 2009 07:20:17 Z2009-06-30T07:20:17Zhttp://social.expression.microsoft.com/Forums/en-US/blend/thread/6bf29116-8868-465c-8c9c-26309c9c7c04#5552b509-bdda-4ee1-aa68-bef98190968fhttp://social.expression.microsoft.com/Forums/en-US/blend/thread/6bf29116-8868-465c-8c9c-26309c9c7c04#5552b509-bdda-4ee1-aa68-bef98190968fEdSFhttp://social.expression.microsoft.com/Profile/en-US/?user=EdSFHow to set up a Time based Trigger<p>Hi Brennon,<br/><br/>Thanks! I'll probably be a fan of your blog site :) <br/><br/>Yes, I am doing exactly that - WPF over Winform, and if this project didn't have that much animation needs (not really much in the Flash sense that is), it would likely be a WPF project. <br/><br/>Since you asked :)</p> <ol> <li>A basic concept in Flash is &quot;scenes&quot;. You can create independent scenes that can be navigated in a linear fashion or some other control. Some flash pros out there would probably say load/unload movies at will - but I'll keep it simple, it's really a &quot;navigation concept&quot; at its core anyway.<br/><br/>After reading some MSDN lib docs, it seems NavigationWindow + Pages are the WPF counterparts<br/>   </li> <li>You might find this laughable (did say I was new to WPF), but while it seems straightforward to navigate by capturing click events, how might one:<br/><br/>- Move in a linear (no click event) fashion from &quot;scene 1&quot; to &quot;scene 2&quot;, stop and then wait for click events for further navigation?<br/><br/>- translated to WPF, how might a page 1 to page 2 transition be accomplished, without user interaction? Or any page for that matter?</li> </ol> <p>Sorry if this is such a  basic question, but I think it would be of interest to myself and others, particularly if you're used to Flash.....it's almost a &quot;core&quot; animation concept so if its actually a no-brainer in WPF, that would be great. The concepts in this basic task sound valuable in any animation work.<br/><br/><br/>Thanks again!<br/><br/>Ed</p><hr class="sig">It's ____! http://dailycrapola.spaces.live.com/Tue, 30 Jun 2009 15:33:55 Z2009-06-30T15:33:55Zhttp://social.expression.microsoft.com/Forums/en-US/blend/thread/6bf29116-8868-465c-8c9c-26309c9c7c04#ac97bbb7-8d6e-44cb-9cb7-9ff7a622ca02http://social.expression.microsoft.com/Forums/en-US/blend/thread/6bf29116-8868-465c-8c9c-26309c9c7c04#ac97bbb7-8d6e-44cb-9cb7-9ff7a622ca02prasad22http://social.expression.microsoft.com/Profile/en-US/?user=prasad22How to set up a Time based TriggerI have used in one of my article<br/> <br/> <a href="http://www.codeproject.com/kb/wpf/witiymiwyg.aspx">http://www.codeproject.com/kb/wpf/witiymiwyg.aspx</a> <br/> <br/> please go through it, I hope this will help you :)<br/> <br/><hr class="sig">Prasad - www.beautifulmind.blog.co.in<br/> <b>Microsoft MVP</b> Tue, 30 Jun 2009 15:46:40 Z2009-06-30T15:46:40Zhttp://social.expression.microsoft.com/Forums/en-US/blend/thread/6bf29116-8868-465c-8c9c-26309c9c7c04#8f013099-48b6-4448-9872-0d1aaba3d95bhttp://social.expression.microsoft.com/Forums/en-US/blend/thread/6bf29116-8868-465c-8c9c-26309c9c7c04#8f013099-48b6-4448-9872-0d1aaba3d95bEdSFhttp://social.expression.microsoft.com/Profile/en-US/?user=EdSFHow to set up a Time based TriggerHi Prasad,<br/> <br/> That was great - thank you!<br/> <br/> Just added another way to get &quot;scenes&quot; to work!<br/> <br/> Ed<br/><hr class="sig">It's ____! http://dailycrapola.spaces.live.com/Wed, 01 Jul 2009 22:06:20 Z2009-07-01T22:06:20Z