Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Design > Adobe Creative Suite

Flash Reference Guide

📄 Contents

  1. Flash Guide 2006
  2. Welcome to the New Flash Reference Guide
  3. Flash Design Guide
  4. Introduction To Flash
  5. Working with the Authoring Tool
  6. Working with Templates
  7. FreeHand for the Power User
  8. Creating Animation with Fireworks
  9. Creating Animation in Flash
  10. Animating Text
  11. Working With Layers and Keyframes
  12. Working With Tweens
  13. Quickly Add Keyframes to Tweens
  14. Using Animation Paths
  15. Using Flash's Onion Skinning Tools
  16. Publishing Your Animation
  17. Preloading for Non-Programmers
  18. Drawing in Flash
  19. Using the Library
  20. Organizing Animations With Storyboards
  21. Working With Masks
  22. Making 2D Look 3D
  23. Working With Text
  24. Working With Input Text Fields
  25. Working With Dynamic Text
  26. Working with Text: Advanced Text Treatment With CSS
  27. Working With Text: Embedding Fonts
  28. Flash Interactive Developer Guide
  29. What is an Interactive Developer?
  30. Creating Flash Projects
  31. Using Form Applications
  32. Working with Form Components
  33. Setting up a Movie for Design and Animation
  34. Setting up a Movie for Programming
  35. Working with Components
  36. ActionScript Fundamentals
  37. Intro to Working With Arrays
  38. Understanding The Three Types of Arrays
  39. Control Data Stored in Arrays
  40. The Eolas Solution
  41. Intro to Flash Player 9
  42. Working with Strings
  43. Creating ActionScript Transitions
  44. Working with Boolean Objects in ActionScript
  45. Optimizing Delivery
  46. Working with Numbers in ActionScript
  47. Working with the Number Class
  48. Flash Professional 9 Preview
  49. Adobe Takes ActionScript Open Source
  50. Flash Rich Media Guide
  51. Pros and Cons of Flash 8 Video
  52. Using SMIL in Flash Video 8
  53. Stream an MP3 Audio File to Your Flash Movie
  54. Flash 8
  55. Introduction to Flash 8
  56. Advanced Text Rendering
  57. Using BitmapData Class in Your ActionScript
  58. The CacheAsBitmap Property
  59. Bitmap Rendering Improvements and Blend Modes
  60. Using The ExternalInterface Class
  61. Using Filters
  62. Downloading and Uploading Files with ActionScript
  63. Runtime Support for GIF and PNG Files
  64. Garbage Collection in Flash 8
  65. Using Enhanced Gradients
  66. Using Scale 9
  67. Stroke Enhancements in Flash 8
  68. Video Support in Flash 8
  69. How to Create a Slideshow
  70. Creating Dynamic Text in Flash
  71. Flash 3-D–Taking Flash to the Third Dimension!
  72. Object Collision Detection with Flash
  73. Create a Quiz With The Flash Quiz Template
  74. Working with Flash
  75. Uses for Flash
  76. Beyond Flash
  77. Flash Reference Guide
  78. Informit Articles and Sample Chapters
  79. Books
  80. Online Resources
  81. Blogs and Discussion
  82. Tools and Downloads
  83. Summary
  84. Flash MX Interface
  85. Welcome to Flash: the Designers' and Developers' Tool
  86. Using the Stage
  87. Panels, Panels Everywhere
  88. Using the Tools Pane
  89. Using the Property Inspector
  90. Using the Timeline Panel
  91. Using the Library
  92. Adding Interaction through the Actions Panel
  93. Integrating with Studio MX
  94. Saving and Publishing Flash Movies
  95. Informit Articles and Sample Chapters
  96. Books
  97. Online Resources
  98. Summary
  99. Drawing in Flash
  100. Shape Tools
  101. Applying Color
  102. Informit Articles and Sample Chapters
  103. Tools and Downloads
  104. Summary
  105. Flash Bitmaps
  106. Importing Bitmaps
  107. Exporting Bitmap Images
  108. Converting Bitmap Images to Vector Illustrations
  109. Informit Articles and Sample Chapters
  110. Online Resources
  111. Tools and Downloads
  112. Summary
  113. Flash Text and Text Fields
  114. Text Types
  115. Input Text
  116. Online Resources
  117. Tools and Downloads
  118. Summary
  119. Using the Library
  120. Library Organization
  121. Creating Instances
  122. Informit Articles and Sample Chapters
  123. Books
  124. Online Resources
  125. Summary
  126. Flash Animation
  127. Controlling Time
  128. Keyframe Animation
  129. Tweening
  130. Text Animation with Flash
  131. Informit Articles and Sample Chapters
  132. Books
  133. Online Resources
  134. Summary
  135. Flash Audio
  136. Using Audio in Flash
  137. Importing
  138. Linking to MP3
  139. Publishing Audio
  140. Streaming MP3 from the Flash Communication Server
  141. Informit Articles and Sample Chapters
  142. Online Resources
  143. Summary
  144. Video in Flash
  145. Video
  146. Flash Video
  147. Spark Codec
  148. Exporting Video
  149. Informit Articles and Sample Chapters
  150. Blog and Discussion
  151. Summary
  152. Flash Components
  153. Attaching Components to Movies
  154. Creating a Component
  155. Informit Articles and Sample Chapters
  156. Tools and Downloads
  157. Summary
  158. Exporting and Optimization
  159. Connecting Flash to the Internet
  160. Loading SWF Movies
  161. Sharing Fonts Between Movies
  162. Reusing Your ActionScripts
  163. Using Third-Party Tools
  164. Informit Articles and Sample Chapters
  165. Online Resources
  166. Tools and Downloads
  167. Summary
  168. Introduction to Design in Flash
  169. Introduction to Design
  170. Fundamental Design Concepts
  171. Breaking Up the Screen
  172. Branding
  173. Adding Forms to Movies
  174. Developing with ActionScript
  175. Introduction to Programming within Flash MX 2004
  176. Using ActionScript to Extend the Functionality of Flash
  177. ActionScript Fundamentals
  178. Using the Actions Panel
  179. Using the Reference Panel
  180. Rapidly Adding ActionScript with the Behaviors Panel
  181. Event Handling within ActionScript
  182. Timeline Events
  183. Triggering Events through User Interaction
  184. Flash MX 2004 Pro
  185. Summary
  186. Creating Interactive Movies
  187. Giving Users a Choice
  188. What it All Comes Down to
  189. Summary
  190. Testing your Flash Movies
  191. Naming Conventions
  192. Syntax Checker
  193. Testing your movies
  194. Summary
  195. Debugging
  196. Using the "Debugger"
  197. Reviewing ActionScript Error Codes
  198. Summary
  199. Using ActionScript to Control Your Movies
  200. Setting Up Your Movies for Interaction
  201. Making Movie Clips Behave Like Buttons
  202. Controlling Multiple Movie Clips
  203. Applying Different Types of Events to a Movie Clip
  204. Summary
  205. Using ActionScript to Control Text
  206. How ActionScript Can Control Text
  207. Using Cascading Style Sheets within Flash MX 2004 Dynamic Text Boxes
  208. Applying CSS formatting with ActionScript
  209. Where Do You Go Now?
  210. The Differences Between ActionScript 1 and ActionScript 2
  211. Working with Classes
  212. Which Version of the Flash Player should you use?
  213. What’s Next?
  214. Using Pre-Built Classes In Flash MX 2004
  215. Using a Class in ActionScript
  216. The List of Core Classes
  217. Flash Player-Specific Classes
  218. Summary
  219. Creating Your Own Classes
  220. Creating a Custom Class
  221. Working with External Data in Flash
  222. Why Use XML in Flash?
  223. Integrating Flash and XML
  224. Visual Elements
  225. Adding the ActionScript
  226. Future Shock
  227. Using Components
  228. Begin Using Components
  229. Building an Application with Components
  230. Gluing Components Together with ActionScript
  231. Summary
  232. Informit Articles and Sample Chapters
  233. Books and e-Books
  234. Online Resources
  235. Rich Internet Applications
  236. Introduction to Rich Internet Applications
  237. Why Use Flash for Building Application Solutions?
  238. Building Applications with Flash
  239. Getting Started
  240. Using Flash Variables
  241. Working with Parameters in the Object and Embed HTML Tags
  242. Linking data with Flashvars
  243. Getting Data Into Flash: Loading External SWF and JPG Files
  244. Why You Should Separate Your Files
  245. Loading Movies into Levels and Target Movie Clips
  246. Summary
  247. Loading SWF and JPG Images
  248. Working With XML: What is XML, and How Does it Relate to Flash?
  249. A Brief History of XML
  250. Why Structuring Your Data is Always a Good Thing
  251. How XML Came to Flash
  252. Summary
  253. Working with XML: Good XML vs. Bad XML
  254. Good Places to Start
  255. Writing Good XML
  256. XML Tools
  257. The Next Step - Using XML in your Flash Applications
  258. Working with XML: Loading XML into Flash
  259. Integrating Flash and XML
  260. Visual Elements
  261. ActionScript
  262. Future Shock
  263. Working with XML — Dynamically Building XML with .NET, ColdFusion, Java, and PHP
  264. ColdFusion
  265. .NET
  266. Java
  267. PHP
  268. Summary
  269. Working with XML — Web Services
  270. SOAP Support in Flash MX 2004
  271. Using Components to Bind Web Services into your Applications
  272. Summary
  273. Working with Data — Working with XML
  274. XML In Flash
  275. Writing XML In Flash
  276. Building Trees of Data with XML
  277. Working with Data: Pushing Data back to the Server with Load Vars
  278. Setting up the Database
  279. Writing the VB.NET Code
  280. Creating the Flash Movie
  281. Working with Data: Leveraging Persistent Connections
  282. Using XMLSocket Connections
  283. XMLSocket Server
  284. XMLSocket Security
  285. XMLSocket Class in Flash
  286. Creating a Pong Game with an XMLSocket Server
  287. Summary
  288. Flash Remoting
  289. What is Flash Remoting?
  290. Using Flash Remoting
  291. The Future of Flash Remoting
  292. Flash Remoting Links
  293. Working with Data: Macromedia Flex Presentation Server
  294. What Problem Does Flex Presentation Server Address?
  295. How does Flex work?
  296. Coding and Building Flex Applications
  297. Building Rich Internet Applications: Connecting Flash to a Database
  298. Using FlashVars
  299. Using LoadVars
  300. Loading XML
  301. Consuming a Web Service
  302. Live data connections with XMLSocket Connections
  303. Building Rich Internet Applications: Planning, Planning, Planning
  304. A Simple Plan
  305. Tools You Can Use
  306. Applying a Discipline
  307. Building Rich Internet Applications: Design Counts
  308. Do Not Be Afraid to Ask For Help
  309. What if You Do Not Have a Ben To Call
  310. Building Rich Internet Applications: Beyond the Movie Clip
  311. UI Components
  312. Data Components
  313. Media Components
  314. Manager Components
  315. Screen Components
  316. Building Rich Internet Applications: Using Macromedia Central
  317. What Central is All About
  318. Who is Using Central?
  319. Developing for Macromedia Central
  320. Next Steps You Need to Take
  321. Building Rich Internet Applications: Using Macromedia Flex
  322. Authoring with Flex
  323. Publishing with Flex
  324. Presenting the Solution: Delivering Flash Applications to the Web
  325. Flash's own Publishing Tools
  326. Using Dreamweaver
  327. Writing your Own HTML
  328. Presenting the Solution: Delivering Flash Over Non-PC Devices
  329. Using Macromedia's Flash Lite
  330. Programming for Flash Lite
  331. FlashCast
  332. Informit Articles and Sample Chapters
  333. Books and e-Books
  334. Flash for Designers: Rich Media Production
  335. Graphic Control in Flash
  336. Drawing in Flash
  337. Importing Vector Art
  338. Importing Raster
  339. Scripting Images
  340. Introduction to the Rich Media Production
  341. Using Video, Audio and Images in your Flash Movies
  342. Using SWF Flash Movies
  343. Using JPEG Images
  344. MP3 Sound Files
  345. Flash Video
  346. Using Components to Build Rich Media Solutions
  347. Using the Loader Component
  348. Using the Media Components
  349. Controlling Components with ActionScript
  350. Controlling the Loader Component
  351. Media Components
  352. Using Audio in Flash
  353. Linking to MP3
  354. ActionScript-Controlled Audio
  355. Volume Control
  356. Publishing Audio
  357. Summary
  358. Video in Flash
  359. Working with Video
  360. Controlling Video with Components
  361. Exporting Video
  362. Summary
  363. Choosing Which Version of Flash Communication Server to Use
  364. Server Requirements
  365. Installation
  366. Running Communication Server on Different OS Platforms
  367. Pitfalls to Watch for
  368. Summary
  369. Streaming Video
  370. Live Video
  371. Broadcast Video on Demand
  372. Flash Video Components
  373. The Communication Server MX Server Code for the VideoPlayBack Component
  374. Record Video with VideoRecord Communication Component
  375. Create A Video Conference
  376. Examining the VideoConferencing Component
  377. The Communication Server MX Server Code for the VideoConferencing Component
  378. Summary
  379. Using the Microphone and Camera Core Classes
  380. Microphone
  381. Camera
  382. Constructing Large Applications That Leverage Video and Audio
  383. Configuring the Server
  384. Creating the Movie
  385. Broadcasting
  386. Summary
  387. Informit Articles and Sample Chapters
  388. Books and e-Books
  389. Matthew's Predictions for 2006
  390. Matthew's Favorite Flash Books
  391. Matthew's Favorite Flash Web Resources
  392. Macromedia as Part of Adobe
  393. First Look: Flash Player 8
  394. First, the Facts
  395. What Macromedia Brings to the Table
  396. What Adobe Brings to the Table
  397. What the Two Companies Can Do for Each Other
  398. A Brief History of Flash

Working in FreeHand for the Flash Power User

As you might know, the latest release FreeHand is no longer a member of the Macromedia/Adobe Studio line. This does not mean that the product can no longer work with Flash and Fireworks. In point of fact, FreeHand remains one of the best design tools to use with Flash.

Some of FreeHand’s features jump out at long-time Flash users the moment they open the program because the two products are so similar in many respects. The most obvious is that FreeHand and Flash both share the same dock layout.

Working with Panels

If you haven't already done so, go ahead and open FreeHand. You will see that all of your panels are now placed on the right-hand side of the screen. Many of your favorite panels are placed together in what are now called groups. A panel group is a collection of similar panels.

Adobe has created several different panel groups that appear by default when you open FreeHand. This does not mean that you are fixed into Adobe's group selection. As with all Macromedia/Adobe Studio products, you can change the name of any group collection and the placement of the groups on the screen. If you're like me, then you probably do not use all the panels all the time. I find that I tend to go through fads of using one tool over another.

Changing a panel is not that difficult. The easiest way to change a panel is by selecting the top right-hand panel selector. One of the first options you have in the panel selector is the ability to rename the panel. You'll probably want to do this as some of the names for the panels don't adequately describe their functions. For instance, one panel that I use a lot is the Properties panel group comprised of two panels named Object and Information. For me, it makes more sense to name this the "Object and Info" panel group so that I know immediately what the panel can do just by looking just at its title. Feel free to use any naming convention that you like.

Fill and Stroke

Other features that will be familiar to you come in large and small sizes. For me, the most exciting new feature it the Fill and Stroke color selectors. If you are a Fireworks fan, then you have been using these selectors for years. The color selectors have been used since Flash 4 and to Dreamweaver 1, and are also found in FreeHand. By default, when you select a color selector, it gives you a list of the 256 web-safe colors. These are colors that have been determined to show correctly on any computer, no matter whether you are running Windows, Macintosh, or Linux operating systems.

Keyboard Shortcuts

Another similarity between Flash and FreeHand are the keyboard shortcuts. As I work on projects, I don’t like switching from the keyboard to the mouse; doing so slows me down. Instead, when I am working extensively with the keyboard, I like to keep my fingers punching away (got to feel sorry for the level of abuse I place on my little stubbies—I am sure it will come back to haunt me). To help me, all of the tools within FreeHand can now be accessed through keyboard commands. And, to make my life as a Flash designer just really peachy, all the tools that are the same between Flash and FreeHand have the same keyboard shortcuts. That means when I press V, I get the Pointer tool in both Flash and FreeHand. When I press A, I get the Sub-Selector tool. My life is now so much simpler. You know, they always say it is the little things.

But what if you do not like the keyboard shortcuts that come with FreeHand by default? What if you want different keyboard combinations to grant you access to the tools on the screen? Not a problem. Just choose Edit > Keyboard Shortcuts and up pops the Keyboard Shortcuts program that allows you to change the shortcuts of FreeHand to match those of other popular programs you may have used. This means that you can change the settings in FreeHand to be the same as Illustrator, Corel Draw, or even an earlier version of FreeHand. In short, you are not stuck with Adobe’s defaults.

Designing with FreeHand

Although I think Flash is the best vector-based graphics program on the market, there are times when I rely on FreeHand for creating vector-based graphics. That’s because the focus of Flash is on animated graphics whereas FreeHand focuses on illustrated graphics. It is intended to create still images for design, logo creation, and print. Animation and movement are not FreeHand's strengths. This is a good thing. If Macromedia had two products that could do the same thing, there would be a lot of head scratching.

For best results, use a combination of FreeHand and Flash, taking advantage of each program’s strong suit. There are an ever increasing number of vector graphics tools on the market, however only a handful work really well with Flash. FreeHand is certainly one of those. Through a consistent interface and useful export tools, you will find that FreeHand is the ideal design tool companion to Flash.

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Peachpit products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email ask@peachpit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.peachpit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020