[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

asp and flash and updating variables inside frames.

Posted on 2003-11-12
5
Medium Priority
?
232 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 120 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
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…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
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.

873 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