A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: get page to load when in another folder

  1. #1
    Member Tiaka's Avatar
    Join Date
    Nov 2007
    Posts
    33

    get page to load when in another folder

    Hi there
    This may be a simple question but I have know idea how to do it.
    My index page is in the folder "New web site"
    I have a flash button on my index page with the address of

    on (release)
    {
    getURL("F:\New web site\Adobe Web Gallery\gallery.html", "_top");
    }

    dosen't work.
    How do I get the gallery page to load when its in another folder?

    Thanks for your help
    Really appreciate it.
    Tiaka

  2. #2
    Senior Member
    Join Date
    Sep 2010
    Posts
    324
    If you have a button on a web page and the button is suppose to getURL in the "Adobe Web Gallery" folder....
    first, rename the folder to "adobe_web_folder", get rid of all upper case and use_underscore instead of spaces. use forward slashes instead of back slashes, get rid of all the F: drive stuff
    Code:
    on (release)
    {
    getURL("adobe_web_gallery/gallery.html", "_top");
    }
    The path to the gallery.html page relative to the page with the button is "adobe_web_gallery/gallery.html"
    Review relative addresses and absolute addresses:
    http://webdesign.about.com/od/beginn.../aa040502a.htm
    Best of luck,
    Video Man

  3. #3
    Member Tiaka's Avatar
    Join Date
    Nov 2007
    Posts
    33
    Thanks very much for your help. I worked a treat.

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