"Decoded" Flash

Posted by: Gremelin

"Decoded" Flash - 06/28/02 12:00 AM

Ok, I've been a flash designer for some time, and since I've heard many questions about flash I'd take the time to post some stuff...

A "decompiled" or "decompressed" flash file has a source of a .FLA which resembles the following:
Code:
Movie1   	 CSceneObjScene 1    CTextObjGizmo    CCharObjo             ?                              ?        ̌8Q@33333?      ?             V@      ?      ?                                                          m             ?                              ?        3333X7@ @      ?             V@      ?      ?                                                          z             ?                              ?        3333?6fffff?      ?             V@      ?      ?                                                          i             ?                              ?        4H33333?      ?             V@      ?      ?                                                          G             ?                              ?        LRR@      ?             V@      ?      ?                                                              d?                Ǯ-<N%?        )
+`@n:@@      ?             V@d?N%?   
  CEffectScaleLetter        
                                                                                                                                                                                                                                                                                                                                                     
     r@              Y@                                      Y@              Y@     r@      Y@                      Y@      Y@                  Y@      Y@                                  Y@      Y@      Y@      Y@                      Y@                                                                                @ 
 CEffect3dSpin        
                                                                                                                                                                                                                                                                                                                                                                     V@                     @o@                                             @o@                                                @o@                                         Y@      Y@      Y@      Y@                      Y@                                                            @                                                         
Beast Wars$                                              Gizmo                   ?                              ?                              ?             V@      ?      ?                                                                                                              p@     P@      (@                                                           Content for Movie1                   ,       cvid     
      gl?                d4Lz<gl?             @V@xqG@      ?             V@gl?gl?SERVER
Administrator     ܾ@     ĸ@
and that file compressed (.SWF) would resemble the following:
Code:
FWSf
  p 
  ) < @C        U2G.0  
2QTAUZ8	`$T}6d+;H	2D
 %t[TjUFOqR}&m+ycL6[§xy@& ߷KV[4_Fh@B+RQX
RgcVue %B }&5~BI8Q$fL)z^iŲ^|  J    VM
  
U$
-@@n-{=}XDH(˩EVw=qvkKhg      TK8  
)5jNТ;c$@UzeK~(Q/^5Yu 椙`3Ik8%&IP!H|AI%%Hl#-<K_׽ĵ5$Mb\~&^P J d`U&ޤ)KU:5MûNkִqyQXiVV[ە91AuJ 	   TXV*  
]]֯5~$uG𠥁D7xۄ3Sr@*mj*SZZ3oz7rN0*[o!v]JK	Կm*|Dx[sݳ^z}_0\$.WM76!DHw0MiIMSK:Tҕ=#ؤzD:^H	O%ډ~)_FFA@=1QKiMr     TV
x  
WrswK%mvf_TЗ%t9I=^SeNUdR%QH	SNU(f\0'zr.I!$r^r%"Zeifi	i Y~u;W4?;2)Ԩl-KkRN^Mk;:clpKKIi6H
rnc~Ud]k;Zҋ#e<    
@  Ȯк@D   ȮlD   ȮX1D   ȮÑ$D @  ͚t&b{@  nɢm2{@  CT{@  u:{{@  זXUd
 Qй @  ɀAH!U؍ ʹ(и @  K>KU섍 ͈ж@@  ]RɃд@  1Sг @  #б@  ɴQSB
 +qsl@ @  ]RASB ͣ/XCl@  K>KSB w?l@  K%l @   1l@@  
[}
 
-X1 @  ɑKi} ͽbX0@  K>K} ͑X0@@  f!cX/@  :d3X.@  iX.0@  U?Mcȶ 
 וCC @  nDڍcȳ@ ͫ*@  K>KcȲ  ̀A$@  T@  (ރx@  _NDT-P@  ɣ0NDT,@  K>KDT, @ 
 D>KUi @x@ 
 />KUi @@ 
 >KUi @l@ 
 /-Wi @@ 
 S/-Wi @`@ 
 ׂ/-Wi @ ؒ
 J>KSBi @@ 
 R/-Wi @ P
 >>KSBi @D@  
 #>KSBi @@ 
 x/1M
i @4@ 
 ŗ/1M
i @@ 
 #/1M
i @(@ 
 Ģ/1M
i @ 
 GT>K}i @@ 
 n/1M
i @ 
 5'>K}i @@  
 >K}i @@ 
 P/1ʤi @ @ 
 k/1ʤi @x@ 
 D/1ʤi @ 
 K>KcȲ i @@ 
 m>/1ʤi @ l
 A>KcȲ i @`@  
 *#>KcȲ i @@ 
 >KcȲ i @P@ 
 Ŭ/5"i @@ 
 ;/5"i @D@ 
 Ľb/5"i @ 
 IO>KDT, i @@ 
 6/5"i @ 4
 9>KDT, i @(@  
 >KDT, i @@ 
 N/9Pi @@ 
 Ł/9Pi @@ 
 
/9Pi @@ 
 Ĉ4/9Pi @ @  @   
See, theirs not that much you can do with either file, its not even all that interesting, but you CAN NOT extract the .FLA from a .SWF file, I don't know of any decompressers, but I'd be willing to listen if anyone has anything.

-Gizmo
Posted by: Le4rner

Re: "Decoded" Flash - 06/28/02 03:39 AM

Right, even when you import a SWF file into the Flash editor you don't get the original FLA file. the SWF file is compressed into one stream all you can do really is add to it.
Posted by: Gremelin

Re: "Decoded" Flash - 06/28/02 06:09 AM

::NOD::