Solved

asp and flash and updating variables inside frames.

Posted on 2003-11-12
5
214 Views
Last Modified: 2011-09-20
i've got a frame based webpage, in the mainFrame, an embedded swf which sends a variable to a txt file.

now, another file loads the txt using loadVars.

but the problem is, i can't get the loadVars to refresh itself upon clicking on navigation to another page. (running in IIS).
ie. have to clear cache before new variable shows.

help?
please!
ta
blu.
0
Comment
Question by:blue-genie
  • 3
5 Comments
 
LVL 27

Accepted Solution

by:
negatyve earned 30 total points
ID: 9731703
url = "your_page.asp?update=" + (new Date().getTime());

loadVariablesNum(url, 0);
// this.loadVariables(url);
// loadvars.load(url);
0
 
LVL 39

Author Comment

by:blue-genie
ID: 9762034
negatyve,

it don't work!

I've since had to change the code a bit, using loadXML(), but its loading sometimes and not others.
0
 

Expert Comment

by:cadalist
ID: 9939929
I understand how to change the XML link in the ASP file now. I uploaded to my web host and tried it and I am not getting any feed at all. Any suggestions on what I am doing wrong?
0
 

Expert Comment

by:cadalist
ID: 9940039
Ok I got it work. My problem is my webhost wasn't running ASP. I tried another host and it works fine now.

Thanks for your help
0
 

Expert Comment

by:cadalist
ID: 9940062
woops I have been answering on the wrong question by accident. Just ignore my responses. lol
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question