Click here to Skip to main content
16,016,425 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a string variable, I need to put it into the src attribute data and to display swf file. how to do this, thanks you for help! asp.net , this is my code


HTML
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 
                                     codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" 
id="tech" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="<%string variable%>" />
<param name="quality" value="high"/>
<embed src="<%string variable%>" quality="high" width="484" height="402" name="tech" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />

 </object>
Posted

1 solution

Change it like below

src='<%= stringVariable%>' 


Hope this helps you...
 
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