Solved

asp and flash and updating variables inside frames.

Posted on 2003-11-12
5
212 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now