Groups | Blog | Home
all groups > macromedia players flash > january 2005 >

macromedia players flash : Any one know the size of Flash Player?


eastjim
1/18/2005 3:44:14 AM
I am writng a program which turn the exe to swf. and I need to know the size
of flash player such as: PlayerSize = 987136 'Macromedia Flash Player 7.0 r14
'PlayerSize = 1003520 'Macromedia Flash Player 7.0 r19 'PlayerSize =
819200 'Macromedia Flash Player 6.0 r21 anyone know more size of Flash
Player like flash 4, flash 5, flash mx ? thanks :)
eastjim
1/18/2005 4:05:17 AM
eastjim
1/18/2005 4:38:03 AM
Originally posted by: Newsgroup User Although its not much help to you without
you having the SA players <BR>yourself, here's the size of the ones I have
:<BR><BR>FP 4r07 280Kb<BR>FP 5r30 368Kb<BR>FP 6r21 800Kb<BR>FP 6r50 824Kb<BR>FP
6r79 844Kb<BR>FP 7r14 964Kb<BR>FP 7r19 980Kb<BR><BR>But .. as I said, Flash MX
2004 will only even make a FP7 projector (which <BR>version depends on whether
you have the latest update to Flash). Even if <BR>you say 'publish as Flash
Player 4', you end up with a SWF4 SWF file inside <BR>a FP7 projector .. which
is a waste .. better off exporting for the same <BR>version of player as you
are using for the projector.<BR><BR>Jeckyl<BR><BR><BR> thanks Jeckyl , you
so nice man :) And can you do me a favor, I wana know the size in byte like
FP 6r21 --> 819200 , Beacuse I can use 980Kb in my program. Thank again !
eastjim
1/18/2005 5:51:23 AM
to Jeckyl: Long long age ,there was a software named EXE2SWF, aha. It
could turn exe files into swf files. And Now my friend Haiwa find another way
to finish this, use vbscript: You can copy follow code into notepad and
rename the file as *.vbs :

'exe2swf tools?check your .exe file property?you can find out the vesion of
flash player ?then modify Variable PlayerSize below.
'Usage?drag your .exe file onto this file.
'author: haiwa@http://www.51windows.Net
dim AsoR,FlashFileName
Set ArgObj = WScript.Arguments
dim PlayerSize,EndSize
PlayerSize = 987136 'Macromedia Flash Player 7.0 r14
'PlayerSize = 1003520 'Macromedia Flash Player 7.0 r19
'PlayerSize = 819200 'Macromedia Flash Player 6.0 r21
EndSize = 8
FlashFileName = ArgObj(0)

set AsoR=CreateObject("Adodb.Stream")
AsoR.Mode=3
AsoR.Type=1
AsoR.Open
set AsoW=CreateObject("Adodb.Stream")
AsoW.Mode=3
AsoW.Type=1
AsoW.Open
AsoR.LoadFromFile(FlashFileName)
if AsoR.size>int(PlayerSize) then
AsoR.Position = PlayerSize
AsoW.write AsoR.read(AsoR.size-int(PlayerSize)-int(EndSize))
AsoW.SaveToFile FlashFileName&".swf", 1 '1 don't overwrite original file?4
rewrite original file.
else
msgbox "file error ,please check your file or Variable PlayerSize"
end if
AsoR.close
set AsoR=nothing
AsoW.close
set AsoW=nothing
eastjim
1/18/2005 7:06:13 AM
Jeckyl
1/18/2005 2:50:40 PM
Pretty simple to find out. Look at the size of the saflashplayer.exe or
flashpla.exe (depending on what version it is) and you'll know.

Of course, you need the appropriate standalone player, which comes with the
corresponding Flash (eg you get Flash Player 4 stand-alone flashpla.exe with
Flash 4).

Also note that you can only make a Flash Player 7 projector exe using Flash
MX 2004, only make a Flash Player 6 projector exe using Flash MX, only FP5
projector with Flash 5 etc etc. Unless you can get the standalone players
for those earlier versions (which one can find on the internet if you look
hard enough) .. then use the player itself to make the projector.

--
All the best,
Jeckyl

Jeckyl
1/18/2005 3:00:01 PM
Although its not much help to you without you having the SA players
yourself, here's the size of the ones I have :

FP 4r07 280Kb
FP 5r30 368Kb
FP 6r21 800Kb
FP 6r50 824Kb
FP 6r79 844Kb
FP 7r14 964Kb
FP 7r19 980Kb

But .. as I said, Flash MX 2004 will only even make a FP7 projector (which
version depends on whether you have the latest update to Flash). Even if
you say "publish as Flash Player 4", you end up with a SWF4 SWF file inside
a FP7 projector .. which is a waste .. better off exporting for the same
version of player as you are using for the projector.

Jeckyl

Jeckyl
1/18/2005 3:07:58 PM
[quoted text, click to view]

I have them .. and just told you the size and versions .. maybe you didn't
read it yet :):)

I'm not sure where you can find them to download them though.
--
All the best,
Jeckyl

Jeckyl
1/18/2005 5:34:52 PM
You don't need to know the exact size of the standalone player .. that
assumes you also know the version of the player in the projector which is
not always easy to tell. Instead .. simply scan the file and look at
offsets divisible by 0x1000 for the ASCII letters 'FWS' or 'CWS' in the exe
file followed by a byte between (say) 0x01 and 0x0f. From there until end
of file you can extract as the .SWF file.

Eg
for an FP 4r07 projector you'll find it at offset 0x046000
for an FP 5r30 projector you'll find it at offset 0x05c000
for an FP 6r21 projector you'll find it at offset 0x0c8000
for an FP 6r50 projector you'll find it at offset 0x0ce000
for an FP 6r79 projector you'll find it at offset 0x0d3000
for an FP 7r14 projector you'll find it at offset 0x0f1000
for an FP 7r19 projector you'll find it at offset 0x0f5000

But the best method is to search .. that way you don't need to know the
projector version.
--
All the best,
Jeckyl

AddThis Social Bookmark Button