Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | FLASH: getting .swf to know URL |
| From: | Gahlord Dewald |
| Date: | Tue, 26 Sep 2000 23:34:48 +0100 |
Here's a tricky one for the strong of heart.
Background:
I'm working on this project that has both html and flash elements. The
navigation consists of multiple (about 4 at this point) swf files that open and
close etc in a fairly normal way (rollover and the subnav rolls down, roll out
and the subnav rolls up).
Issue:
Should a visitor click on one of the links contained in the flash nav, it will
load a new page. The default state for any nav is rolled up (ie condensed with
just the main link visible). However, if you're in a section that belongs to the
link, the state of the nav will be rolled down (showing all the possible subnav
items within the section). Since this is a new page, I need the individual nav
swf files to know what the URL of the page that called them is. The swf needs to
know where it is.
Possible solution:
I'm thinking I need to load variables from the page that called the swf and run
an if/then set-up (if the swf is called from the home page it sets itself to a
state that's appropriate for the home page, etc.). I've never done that one
before and am not sure it's possible. Can a swf load a variable from the page
that loaded the swf itself? Will this be screwed up by caching? Am I in for a
nasty surprise? Should I rethink the whole structure?
Thanks for any insight into my question. I'll donate the source code to the
collective good if I can get it to work.
g
Gahlord Dewald
Weeds Media Consortium
Hoops of Fire. Dancing Bears.
Interactive Designers.
http://www.weedsmedia.com
v: 802.658.4267 x 1
f: 800.863.9606
e: gahlord
Weeds Media Consortium
416 Pine Street
Burlington, VT 05401
USA
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
Replies
Re: FLASH: getting .swf to know URL, Gregg Caines
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

