|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
flash object in response.write table ?
how to make response.write to use swf files in a table ?
i was trying to use this: Response.Write "<table width=50% border=4 align=center>" Response.Write "<TR>" Response.Write "<TD align=center>" Response.Write "<OBJECT id=bunner codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0 height=52 width=268 classid=clsid 27CDB6E-AE6D-11cf-96B8-444553540000><PARAM NAME="_cx" VALUE="7091"><PARAM NAME="_cy" VALUE="1376"><PARAM NAME="FlashVars" VALUE="7091"><PARAM NAME="Movie" VALUE="bunner.swf"><PARAM NAME="Src" VALUE="bunner.swf"><PARAM NAME="WMode" VALUE="Window"><PARAM NAME="Play" VALUE="-1"><PARAM NAME="Loop" VALUE="-1"><PARAM NAME="Quality" VALUE="High"><PARAM NAME="SAlign" VALUE=""><PARAM NAME="Menu" VALUE="-1"><PARAM NAME="Base" VALUE=""><PARAM NAME="AllowScriptAccess" VALUE="always"><PARAM NAME="Scale" VALUE="ShowAll"><PARAM NAME="DeviceFont" VALUE="0"><PARAM NAME="EmbedMovie" VALUE="0"><PARAM NAME="BGColor" VALUE="FFFFFF"><PARAM NAME="SWRemote" VALUE=""> <EMBED src="bunner.swf" quality=high bgcolor=#FFFFFF WIDTH="268" HEIGHT="52" NAME="bunner" ALIGN=""TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT> Response.Write "</TD>" Response.Write "</TR>" it doesnt work ???? |
|
#2
|
|||
|
|||
|
when you say response.write it starts at your " and then goes till your next ", in which case you have " all over the place ending your string earlier than you expected. you'll need to replace all the quots with either "" or with "
|
|
#3
|
||||
|
||||
|
Replace one single quote with two to achieve the desired HTML.
e.g. Response.Write "<a href=""http://www.devshed.com"">Devshed</a>" |
|
#4
|
|||
|
|||
|
??
also now that i think about it you could also just do ' |
|
#5
|
|||
|
|||
|
ok it works
thanks to all |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > flash object in response.write table ? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|