Insitebuilders
03-19-2009, 03:59 PM
I have a series of 8 related pages on a website and have set up an identical menu bar for ea page with 8 buttons to navigate from page to page and between pages using variations of this code, (CS4).
function openWebPage(evt:Event):void {
navigateToURL(new URLRequest("http://insitebuilders.com/page00"));
}
index_btn.addEventListener("click",openWebPage/page00);
All works well on the server with absolute URL addresses, but I can't seem to find the code I need that would allow me to navigate from local HTML page to page on a self contained CD (IOW w/o the Web).
Is there a way to make the URL request relative to its folders...? Or do I use a totally different approach...? Probably obvious, but I can't see it....
Appreciate any help. Thx
/Dennis
function openWebPage(evt:Event):void {
navigateToURL(new URLRequest("http://insitebuilders.com/page00"));
}
index_btn.addEventListener("click",openWebPage/page00);
All works well on the server with absolute URL addresses, but I can't seem to find the code I need that would allow me to navigate from local HTML page to page on a self contained CD (IOW w/o the Web).
Is there a way to make the URL request relative to its folders...? Or do I use a totally different approach...? Probably obvious, but I can't see it....
Appreciate any help. Thx
/Dennis