Solved

asp and flash and updating variables inside frames.

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
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 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.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

757 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

19 Experts available now in Live!

Get 1:1 Help Now