怎么样才能让*.swf在IE中播放???也就是说,FLASH的插件怎么在IE中安装?(200分)

  • 主题发起人 主题发起人 wumeng
  • 开始时间 开始时间
W

wumeng

Unregistered / Unconfirmed
GUEST, unregistred user!
怎么样才能让*.swf在IE中播放???也就是说,FLASH的插件怎么在IE中安装?
我的IE以前可以播放FLASH的,但现在不可以了,查了一下大富翁中以前的贴子,
我的电脑中有/WINNT/system32/Macromed/Flash/Flash.ocx,但从DELPHI中,用引进
ACTIVEX方法,找不到有关FLASH的控件,我觉得是Flash.ocx在注册表中的信息丢失了。
从系统信息中看,也说我的Flash.ocx没有安装。但IE不会去自动下载安装。所以,我想
自己重新安装。请问怎么作???
 
下个flash的播放器,装一下就行了
 
没有楼上说得那么麻烦,装个插件也就是一分钟不到的时间了:
http://210.77.146.104/flash/tool/plugin/ie.InstallSWFlash.exe
 
其实IE可以直接播放的,你把文件拖到IE里面就可以了
 
>>下个flash的播放器,装一下就行了
这个不行,我试过两个不同的FLASH播放软件。
louhong, 说的可以。
 
在网页加上这样一段代码:
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" WIDTH=468 HEIGHT=60>
<PARAM NAME=movie VALUE="/images/ad/winsunlight_banner.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="/images/ad/winsunlight_banner.swf" quality=high bgcolor=#FFFFFF WIDTH=468 HEIGHT=60 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>

如果机器里有flash.ocx
可以在运行对话框里运行regsvr32 -i "E:/WINNT/system32/Macromed/Flash/Flash.ocx"
或者
把下面的文件另存为swflash.inf,然后点右键,选择“安装”(要保证和Flash.ocx在同一目录下):


[Version]
Signature="$Chicago$"
AdvancedINF=2.5

[DefaultInstall]
CopyFiles=SWFiles, inffile
AddReg=SW.AddReg
RegisterOCXs=RegisterOCXSection

[DefaultUninstall]
cleanup=1
Delfiles=SWFiles
delreg=SW.DelReg
UnRegisterOCXs=UnRegisterOCXSection

[strings]
productname="Shockwave Flash"
; added for the win 98 cd install
GUID = "{D27CDB6E-AE6D-11cf-96B8-444553540000}"
GUIDFACT = "{D27CDB6E-AE6D-11cf-96B8-444553540000}"
DefaultName = "Macromedia Shockwave Flash"
ComponentID = "Flash"
VersionNumber = "6,0,29,0"
LocaleID = "EN"

[RegisterOCXSection]
%11%/macromed/flash/Flash.ocx

[UnRegisterOCXSection]
%11%/macromed/flash/Flash.ocx

[SW.AddReg]

shockwaveflash is used here the sync with the currently used CIF files on www.microsoft.com
; if we used shockwave for flash then durring the IE4 uninstall we would not get uninstalled
HKLM,SOFTWARE/Microsoft/Windows/CurrentVersion/Uninstall/ShockwaveFlash,"QuietDisplayName",,"%ProductName%"
HKLM,SOFTWARE/Microsoft/Windows/CurrentVersion/Uninstall/ShockwaveFlash,"QuietUninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%/swflash.inf,DefaultUninstall,5"
HKLM,SOFTWARE/Microsoft/Windows/CurrentVersion/Uninstall/ShockwaveFlash,"RequiresIESysFile",,"4.70.0.1155"

; added for win 98 cd install
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUID%",,,"%DefaultName%"
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUID%","ComponentID",,"%ComponentID%"
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUID%","IsInstalled",1,01,00,00,00
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUID%","Version",,"%VersionNumber%"
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUID%","Locale",,"%LocaleID%"

; added for win 98 cd install
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUIDFACT%",,,"%DefaultName%"
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUIDFACT%","ComponentID",,"%ComponentID%"
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUIDFACT%","IsInstalled",1,01,00,00,00
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUIDFACT%","Version",,"%VersionNumber%"
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUIDFACT%","Locale",,"%LocaleID%"



9/10/98 smp added key for win98 uninstall from control panel...
HKLM, "Software/Microsoft/Windows/CurrentVersion/Setup/OptionalComponents/SwFlash","Installed",,1

[SW.DelReg]
HKLM,SOFTWARE/Microsoft/Windows/CurrentVersion/Uninstall/ShockwaveFlash,"QuietDisplayName",,"%ProductName%"
HKLM,SOFTWARE/Microsoft/Windows/CurrentVersion/Uninstall/ShockwaveFlash,"QuietUninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%/swflash.inf,DefaultUninstall,5"
HKLM,SOFTWARE/Microsoft/Windows/CurrentVersion/Uninstall/ShockwaveFlash,"RequiresIESysFile",,"4.70.0.1155"

; added for the win 98 cd install
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUID%",,,"%DefaultName%"
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUID%","ComponentID",,"%ComponentID%"
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUID%","IsInstalled",1,01,00,00,00
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUID%","Version",,"%VersionNumber%"
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUID%","Locale",,"%LocaleID%"

; added for the win 98 cd install
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUIDFACT%",,,"%DefaultName%"
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUIDFACT%","ComponentID",,"%ComponentID%"
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUIDFACT%","IsInstalled",1,01,00,00,00
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUIDFACT%","Version",,"%VersionNumber%"
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUIDFACT%","Locale",,"%LocaleID%"


9/10/98 smp added key for win98 uninstall from control panel...
HKLM, "Software/Microsoft/Windows/CurrentVersion/Setup/OptionalComponents/SwDir","Installed",,0

[SourceDisksNames]
1="Shockwave Files","Swflash.cab",1

[SourceDisksFiles]
Flash.ocx=1

[SWFiles]
Flash.ocx,,,33

[inffile]
swflash.inf,,,33

[DestinationDirs]
SWFiles=11, Macromed/Flash
inffile=17




 
谢谢lnboy,
我是后来才看到您的回答的。所以没办法给您分。如果要分的话,我另开一个贴子。
 

Similar threads

D
回复
0
查看
867
DelphiTeacher的专栏
D
D
回复
0
查看
836
DelphiTeacher的专栏
D
D
回复
0
查看
785
DelphiTeacher的专栏
D
后退
顶部