Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using flash content in .net page

Status
Not open for further replies.

shahina

Programmer
Aug 19, 2003
47
IN
Hi..

I want to use a button created in flash in the asp.net page..from the toolbox i have inserted the shockwaveplayer object and set its src and movie parameter to my button's name..when the page is loaded it is showing a very small button and the text is not readable.. can anyone help me? am a new to both flash and .net.
and i am using .net 2003 and flash 4.

Thanx in advance..
 
shahina - I found this bit of code over at Goggle Groups, perhaps the height/width parameter is not set?

You embed a Flash video player in an ASP.NET web page exactly the same way you do it on any other web page. Sample code:
Code:
<object width="320" height="240" 
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 
codebase="[URL unfurl="true"]http://fpdownload.macromedia.com/pub/[/URL] 
shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> 
<param name="flashvars" 
value="file=[URL unfurl="true"]http://www.myhomepage.com/myvideofile.flv"[/URL] /> 
<param name="movie" value="[URL unfurl="true"]http://www.myhomepage.com/flvplayer.swf"[/URL] /> 
<embed src="[URL unfurl="true"]http://www.myhomepage.com/flvplayer.swf"[/URL] width="320" 
height="240" bgcolor="#FFFFFF" type="application/x-shockwave-flash" 
pluginspage="[URL unfurl="true"]http://www.macromedia.com/go/getflashplayer"[/URL] 
flashvars="file=[URL unfurl="true"]http://www.myhomepage.com/myvideofile.flv"[/URL] /> 
</object>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top