A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: help with getURL

  1. #1
    Junior Member
    Join Date
    Feb 2000
    Posts
    21
    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?

  2. #2
    Senior Member
    Join Date
    Mar 2000
    Posts
    289
    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!

  3. #3
    Junior Member
    Join Date
    Feb 2000
    Posts
    21

    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

  4. #4
    Senior Member
    Join Date
    Sep 2001
    Posts
    178
    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.

  5. #5
    Junior Member
    Join Date
    Feb 2000
    Posts
    21
    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
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center