Click here to Skip to main content
15,893,381 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi

My company requires a solution that incorporates an e-learning web application and have asked me to do some R&D on the subject. We use asp.net and c# with the .net 4.0 framework.

They want to use a flash video (swf) to do the e-learning part and via the web application write data to a SQL Database. I've been doing a lot of research on the matter and almost everything comes down to a component or plugin that only plays the video with limited database capabilities. I recently found the Flex SDK 4.0 and it seems to me like a good solution, the only problem is I can find a good tutorial on how to get started with this.

If any one can point me in the right direction or maybe give me a good idea on another way to do this, it will be much appreciated.

Please contact me if my above ramblings are unclear.

Thank you in advance.
Dew
Posted

The best solution if your back end is .Net (particularly if you use web services) is to use Silverlight, not Flash, for the front end. Flash and .Net don't play particularly nicely together, and the media playing capabilities in Silverlight are good.

If management insists on Flash then (i) ask again, but (ii) you can use web services or AJAX style HTTP interaction from Flash relatively easily. Communicating with a web app that way isn't too hard. If you need high level interactivity, it is possible to open full duplex TCP sockets from Flash (as long as it's hosted on the same domain it's trying to talk to, or you provide a cross domain file on your server), but it's not that easy to work with.
 
Share this answer
 
Comments
dwhenning 4-May-12 19:51pm    
Awesome, thank you for your response. I managed to recreate the more or less the same front-end using wpf but management is set on flash. I played around with the sdk and it's not bad, but hooking it up to SQL is another chapter on its own.
BobJanova 5-May-12 6:43am    
I wouldn't try to connect Flash up to a SQL database directly at all. Instead, I'd write a web app layer (in ASP.net or PHP or a similar server side technology that is good at talking to databases) which translated data to/from the form that is easy to deal with in Flash, probably XML as AS3 has good XML support built in.
dwhenning 9-May-12 2:29am    
XML was the best solution for this. Since XML uses plain text to store data it was very easy to create the file and let it communicate in actionscript and asp.net. Thank you very much for your input, it really helped.
BobJanova - 3 days ago
I wouldn't try to connect Flash up to a SQL database directly at all. Instead, I'd write a web app layer (in ASP.net or PHP or a similar server side technology that is good at talking to databases) which translated data to/from the form that is easy to deal with in Flash, probably XML as AS3 has good XML support built in.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900