How to play the swf file from this code in windows application

  • Thread starter Thread starter Prashant M
  • Start date Start date
P

Prashant M

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
b#version=6,0,29,0" width="324" height="307">
<param name="movie"
value="http://www.dirtbike-action.com/dirt bike crashes.swf">
<param name="quality" value="high">
<embed
src="http://www.dirtbike-action.com/dirt bike crashes.swf"
quality="high"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
Version=ShockwaveFlash" type="application/x-shockwave-flash" width="324"
height="307">
</embed>
</object>
 
Prashant,
You need to add a Shockwave Flash OCX control to your windows form (That's
in the COM tab on Add Reference), point it to the swf flash file, and call
the Play method.
Peter
 
Back
Top