Animation using asp.net and c#.net on the web

Hi all,
Im posting this to ask anyone if they would have any information on how this little home project that i am working on could be accomplished.

Basically, all it is, is that I want to be able to create a little animation via the web. Let say I have a basic figure..like a red square. I want to be able to move it around a little window on a web browser and programatically remember the motion and replay it. The user is going to be using a web browser to "create" the animations, and then replay it.

So I was thinking that I should use ASP.NET, and I am still learning C#.NET and ASP.NET, hence figured that I would couple these two together. Also might need some GDI+ for the graphics. And I am trying to figure out what hte best way to "remember" the animation would be. I figured I could use sql server to save them as datapoints, but this may get complicated.

Would anyone be able to make suggestions and even provide some simple samples?
Thanks

[988 byte] By [Newbie_Reza] at [2008-2-23]
# 1
You will most likely have to track the movments with javascript.
I suppose I would provide the user with a Start animation and End animation buttons. And then start recording when he clicks the Start button and end when he clicks the End button. I would store the movment data into some array and then post it back to server for proccessing.

This would be my first aproach. But I do not know the details of your project and I haven't put much thought into this so there may be a better way...

CWIZO at 2007-8-30 > top of Msdn Tech,Feedback for forums and MSDN websites,Off-Topic Posts (Do Not Post Here)...
# 2

Well, you could also do this with Flash, much faster actually, and make the flash post to the .aspx to update it coordinates etc.

But, non flash way will take some javascript to handle all the events and drawing of the elements.

DavevanBale at 2007-8-30 > top of Msdn Tech,Feedback for forums and MSDN websites,Off-Topic Posts (Do Not Post Here)...
# 3

I thought about it too..and I think that FLASH was the way to go too. Im gonna buy a book on flash and figure out how to mess with flash. If anyone has any sample code to do this with flash and then a suitable method they think to store these moves and replay them later, feel free to post here. im definitely looking for ideas.

Thanks

Newbie_Reza at 2007-8-30 > top of Msdn Tech,Feedback for forums and MSDN websites,Off-Topic Posts (Do Not Post Here)...
# 4

www.cartoonsmart.com

Has some cheap and free video tutorials on flash, very good.

DavevanBale at 2007-8-30 > top of Msdn Tech,Feedback for forums and MSDN websites,Off-Topic Posts (Do Not Post Here)...
# 5

Hi!

There isn't an easy or optimal way to do this directly in ASP.NET, using javascript is going to be your best bet for a pure Microsoft solution, but there are others out there as a few other people have mentioned.

The best place for asking ASP.NET questions is on the ASP.NET community site, and in the forums there. Check out http://www.asp.net/welcome.aspx?tabindex=1&tabid=39.

HTH,

PEte

PeteL-MSFT at 2007-8-30 > top of Msdn Tech,Feedback for forums and MSDN websites,Off-Topic Posts (Do Not Post Here)...
# 6

Interestingly enough.

WPF/E can fix the problem you mention.

XAML and manipulating it through JavaScript.

Check it out at Channel9.

DavevanBale at 2007-8-30 > top of Msdn Tech,Feedback for forums and MSDN websites,Off-Topic Posts (Do Not Post Here)...
# 8

Another FLASH resource that may help you is

http://feeds.feedburner.com/LearnFlash

This is a step by step tutorial that really helps when learning FLASH.

Good Luck

Nathan

nateraaaa at 2007-8-30 > top of Msdn Tech,Feedback for forums and MSDN websites,Off-Topic Posts (Do Not Post Here)...