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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loading variables from a Form

Status
Not open for further replies.

orbitph

Programmer
Feb 23, 2001
35
NL
I'm trying to load some variables into a flash animation.

The animation is located at the end of a multipage form.

I have 4 variables that are needed to create a result.

Serverlanguage: ASP
Flash version: Flash MX (6)

has anyone done this before??

I was trying to post the variables directly into the movie

help would be appreciated :) if you have tips or comments send them to me. I am a human and humans could give wrong answers
 
i take it flash player 6 means you have mx in which case use loadvars

mydata = new loadvars();
mydata.onload = placevars;
function placevars(){
//do what yo want with the vars here
}
mydata.sendandload("full url to asp page",mydata);

the variables should now be available in the main timeline and can be accessed by mydata.something

ie inside placevars movievar1 = mydata.var1; etc.

hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top