.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

How do I embed this flash file?

Posted By:      Posted Date: October 14, 2010    Points: 0   Category :SharePoint

I have this flash file that has been embed on my old web site using Javascript, I have put the Javascript embeding code in a content editor web part and it also has an attached Javascript file which I put in the head of my master page.  After I do all of this my flash file shows up as a gray box and doesn't play the video and it puts an embed tag by default which makes even more of a mystery.  Here is my code:

    <div id="CaptivateContent"><embed height="400" width="550" flashvars="variable1=value1" menu="false" wmode="window" id="Captivate" name="Captivate" quality="high" bgcolor="#F5F4F1" src="/SitePages/Stat%20Videos/Stata_Lesson1_v4.swf" type="application/x-shockwave-flash"></embed></div>

    <script type="text/javascript">
       var so = new SWFObject("Stata_Lesson1_v4.swf", "Captivate", "550", "400", "7", "#CCCCCC");
        so.addParam("quality", "high");
        so.addParam("name", "Captivate");<

View Complete Post

More Related Resource Links

Embed Video File in Crystal Report

Hi to All I am new to crystal reports. I need to embed Video file in crystal report. Help will be appreciated.Rajeev Singh Chibrajeev16mca2k5@gmail.com




<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
WIDTH="550" HEIGHT="400" id="myMovieName">
<PARAM NAME=movie VALUE="myFlashMovie.swf">
<PARAM NAME=quality VALUE=high>
<EMBED src="/support/flash/ts/documents/myFlashMovie.swf" quality=high bgcolor=#FFFFFF WIDTH="550" HEIGHT="400"
NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash"


Scale Flash swf file in AxWebBrowser


I have a flash swf file (no source) I'm trying to display.  I have an AxWebBrowser control in a form and I call navigate and the swf displays.  The problem is that I want the contents to expand fully to the size of the AxWebBrowser.  If I shrink the form, and subsequently the WebBrowser, the flash contents will scale downward but not upward.  Any suggestions?



flash file


Hi All,

Can any one tell me how can I embed .swf file in a web page and play successfully?


Embed manifest and config file


I want to embed the manifest and the application config file into the exe.  Does anyone know the best way to do this? I see it used this way all the time.

Thanks in advance


Excel 2007 - embed an XML file




I tried to find an answer to this question without any success: is it possible to embed an XML file in a xlsx file?

My final objective would be to use this embedded XML file as a data source to generate a table.


Thank you!


How do I use asp.net to relay server folder contents to a flash file via xml?




I built a flash player that uses an array to play songs users can rate. The idea behind the player is to allow users to rate songs that the player pulls in from the file system. I'm using asp.net with sql database on a win 2008 server.

I need a way to create a song list that will be dynamically created by reading the contents of the song folder on the server.  Since Flash cannot do this itself, I need to know how to use ASP.net to act as the middle man, reading the folder contents and relaying that data to the Flash file in a format that Flash can process (xml)

any information is greatly appreciated.

Thanks in advance!

How to embed flash player to Sharepoint 2007 OOTB CEWP and view videos as thumbnails?


I need it like a youtube kind of thing with thumbnails

I mean to say can how can we embed a flash player into sharepoint 2007 by using javascript/xslt(CEWP OOTB) etc... Such that i can play all flash files


Regards, Aneel

how to play flv file in flash player on click on an image in sharepoint?


Hello all,

i have designed a flash player using content editor webpart and trying to pass parameter from an image to play corresponding video using following code:









but unable to pass paramter. please guide me how to pass parameter to flash player?




How can I embed a excel file in aspx page?


Dear all,

         we want to embed a xls file with macro in web page, and execute the macro when users click the button in xls file.

i do it by using iframe as following,

<IFRAME WIDTH="75%" HEIGHT="55%" NAME="fframe" SRC="Calculator.xls">
     <FRAME WIDTH="75%" HEIGHT="55%" NAME="fframe" SRC="Calculator.xls">
     <EMBED SRC="Calculator.xls" width=200 height=100>

When I open this web page via IE, it will prompt me to open or save the xls file.

We want IE open it directly, but i do not know how to do it.

Dose someone can help me?

Thank you very much.

Best Regards, 


File Splitter in .Net

I love to do utility programs in .Net. And this is one of them. As I was playing with JSplit (a free file splitter program), I wondered if I could do it in .Net. The framework supports file operations like reading files in bytes and creating them. It is indeed easy to do file operations in .Net Basics on File operations

Upload Multiple File using JQuery in asp.net

In this article I have explained how to upload multiple files using file upload control. I have used jQuery plugin for uploading multiple files.

I have also explained how to check for file type, file maximum size limit using jQuery & also using server side validation code.

Creating Excel file from C#

I used below coding for create a excel sheet.I got from on web site.
In below coding there is no problem.Its create the excel file.If i run second time,its ask to overwrite the current excel file.If I said "Yes" then it ok ,but If I select cancel button,its generate the Error message.The exception is

Upload a File to a SharePoint Document Library - Part I

The following helper class demonstrates a few techniques that allow documents to be uploaded to a SharePoint document library programmatically without using the API or a custom web service. You don't need to specify a document library name, and it will create any folders specified in the URL as required. File meta data will be updated if any properties are passed.

SmtpClient and Locked File Attachments

Got a note a couple of days ago from a client using one of my generic routines that wraps SmtpClient. Apparently whenever a file has been attached to a message and emailed with SmtpClient the file remains locked after the message has been sent. Oddly this particular issue hasn't cropped up before for me although these routines are in use in a number of applications I've built.

How to call an .exe file in .net

Sometimes a developer has to call an EXE from another EXE. While calling EXE there can be a requirement to pass parameter.

ClientAccessPolicy file in SharePoint 2010

I am upgrading my Silverlight demo code from the old beta to beta 2 and see that there are a few new considerations for the deployment of ClientAccessPolicy.xml files. In a previous post I demonstrated how to do this for SharePoint 2007. The heartburn that I get with that approach is any site collection owner or designer can drag the file into the site collection and open the site up to unwanted client access issues. In 2010 the virtual path provider no longer serves the files from the root of the site collection
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend