A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: How to load my own html pages

  1. #1
    Junior Member
    Join Date
    Dec 2004
    Posts
    1

    How to load my own html pages

    Hi there. I've been at this for a while now...and I'm slowing going crazy. Someone please help.

    What I want to do is quite simple. Though I don't know how, so it's quite difficult.

    How do I load my own HTML pages, when they are not on the web?
    I've tried getting the page from the behaviours button, but it links the file back to my C drive. So when I try the site on my friend's computer it doesn't want to link.

    Please someone help me. I am confused.

  2. #2
    Well this isn't as easy as it sounds.

    You can simply open the file and it will load but, depending on the file structure put forth in your html the images and external files may not load.

    Ex. If you have something referenced with http://www and the file isn't currently uploaded there or you are not connected to the internet.

    Second if you have any spaces it will put the %20 there and that won't work for you locally.


    I hope that answered your quest

  3. #3
    Senior Member
    Join Date
    Apr 2002
    Posts
    2,849
    If the HTML file is in the same folder as the .swf file, just link to the name, not the whole path on the C: drive.

    So if the file was called page1.html, that's all you link to. If it's in the folder above where the swf file is, you link to ../page1.html. If it's in a sub folder called pages, you link to pages/page1.html.

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