Im sure this is real easy... Please forgive my limited .Net abilities...
The script below genereates the correct value I need... I just want ot place the value obtained by dblTotal into a flash param... the param below is what I imagine it would look like.
<script Language="c#" runat="server">
void Page_Load() {
DateTime date1 = DateTime.Parse("01/20/2010");
DateTime date2 = DateTime.Now;
TimeSpan tsDiff = date2.Subtract(date1);
string strChapter = "2666";
string diff = tsDiff.Days.ToString();
double dblChapter = Convert.ToInt32(strChapter);
double dblTs = Convert.ToInt32(diff);
double dblTotal = ((dblChapter) * (double)dblTs) + 4800000;
Display1.Text = dblTotal.ToString();
}
</script>
<param name="movie" value="counter.swf?$txt=<%= dblTotla %>" />
I appreciate the help.