Hi,
I have 5 flash movie and I want to integrate them into my asp page. depending on the QueryString I have to display the associated movie
The problem is each time I save my asp file the value of the movie change and when I transfer I have an error with my ASP
this is my code
<object classid=“clsid:D27CDB6E-AE6D-11CF-96B8-444553540000”
id=“obj1” codebase=“http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0” border=“0” width=“165” height=“190”>
<param name=“movie”
value = “<%if RequestVal=“STA” then
response.write(”…/…/Flash/RequestVals/1.swf")
elseif RequestVal=“ACI” then
response.write("…/…/Flash/RequestVals/2.swf")
elseif RequestVal=“BET” then
response.write("…/…/Flash/RequestVals/3.swf")
elseif RequestVal=“BOI” then
response.write("…/…/Flash/RequestVals/4.swf")
else response.write("…/…/Flash/RequestVals/5.swf") end if %>">
<param name="quality" value="High">
<embed src="<%if RequestVal="STA" then
response.write("../../Flash/RequestVals/1.swf")
elseif RequestVal="ACI" then
response.write("../../Flash/RequestVals/2.swf")
elseif RequestVal="BET" then
response.write("../../Flash/RequestVals/3.swf")
elseif RequestVal="BOI" then
response.write("../../Flash/RequestVals/4.swf")
else
response.write("../../Flash/RequestVals/5.swf")
end if %>">
pluginspage="[http://www.macromedia.com/go/getflashplayer](http://www.macromedia.com/go/getflashplayer)"
type="application/x-shockwave-flash" name="obj1" width="165" height="190" quality="High">
</object>
each time I save my file I have all the value on one line
This code work fine with a JPG image and with the source of the flash movie
aNy help please
Thanks