Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Show ASP page in Flash?

Status
Not open for further replies.

tyleri

Programmer
Jan 2, 2001
173
US
How can I display the contents of an ASP page in flash 5? I think I'm supposed to set up a dynamic window and loadvariable in the page.asp page - but nothing shows up. the page.asp page loads on it's own.

what do I put in the ASP page as the variable? And in the Dynamic Text properties, what do I put as the variable?

 
What you need to do is have asp write out a Querystring so Flash can see it. Once the asp runs the query, it should put the attributes into the string like this:

response.write(
"flash.swf?var1=" & var(0) & "&var2=" & var(1))

In this sample, "var(0)" is the asp reference to the field name, and "var1" is the name you give the variable. The result of the write method will be
flash.swf?var1=field1&var2=field2
Then use LoadVariables to load them into the movie, and in the dynamic text box you would use var1 in my example above.

Now, this example is pretty simplified, and in my head fairly clear. but i can see some problems popping up very quickly. Just keep reposting here or to the older post you got running that i already replied to.
M.austin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top