A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: local getURLs don't work after burning CD

  1. #1
    Junior Member
    Join Date
    May 2001
    Posts
    4
    hello

    I'm having a strange problem, hopefully someone has seen this before. I'm making a cross-platform CD that has a flash projector on it. the projector contains several getURLs which link to local files.

    when I run the projector off of the hard drive, everything works fine. but once I burn it to a cd, the PC can no longer find the files. (the mac still does it fine.) I'm using all relative links, not referring to any drive names, and the files are in the same directory as the projector. I've tried getURL("filename.html", "_blank") as well as getURL("./filename.html", "_blank"), nothing seems to work.

    any ideas?

    thanks,
    steve

  2. #2
    Senior Member
    Join Date
    Jul 2000
    Posts
    5,087
    It should work... you can try File:/ instead of http:/

  3. #3
    Sick of the web
    Join Date
    Nov 2000
    Posts
    160
    I had a similar problem....In my case it was because I had used javascript in the 'geturl' action (for resizing the browser windows)....it turned out that once made into a .exe those javascripts couldn't be read.......

    Are you using any javascript....?



    Also, I have my own question......I'm trying to make a PC and MAC compatible cd....how do you do that? can you still autorun it?


  4. #4
    Junior Member
    Join Date
    Jun 2001
    Posts
    4
    Make sure that you do not have links(buttons) with relative URL's grouped in a symbol. Might help. I had problems with relative URL's when I grouped them.

  5. #5
    Junior Member
    Join Date
    Dec 2000
    Posts
    7
    For creating a crossplatform app. that links to local files, you need to change the phisical path for each platform. (create a seperate flash file for mac/pc) Remember to change the forward slash to backward slash for pc and for the mac use the ":" insted of "\".
    I have never had a problem with the http://www.com urls.


    You must create the hybrid cdrom from the mac using toast pro version. it wont work on the pc. create an autorun.ini file for the pc and toast allows you to select file to lauch when cdrom is loaded. I hope this leads you in the right direction. If I had more time i would provide more details.

  6. #6
    Junior Member
    Join Date
    Sep 2000
    Posts
    1

    Red face useful link

    follow this link, it's a very helpful tutorial on creating a cross-platform autorun cd...

    http://www.were-here.com/forum/tutor...urn/index.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