Macromedia Flash (SWF) File Format Specification Version 7

Macromedia Flash (SWF) File Format Specification Version 7

Macromedia Flash (SWF) File Format Specification Version 7 Trademarks Afterburner, AppletAce, Attain, Attain Enterprise Learning System, Attain Essentials, Attain Objects for Dreamweaver, Authorware, Authorware Attain, Authorware Interactive Studio, Authorware Star, Authorware Synergy, Backstage, Backstage Designer, Backstage Desktop Studio, Backstage Enterprise Studio, Backstage Internet Studio, Contribute, Design in Motion, Director, Director Multimedia Studio, Doc Around the Clock, Dreamweaver, Dreamweaver Attain, Drumbeat, Drumbeat 2000, Extreme 3D, Fireworks, Flash, Fontographer, FreeHand, FreeHand Graphics Studio, Generator, Generator Developer's Studio, Generator Dynamic Graphics Server, Knowledge Objects, Knowledge Stream, Knowledge Track, LikeMinds, Lingo, Live Effects, MacRecorder Logo and Design, Macromedia, Macromedia Contribute, Macromedia Coursebuilder for Dreamweaver, Macromedia M Logo & Design, Macromedia Flash, Macromedia Xres, Macromind, Macromind Action, MAGIC, Mediamaker, Multimedia is the Message, Object Authoring, Power Applets, Priority Access, Roundtrip HTML, Scriptlets, SoundEdit, ShockRave, Shockmachine, Shockwave, shockwave.com, Shockwave Remote, Shockwave Internet Studio, Showcase, Tools to Power Your Ideas, Universal Media, Virtuoso, Web Design 101, Whirlwind and Xtra are trademarks of Macromedia, Inc. and may be registered in the United States or in other jurisdictions including internationally. Other product names, logos, designs, titles, words or phrases mentioned within this publication may be trademarks, servicemarks, or tradenames of Macromedia, Inc. or other entities and may be registered in certain jurisdictions including internationally. Speech compression and decompression technology licensed from Nellymoser, Inc. (www.nellymoser.com). Sorenson™ Spark™ video compression and decompression technology licensed from Sorenson Media, Inc. This guide contains links to third-party Web sites that are not under the control of Macromedia, and Macromedia is not responsible for the content on any linked site. If you access a third-party Web site mentioned in this guide, then you do so at your own risk. Macromedia provides these links only as a convenience, and the inclusion of the link does not imply that Macromedia endorses or accepts any responsibility for the content on those third-party sites. Apple Disclaimer APPLE COMPUTER, INC. MAKES NO WARRANTIES, EITHER EXPRESS OR IMPLIED, REGARDING THE ENCLOSED COMPUTER SOFTWARE PACKAGE, ITS MERCHANTABILITY OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. THE EXCLUSION OF IMPLIED WARRANTIES IS NOT PERMITTED BY SOME STATES. THE ABOVE EXCLUSION MAY NOT APPLY TO YOU. THIS WARRANTY PROVIDES YOU WITH SPECIFIC LEGAL RIGHTS. THERE MAY BE OTHER RIGHTS THAT YOU MAY HAVE WHICH VARY FROM STATE TO STATE. Copyright © 2002-2003 Macromedia, Inc. All rights reserved. This manual may not be copied, photocopied, reproduced, translated, or converted to any electronic or machine-readable form in whole or in part without prior written approval of Macromedia, Inc. CONTENTS INTRODUCTION: Macromedia Flash (SWF) File Format Specification . 9 The SWF Header . 10 SWF File Structure . 11 Tag Format . 11 Definition and Control Tags . 12 Tag Ordering in SWF . 12 The Dictionary . 12 Processing a SWF File . 13 File Compression Strategy . 14 Summary. 14 CHAPTER 1: What’s New in Macromedia Flash (SWF) File Format 7 . 15 ActionScript extensions . 15 New video format . 15 Runtime ActionScript controls . 16 SetTabIndex . 16 ClipEventConstruct . 16 Small text rendering . 16 CHAPTER 2: Macromedia Flash (SWF) File Format 6 . 17 File compression . 17 Unicode support . 17 Named anchors . 17 ActionScript extensions . 18 New audio and video formats . 18 The FLV file format . 19 Improved documentation . 19 CHAPTER 3: Basic Data Types . 21 Coordinates and Twips . 21 Integer Types and Byte Order . 21 Fixed Point Numbers. 22 Bit Values . 22 Using Bit Values . 23 String Values . 24 3 Language Code . 25 RGB Color Record . 25 RGBA Color with Alpha Record . 26 Rectangle Record. 26 Matrix Record . 27 Color Transform Record . 28 Color Transform with Alpha Record . 29 CHAPTER 4: The Display List . 31 Clipping Layers . 32 Using the Display List . 33 Display List Tags . 34 PlaceObject . 34 PlaceObject2 . 34 ClipEventFlags . 37 RemoveObject . 39 RemoveObject2 . 39 ShowFrame. 39 CHAPTER 5: Control Tags . 41 SetBackgroundColor . 41 FrameLabel . 41 Protect. 42 ExportAssets . 43 ImportAssets . 44 EnableDebugger . 44 EnableDebugger2 . 45 ScriptLimits. 45 SetTabIndex . 45 CHAPTER 6: Actions. 47 SWF 3 Action Model . 47 SWF 3 Actions . 48 SWF 4 Action Model . 51 The Program Counter . 51.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    190 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us