Reputation: 7777
this is my Flash file
<param name="movie" value="Flash/HomeMaster.swf?SID=<%Response.Write(strSess);%>" />
in .cs file
in i have declare an varaiable called= strSess
in page load i have assisgned an value
strSess ="1234";
but when i run this page i get an error telling
the name strSess would not be found
what is the issue. an any one tell me thank you
Upvotes: 0
Views: 215
Reputation: 4823
In the cs file:
public string strSess = "1234"
In your presentation:
<param name="movie" value="Flash/HomeMaster.swf?SID=<%=strSess%>" />
Good luck with it!
Upvotes: 2
Reputation: 498972
Your variable needs to be public in order to be seen by the .aspx
page.
Upvotes: 0