A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Problem With .SWF Path for Cd-Rom Project

  1. #1
    Junior Member
    Join Date
    Nov 2000
    Posts
    11
    I have my Application and runs from the C:\Program Files\Learning Curve\index.htm. The problem I encounter is that my C:\Program Files\Learning Curve\index.htm needs to load .SWF into it, but my .SWF Files that I want to load in this page exist on a different drive which would be the users CD-ROM drive. I though that if I used the "file:///F|/Archive/Tutorial/Basics.swf" for the path it would work but it didn't and I would change F to whatever letter the users CD-Rom drive is. So does anyone have a solution on how make my C:\Program Files\Learning Curve\index.htm load a .SWF file from a different Drive this it would be much appreciated????



    Example HTML code of my file and location
    C:\Program Files\Learning Curve\index.htm
    ________________________________________

    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>

    <body bgcolor="#FFFFFF" text="#000000">
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100%" height="100%">
    <param name=movie value="file:///F|/Archive/Tutorial/Basics.swf">
    <param name=quality value=high>
    </object>
    </body>
    </html>

    ________________________________________


    Polaris

  2. #2
    Member
    Join Date
    Jul 2001
    Posts
    61
    Why not to use relative link to swf file?

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