Hi,

I am creating a website that uses flash buttons and I am having problems with the root directory. The problem is the index page in the root directory does not recognize all the files in sites directory.

It will recognize the css folder, java script folder, images folder and files but not the html nor media folders.

Now I know using text links the code would be:

Code:
<a href="html/prod.html" title="Products">Products</a>
If I was on the homepage (index) and wanting to go to say products. However, that path does not work for the flash buttons.

I am assuming I need to put "../" in fort of the path in in the file! Except I do not know how many I need to put. While:

Code:
css/
Works for the css, images, javascript folders in does not work for the html and media folders.

Here is the code the flash buttons use:

Code:
btn.addEventListener(MouseEvent.CLICK,callurl);

function callurl(event:MouseEvent):void
{
	var prod:URLRequest = new URLRequest("../html/prod.html");
	navigateToURL(prod, "_self");
}
Any help would be grateful,

Nightwalker