Solved

asp and flash and updating variables inside frames.

Posted on 2003-11-12
5
223 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
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.

726 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