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

Getting variable from page

Status
Not open for further replies.

crazybeans128

Programmer
Aug 5, 2003
79
US
I am writing a flash program that sets a cookie and can retrieve that data. I already have made it write cookies, but I am unable to find a non-php way of gathering the data from the cookie i have created. I am simply looking for a way for flash to look into the html file it is embedded into and say "Hey, I want this specific variable" and be able to use it. Any suggestions? And as I mentioned earlier, I am looking for a non php way to do this.

 
Either that or someone teach me how to dump a local shared object and reload them later. I've tried but am having issues.

 
Javascript can read cookies.

Wow JT that almost looked like you knew what you were doing!
 
I have the javascript reading the cookies, but I can't figure out how to pass those variables back into Flash. I originally tried the return function, but that instead just sends the page to a new page with the data.

 
Okay, i found a code on macromedia.com that does what I want. Thanks anyway.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top