A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: getURL

  1. #1
    Senior Member
    Join Date
    Oct 2003
    Posts
    901

    getURL

    In my Flash Im using getURL to call out a picture file (a pic file is nested in a folder i stored in a webserver)

    I typed
    "www.mysite.com/folder1/folder2/file1.gif"
    for the getURL command.

    When I published it and tested it on the net INSTEAD it goes to

    "www.mysite.com/www.mysite.com/folder1/folder2/file1.gif"

    which is an error.
    what did i do wrong?

    thanks in adv

  2. #2
    Newbie Infantry infantry's Avatar
    Join Date
    Jan 2003
    Location
    Chi-Town
    Posts
    258
    You need the http://

    code:
    getURL("http://www.mysite.com/folder1/folder2/file1.gif");



    or you can do this:

    code:
    getURL("/folder1/folder2/file1.gif");

    I'm still learning Flash!

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