Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Loading vasriable from a text file |
From: | Kortland, Brian |
Date: | Tue, 06 Feb 2001 19:45:39 -0000 |
HI All,
This is my scenario.
I have an Intranet Site which has html links that point to 7-8 pages which
all contain a flash animated map that will allow the user to view documents
for that specific region or country.
Since I have 7-8 different pages I thought it crazy to create 7-8 of the
same map, meaning 7-8 times the maintenance. If I could only pass varibles
from a html page to Flash!!
I decided I would try loading my link variable into Flash from a text file.
The user clicks their desired link, which goes to a Cold Fusion page which
writes a variable to a text file. The page loads and the Flash map is
activated and it reads the variable and now directs users to documents
related to the link they click.
Were I am falling short: It works great the first time, but after that the
Flash file keeps pointing to the same page even if I click different links
and change the .txt page variable. I know this has to do with caching.
I could have Flash retest for the variable throughout the movie but this
would not work well because a different user might click on a different link
and set a different variable in the .txt file and the original user would be
directed incorrectly.
I need a way for Flash to read the text file variable cleanly each time a
page is loaded without it relying on cached variables. Does this even make
sense?
Regards,
Brian Kortland
AIU E-Business
AIU URL: http://aignetprod.aig.com/cfaiunet/
tel 212.770.7617, fax 212.968.1386
brian [dot] kortlandaig [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]