Posted By

adrianparr on 04/14/10


Tagged

data swf as3 bytes loaderInfo codeazur claus wahlers swftrospection


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

socialflasher
tspitzr


AS3 SWFtrospection (as3swf)


 / Published in: ActionScript 3
 

URL: http://wahlers.com.br/claus/blog/swftrospection/

You need to download the SWC from here (http://github.com/claus/as3swf/archives/master) first.

  1. import com.codeazur.as3swf.SWF;
  2. var swf:SWF = new SWF(root.loaderInfo.bytes);
  3. trace(swf);
  4.  
  5. // OUTPUT ...
  6. //[SWF]
  7. // Header:
  8. // Version: 10
  9. // FileLength: 166284
  10. // FileLengthCompressed: 166284
  11. // FrameSize: (550,400)
  12. // FrameRate: 30
  13. // FrameCount: 1
  14. // Tags:
  15. // [69:FileAttributes] AS3: true, HasMetadata: true, UseDirectBlit: false, UseGPU: false, UseNetwork: false
  16. // [77:Metadata] <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  17. // <rdf:Description rdf:about="" xmlns:xmp="http://ns.adobe.com/xap/1.0/">
  18. // <xmp:CreatorTool>Adobe Flash CS4 Professional</xmp:CreatorTool>
  19. // <xmp:CreateDate>2010-04-13T10:23:09+01:00</xmp:CreateDate>
  20. // <xmp:MetadataDate>2010-04-14T15:29:08+01:00</xmp:MetadataDate>
  21. // <xmp:ModifyDate>2010-04-14T15:29:08+01:00</xmp:ModifyDate>
  22. // </rdf:Description>
  23. // <rdf:Description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/">
  24. // <dc:format>application/x-shockwave-flash</dc:format>
  25. // </rdf:Description>
  26. // <rdf:Description rdf:about="" xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/" xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#">
  27. // <xmpMM:DerivedFrom rdf:parseType="Resource">
  28. // <stRef:instanceID>xmp.iid:7C944C36DE46DF11A42FA6A489EBD966</stRef:instanceID>
  29. // <stRef:documentID>xmp.did:7C944C36DE46DF11A42FA6A489EBD966</stRef:documentID>
  30. // <stRef:originalDocumentID>xmp.did:7C944C36DE46DF11A42FA6A489EBD966</stRef:originalDocumentID>
  31. // </xmpMM:DerivedFrom>
  32. // <xmpMM:DocumentID>xmp.did:15201428D147DF119956F0DDDFBC1A28</xmpMM:DocumentID>
  33. // <xmpMM:InstanceID>xmp.iid:15201428D147DF119956F0DDDFBC1A28</xmpMM:InstanceID>
  34. // <xmpMM:OriginalDocumentID>xmp.did:7C944C36DE46DF11A42FA6A489EBD966</xmpMM:OriginalDocumentID>
  35. // </rdf:Description>
  36. //</rdf:RDF>
  37. // [09:SetBackgroundColor] Color: #FFFFFF
  38. // [86:DefineSceneAndFrameLabelData]
  39. // Scenes:
  40. // [0] Frame: 0, Name: Scene 1
  41. // [82:DoABC] Lazy: true, Length: 164888
  42. // [76:SymbolClass]
  43. // Symbols:
  44. // [0] TagID: 0, Name: SWFtrospection_fla.MainTimeline
  45. // [01:ShowFrame]
  46. // [00:End]
  47. // Frames:
  48. // [0] Start: 0, Length: 7

Report this snippet  

You need to login to post a comment.