Click here to Skip to main content
15,889,281 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can i put a flash file in aspx form the flash file reading from xml file ?
Posted

XML
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
height="140" style="width: 650px">
<param name="movie" value="movie.swf">
<param name="quality" value="high">
<embed height="140" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high"
src="movie.swf" type="application/x-shockwave-flash" width="650px"></embed>
</object>


You should name your file to movie
if it is in flash movie.fla
or if it is swift write movie.swf
change 2 section
1- "param" section : "name" and "value" according to your file name
2- "embed" section : "src" property
then put this code in a div
 
Share this answer
 
Comments
MBekhit 29-Jun-11 10:23am    
Thank You for your Solution.
But this Code Work Fine only with Flash(.Swf) Fle not use XML But If flash File Use XML The Flash Not display.
Take a look at the following article, this should be helpful

How To Play SWF File In Asp.Net[^]
 
Share this answer
 
Comments
MBekhit 29-Jun-11 10:30am    
Thank You for your Solution.
But this Code Work Fine only with Flash(.Swf) Fle not use XML But If flash File Use XML The Flash Not display.
The Solution here
I Moved Xml Folder to root folder and put this code It work nice now

<object classid=""clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"" codebase=""http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"" width=""100%"" height=""100%"><br" mode="hold" />      <param name="movie" value="Fla/Lines-Chart.swf" />
      <param name="quality" value="high" />
      <embed src="Fla/Lines-Chart.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="100%"></embed>
    </object>
 
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