the difference between Silverlight and and Frame based animation.... in framed based.... you play the frames in order... 1,2,3,4,5,6,7,8,9 now if somthing happens while you in frame 2, this stalled your app for some period of time, the next frame to display is still frame 3, regardless of how long your app was stalled on frame 2
in Silverlight this is not the case...... when your app was held up on frame 2, silverlight will work out how many frames should have been show in this period and it will then show the correct frame for the "time/moment" your app is at after the hold up is over... so you might get frame 5, or 6 or where ever you animation should be at that "Time/Moment" this is my understanding of how SL animations are working On Tue, May 18, 2010 at 10:49 AM, Scott Barnes <[email protected]>wrote: > > http://blogs.msdn.com/silverlight_sdk/archive/2008/03/24/create-an-animation-in-code.aspx > > > http://www.developerfusion.com/article/10824/creating-particle-effects-in-silverlight/ > > > > Is a good start. Basically you don’t have Frames in Silverlight, you have > time. In flash you can use a frames per second methodology but in SL you > simply use seconds/miliseconds etc. > > > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Greg Keogh > *Sent:* Tuesday, May 18, 2010 10:40 AM > *To:* 'ozSilverlight' > *Subject:* Long running animation > > > > Folks, I want to create a sort of screen saver effect where a shape moves > slowly around a control. The path it follows is calculated at start time by > mixing random Sin/Cos functions, then the shape will follow the (x,y) > coordinates of the function over time. It’s like a moving parametric plot. > > > > I’m just not sure what coding technique to use for this effect. I’m > guessing I’ll need a frame-based animation, which I’ve never used before. It > looks like it “pushes” events to you and you respond and move your elements, > but it’s not clear how you control the timing. > > > > I just want to run this idea past someone who’s done it before and can > confirm if I’m on the right track or not. I’ll keep reading about > frame-based animations in the meantime. > > > > Greg > > _______________________________________________ > ozsilverlight mailing list > [email protected] > http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight > >
_______________________________________________ ozsilverlight mailing list [email protected] http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
