html - C# - Embedding .swf file with parameters into WPF and make it look native? -


i have shockwave flash file needs parameters passed ( assume! ) because i'm not involved in stuff.

it looks when embedded html page :

<html> <head> <link rel="stylesheet"  href="style.css" type="text/css"/> <script language=javascript> var message="function disabled!"; function clickie4(){ if (event.button==2){ return false; } } function clickns4(e){ if (document.layers||document.getelementbyid&&!document.all){ if (e.which==2||e.which==3){ return false; } } } if (document.layers){ document.captureevents(event.mousedown); document.onmousedown=clickns4; } else if (document.all&&!document.getelementbyid){ document.onmousedown=clickie4; } document.oncontextmenu=new function("return false") </script> </head> <body> <div id="main"> <object id="radioplayer" width="406" height="150" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" name="radioplayer" align="middle" bgcolor="#ffffff"><param name="_cx" value="5080" /><param name="_cy" value="5080" /><param name="flashvars" value="serverhost=www.krykey.com&amp;radio=24295&amp;listurl=" /><param name="movie" value="http://www.krykey.com/swf/player/radioplayer.swf" /><param name="src" value="http://www.krykey.com/swf/player/radioplayer.swf" /><param name="wmode" value="transparent" /><param name="play" value="0" /><param name="loop" value="-1" /><param name="quality" value="high" /><param name="salign" value="lt" /><param name="menu" value="-1" /><param name="base" value="" /><param name="allowscriptaccess" value="samedomain" /><param name="scale" value="noscale" /><param name="devicefont" value="0" /><param name="embedmovie" value="0" /><param name="bgcolor" value="ffffff" /><param name="swremote" value="" /><param name="moviedata" value="" /><param name="seamlesstabbing" value="1" /><param name="profile" value="0" /><param name="profileaddress" value="" /><param name="profileport" value="0" /><param name="allownetworking" value="all" /><param name="allowfullscreen" value="false" /><param name="src" value="http://www.krykey.com/swf/player/radioplayer.swf" /><param name="flashvars" value="serverhost=www.krykey.com&amp;radio=24295&amp;listurl=http://www.krykey.com" /><param name="wmode" value="transparent" /><param name="pluginspage" value="http://www.adobe.com/go/getflashplayer" /><param name="allowscriptaccess" value="samedomain" /><param name="quality" value="high" /><param name="play" value="0" /><param name="loop" value="loop" /><param name="salign" value="lt" /><param name="menu" value="-1" /><param name="base" value="" /><param name="scale" value="noscale" /><param name="devicefont" value="0" /><param name="embedmovie" value="0" /><param name="swremote" value="" /><param name="moviedata" value="" /><param name="seamlesstabbing" value="1" /><param name="profile" value="0" /><param name="profileaddress" value="" /><param name="profileport" value="0" /><param name="allownetworking" value="all" /><param name="allowfullscreen" value="false" /><embed id="radioplayer" width="406" height="150" type="application/x-shockwave-flash" src="http://www.krykey.com/swf/player/radioplayer.swf" _cx="5080" _cy="5080" flashvars="serverhost=www.krykey.com&amp;radio=24295&amp;listurl=" movie="http://www.krykey.com/swf/player/radioplayer.swf" src="http://www.krykey.com/swf/player/radioplayer.swf" wmode="transparent" play="0" loop="-1" quality="high" salign="lt" menu="-1" base="" allowscriptaccess="samedomain" scale="noscale" devicefont="0" embedmovie="0" bgcolor="ffffff" swremote="" moviedata="" seamlesstabbing="1" profile="0" profileaddress="" profileport="0" allownetworking="all" allowfullscreen="false" flashvars="serverhost=www.krykey.com&amp;radio=24295&amp;listurl=http://www.krykey.com" wmode="transparent" pluginspage="http://www.adobe.com/go/getflashplayer" allowscriptaccess="samedomain" quality="high" play="0" loop="loop" salign="lt" menu="-1" base="" scale="noscale" devicefont="0" embedmovie="0" swremote="" moviedata="" seamlesstabbing="1" profile="0" profileaddress="" profileport="0" allownetworking="all" allowfullscreen="false" name="radioplayer" align="middle" bgcolor="#ffffff" /></object> </div> </body> </html> 

and here's "style.css" file :

#main { position: fixed; top: -20px; left: 0px; width: 416px; height: 150px; } 

how can embed (swf page "or" html page) wpf application , make if original part of wpf application ?

i don't want external html page has been embedded only, has mentioned above, .. ideas?


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -