AS3 SWF展望(as3swf)
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了AS3 SWF展望(as3swf)相关的知识,希望对你有一定的参考价值。
You need to download the SWC from here (http://github.com/claus/as3swf/archives/master) first.
import com.codeazur.as3swf.SWF; var swf:SWF = new SWF(root.loaderInfo.bytes); trace(swf); // OUTPUT ... //[SWF] // Header: // Version: 10 // FileLength: 166284 // FileLengthCompressed: 166284 // FrameSize: (550,400) // FrameRate: 30 // FrameCount: 1 // Tags: // [69:FileAttributes] AS3: true, HasMetadata: true, UseDirectBlit: false, UseGPU: false, UseNetwork: false // [77:Metadata] <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> // <rdf:Description rdf:about="" xmlns:xmp="http://ns.adobe.com/xap/1.0/"> // <xmp:CreatorTool>Adobe Flash CS4 Professional</xmp:CreatorTool> // <xmp:CreateDate>2010-04-13T10:23:09+01:00</xmp:CreateDate> // <xmp:MetadataDate>2010-04-14T15:29:08+01:00</xmp:MetadataDate> // <xmp:ModifyDate>2010-04-14T15:29:08+01:00</xmp:ModifyDate> // </rdf:Description> // <rdf:Description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/"> // <dc:format>application/x-shockwave-flash</dc:format> // </rdf:Description> // <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#"> // <xmpMM:DerivedFrom rdf:parseType="Resource"> // <stRef:instanceID>xmp.iid:7C944C36DE46DF11A42FA6A489EBD966</stRef:instanceID> // <stRef:documentID>xmp.did:7C944C36DE46DF11A42FA6A489EBD966</stRef:documentID> // <stRef:originalDocumentID>xmp.did:7C944C36DE46DF11A42FA6A489EBD966</stRef:originalDocumentID> // </xmpMM:DerivedFrom> // <xmpMM:DocumentID>xmp.did:15201428D147DF119956F0DDDFBC1A28</xmpMM:DocumentID> // <xmpMM:InstanceID>xmp.iid:15201428D147DF119956F0DDDFBC1A28</xmpMM:InstanceID> // <xmpMM:OriginalDocumentID>xmp.did:7C944C36DE46DF11A42FA6A489EBD966</xmpMM:OriginalDocumentID> // </rdf:Description> //</rdf:RDF> // [09:SetBackgroundColor] Color: #FFFFFF // [86:DefineSceneAndFrameLabelData] // Scenes: // [0] Frame: 0, Name: Scene 1 // [82:DoABC] Lazy: true, Length: 164888 // [76:SymbolClass] // Symbols: // [0] TagID: 0, Name: SWFtrospection_fla.MainTimeline // [01:ShowFrame] // [00:End] // Frames: // [0] Start: 0, Length: 7
以上是关于AS3 SWF展望(as3swf)的主要内容,如果未能解决你的问题,请参考以下文章
托管 AS2 swf 的 AS3 swf 如何共享同一个阵列?
将 AS2 SWF 加载到 AS3 SWF 中并在 URL 中传递变量
在 AS3 中动态加载 AS2 文件 - 如何判断文件是不是为 AS2