Flash Movie

  • Thread starter Thread starter vimal.424
  • Start date Start date
V

vimal.424

Dear All,
Please help me.........
Please tell me how can we store the flash movie in data base,after
storing how can we retreive flash movie from data base.
I want have to do, also the preview the flash movie before save in
database..............

thanks in advance
 
I suspect it will be a lot easier if you store your Flash movies on the
filesystem, and store only the path to each movie in the database. That way
you can point your Flash object / embed tag at a real file after you
determine from the database which one to serve.

However, if you want to go that route you can point the Flash object tag to
an ASHX handler that gets the movie from the database by name or ID and
binary writes it to the Response output stream.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
MetaFinder: http://www.blogmetafinder.com
 
Hi,


I would suggest that you store the movies in the filesystem, if you are
uploading them, you should rename it with an auto generated name and store
the combination of (paht\new name) and original name in the DB.

If you still need to store it, you have to use a SqlCommand with a parameter
of type Binary.
If you need more code make a search of how to store images in a DB, it's the
same code
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top