简体   繁体   中英

GET flash file(.swf) 404 error

I just try to place a flash file in my site, but I see I get the 404 error. I have looked for the flash file on the server and it exist, so I don't thinks it's the issue. I attach the code, and the error as well.

The code:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="480" height="430" id="move3" align="middle" viewastext>
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="/FilesDB/View3D/Movie_objID_3426_typeID_5.swf?NoCashe=1570316002" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#989866" />
    <embed src="/FilesDB/View3D/Movie_objID_3426_typeID_5.swf?NoCashe=1570316002" 
        quality="high" 
        bgcolor="#989866" 
        width="480" 
        height="430" 
        name="move3" 
        align="middle" 
        allowscriptaccess="sameDomain" 
        type="application/x-shockwave-flash" 
        pluginspage="http://www.macromedia.com/go/getflashplayer" 
    />
    </object>

The error: GET http://www.loveandpride.com/FilesDB/View3D/Movie_objID_3426_typeID_5.swf?NoCashe=1570316002 404 (Not Found)

Hope you can help me... Ben

My guess is some misconfiguration of iis web site; infact http://www.loveandpride.com/FilesDB just response a 404 error, http://www.loveandpride.com/FilesDB/View3D/ too.

Maybe FilesDb is configured as virtual directory pointing to an not existent location?

Remove viewastext from your object element.

The viewastext attribute prevents an authoring tool from running the object at design time. This attribute is not required if you do not use these tools and note that it can cause problems in some environments; for example strict xhtml documents.

Source: http://www.meadroid.com/scriptx/docs/printdoc.asp

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM