-
I am running a .swf file in a HTML that is on a CD. The entire site resides on this CD. At the end of the .swf presentation I want to load a new HTML file. Is this the get URL function? How do I specify which HTML file to load from the CDROM and how do I specify the correct directory? This is easy if the files are online but I'm not sure how to do this on a CDROM.
Many Thanks
-
Lifetime Friend of Site Staff
Use a relative path to the file. Assume the current working dir is where the EXE lives on the CD and construct the path relative to that.
If the HTML file is in the same dir as your projector getURL("showme.html");
If the HTML file is in a folder called "html" that's in the same dir as your projector getURL("folder\\showme.html");
If the reference is to a higher directory then add the proper number of "..\\" sequences to get there.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|