- Feb 14, 2004
- 48,837
- 5,523
- 136
I have a problem. I am currently working on a website using Flash, although I'm not the one using Flash, I'm just coding it in. I'm running into a file structure problem. I want the website to run on both the company's web server AND our local computers, but I don't know how to do that with Flash.
For example, one of our navigational aids is a Flash header. We have Home, Products, Support, and Contact. Each file is in its own subdirectory and index file, like this:
www.mysite.com/index.php
www.mysite.com/products/index.php
www.mysite.com/support/index.php
www.mysite.com/contact/index.php
How do I make the Flash header link to the correct pages, no matter what subdirectory you are in? For example, if I'm in www.mysite.com/products/widget/details/configure.php and I click on the "Products" button in the Flash nav menu, I want it to go to www.mysite.com/products/index.php. I know that I can use absolute paths, but then it won't work on my local computer. Any ideas here?
For example, one of our navigational aids is a Flash header. We have Home, Products, Support, and Contact. Each file is in its own subdirectory and index file, like this:
www.mysite.com/index.php
www.mysite.com/products/index.php
www.mysite.com/support/index.php
www.mysite.com/contact/index.php
How do I make the Flash header link to the correct pages, no matter what subdirectory you are in? For example, if I'm in www.mysite.com/products/widget/details/configure.php and I click on the "Products" button in the Flash nav menu, I want it to go to www.mysite.com/products/index.php. I know that I can use absolute paths, but then it won't work on my local computer. Any ideas here?