how to embed different swf movies dynamically
I am developing a web site with .net and there is a page named loadanymovie.aspx
I want to call the swf movie file name dynamically by code (by querystring, such as : www.mysite.com/loadanymovie.aspx?moviename=1)
i used following code for this :
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Len(Request.QueryString("st")) > 0 Then
firmasec.Items.FindByValue(Request.QueryString("st").ToString).Selected = True
Dim lc As New LiteralControl
lc.Text = "<embed align=""middle"" allowfullscreen=""false"" allowscriptaccess=""sameDomain"" bgcolor=""#333333""" + _
" height=""700"" name=""main1004"" pluginspage=""http://www.adobe.com/go/getflashplayer""" + _
" quality=""high"" src=""swfs/" + Request.QueryString("moviename").ToString + ".swf" + """ type=""application/x-shockwave-flash"" width=""1000""></embed>"
PlaceHolder1.Controls.Add(lc)
Else
End If
End Sub
this code works and doesnt produce any error. But i cannot see the movie at internet explorer. (i can see it at chrome browser)
any idea?