-
I am trying to open a local html file in the browser using the getURL function. I am using a relative path to the file, and keep getting the message, "No site by that name can be found". Can anyone help?
-
I don't think this is a Flash issue. I think you just mistyped the path or something. Post your getURL() function AS YOU ARE USING IT. And also post the FULL path to the file you want to open. AND also post the FULL path to the Flash movie. Let us check those things for you and see where you went astray!
-
help with getURL
Thanks, Your reply prompted me to go back and type the full path instead of the relative path. It works fine now.
I appreciate the help
-
Hi,
Is it not working when you test it within flash? If it is, try publishing it as an HTML file and testing that. I have noticed that getURL does not work when tested within flash, because it tries to get an http site, not a local site.
-
The path structure I used was
getURL(file:///Drive/file.html)
This does the trick
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
|