Help - Search - Members - Calendar
Full Version: help me!!! Swiff Player
The CD Forum > Bart's PE Builder > Plugins
becks23td
i load SwiffPlayer at www.bootus.com but there's not file.cmd to load on RAM.
So it didn't run. Help me to make plugin to play file.swf.
Thanks you
ewieldra
I use the following

Inf
CODE
; SwiffPlayer.inf
; PE Builder v3 plug-in INF file for SwiffPlayer
; Created by Eiffel

[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name="SwiffPlayer"
Enable=1
Help="SWFPlayer.htm"
Version=1.0.0

[WinntDirectories]
a="PROGRAMS\SWIFFPLAYER",2

[SourceDisksFiles]
SwfPlayer.exe=a,,1
swflash.ocx=2
Flash.ocx=2,,1

[Software.AddReg]
0x2,"Sherpya\XPEinit\Programs","Viewers\SwiffPlayer","%SystemDrive%\Programs\SwiffPlayer\SwfPlayer.exe"

0x1, "Classes\CLSID\{D27CDB6E-AE6D-11cf-96B8-444553540000}", "", "Shockwave Flash Object"
0x1, "Classes\CLSID\{D27CDB6E-AE6D-11cf-96B8-444553540000}\InprocServer32", "", "%SistemRoot%\System32\swflash.ocx"
0x1, "Classes\CLSID\{D27CDB6E-AE6D-11cf-96B8-444553540000}\InprocServer32", "ThreadingModel", "Apartment"
0x1, "Classes\CLSID\{D27CDB6E-AE6D-11cf-96B8-444553540000}\MiscStatus", "", "0"
0x1, "Classes\CLSID\{D27CDB6E-AE6D-11cf-96B8-444553540000}\MiscStatus\1", "", "131473"
0x1, "Classes\CLSID\{D27CDB6E-AE6D-11cf-96B8-444553540000}\ProgID", "", "ShockwaveFlash.ShockwaveFlash.1"
0x1, "Classes\CLSID\{D27CDB6E-AE6D-11cf-96B8-444553540000}\ToolboxBitmap32", "", "%SistemRoot%\System32\swflash.ocx, 1"
0x1, "Classes\CLSID\{D27CDB6E-AE6D-11cf-96B8-444553540000}\TypeLib", "", "{D27CDB6B-AE6D-11cf-96B8-444553540000}"
0x1, "Classes\CLSID\{D27CDB6E-AE6D-11cf-96B8-444553540000}\Version", "", "1.0"
0x1, "Classes\CLSID\{D27CDB6E-AE6D-11cf-96B8-444553540000}\VersionIndependentProgID", "", "ShockwaveFlash.ShockwaveFlash"
0x1, "Classes\MIME\Database\Content Type\application/x-shockwave-flash", "Extension", ".swf"
0x1, "Classes\MIME\Database\Content Type\application/x-shockwave-flash", "CLSID", "{D27CDB6E-AE6D-11cf-96B8-444553540000}"
0x1, "Classes\.swf", "", "ShockwaveFlash.ShockwaveFlash"
0x1, "Classes\.swf", "Content Type", "application/x-shockwave-flash"
0x1, "Classes\.swf\OpenWithList\IExplore.exe", "", ""
0x1, "Classes\MIME\Database\Content Type\application/futuresplash", "Extension", ".spl"
0x1, "Classes\MIME\Database\Content Type\application/futuresplash", "CLSID", "{D27CDB6E-AE6D-11cf-96B8-444553540000}"
0x1, "Classes\.spl", "", "ShockwaveFlash.ShockwaveFlash"
0x1, "Classes\.spl", "Content Type", "application/futuresplash"
0x1, "Classes\ShockwaveFlash.ShockwaveFlash\DefaultIcon",, "%SystemDrive%\Programs\Swiff Player\SWFPlayer.exe,0"
0x2, "Classes\ShockwaveFlash.ShockwaveFlash\Shell\open\command",, """%SystemDrive%\Programs\Swiff Player\SWFPlayer.exe"" ""%1"""
0x1, "Classes\ShockwaveFlash.ShockwaveFlash\Shell\OpenWithSwiffPlayer",, "Open with S&wiff Player"
0x2, "Classes\ShockwaveFlash.ShockwaveFlash\Shell\OpenWithSwiffPlayer\command",, """%SystemDrive%\Programs\Swiff Player\SWFPlayer.exe"" ""%1"""
0x1, "GlobFX Technologies\Swiff Player\Settings", "Path", "%SystemDrive%\Programs\Swiff Player"
0x1,"Microsoft\Windows\CurrentVersion\RunOnceEx\507","019","swflash.ocx|DllRegisterServer"
;Remove the ";" from the following line if you use Flash 7
;0x1,"Microsoft\Windows\CurrentVersion\RunOnceEx\507","020","Flash.ocx|DllRegisterServer"

[Default.AddReg]
0x4, "Software\GlobFX Technologies\Swiff Player\Settings", "looping", 0x00000000
0x4, "Software\GlobFX Technologies\Swiff Player\Settings", "MaintainAssoc", 0x00000001
0x4, "Software\GlobFX Technologies\Swiff Player\Settings", "StatusBar", 0x00000001
0x4, "Software\GlobFX Technologies\Swiff Player\Settings", "ToolBar", 0x00000001
0x1, "Software\GlobFX Technologies\Swiff Player\Settings", "WindowPlacement", "0,0,1,-1,-1,-1,-1,200,30,550,400"

[Append]
nu2menu.xml, SWF_nu2menu.xml


SWF_nu2menu.xml
CODE
<NU2MENU>
    <MENU ID="Viewers">      
 <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\SwiffPlayer\swfplayer.exe))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\SwiffPlayer\swfplayer.exe">SwiffPlayer</MITEM>
    </MENU>
</NU2MENU>


SWFPlayer.htm
CODE
<html>
<head></head>
<body>
<i>PE Builder v3 plugin</i>
<hr><br>
<b><font size=6 face="helvetica,arial" style="COLOR: #FF9900; TEXT-DECORATION: none">SwiffPlayer</font></b><br><br>
Adding SwiffPlayer...<br>
The program allows you to view flash files...<br>
Download the free program from <a target="_blank" href="http://www.globfx.com/">GlobFX</a> , install it and copy the "SWFPlayer.exe" in the plugin folder. This plugin will also add Macromedia Flash 5.0 for IE. To add support for the latest Flash, please install on your sistem the Flash plugin from Macromedia. Then go to : " Windows/system32/Macromed/Flash " folder and copy the <i>swflash.ocx</i> file to your plugin directory. Now, open the <i>SwfPlayer.inf</i> and modify the :<br><br>
[SourceDisksFiles]<br>
SwfPlayer.exe=a,,1<br>
swflash.ocx=2<br><br>
in<br><br>
[SourceDisksFiles]<br>
SwfPlayer.exe=a,,1<br>
swflash.ocx=2<font style="COLOR: red; TEXT-DECORATION: none">,,1</font><br><br>
<b>Note:</b> For Flash 7.0 there is no need to copy the <i>swflash.ocx</i>, but the <i>flash.ocx</i> file. In this case delete the ";" from:<br>
<br><font style="COLOR: red; TEXT-DECORATION: none">;</font> Flash.ocx=2,,1
<br><br>and from the last line in [Software.AddReg]:<br><br>
<font style="COLOR: red; TEXT-DECORATION: none">;</font> 0x1,"Microsoft\Windows\CurrentVersion\RunOnceEx\507","020","Flash.ocx|DllRegisterServer"<br><br>
<b>Enjoy !</b><br>
<br>
<i>SwiffPlayer Plugin
Copyright (c) 2004 by
<a target="_blank" href="http://www.eiffel.as.ro/">Eiffel</a> .</i><br>
<hr>
<i>PE Builder
Copyright (c) 2002-2003 Bart Lagerweij. All rights reserved.</i><br>
</body>
</html>
becks23td
i had swiffplayer.cab . But when i build CD , it's diddn't run in PE'enviroment, it was failed "MSACM32.dll".(don't find this file).
help me!!!!!!!!!!!!!!!!!!!!
ewieldra
QUOTE (becks23td @ Jun 23 2005, 04:04 PM)
i had swiffplayer.cab . But when i build CD , it's diddn't run in PE'enviroment, it was failed "MSACM32.dll".(don't find this file).
help me!!!!!!!!!!!!!!!!!!!!
*



So Pe Can't find the file..

why not add it from your local installation copy MSACM32.dll to the plugin dir
and add the (RED COLOR) following to the inf

[SourceDisksFiles]
SwfPlayer.exe=a,,1
swflash.ocx=2
Flash.ocx=2,,1
MSACM32.dll=2,,1
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.