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

Home > Articles > Web Design & Development > Adobe Flash

  • Print
  • + Share This
This chapter is from the book

Understanding the Timeline

The timeline is where the bulk of the animation process takes place. This is where you control the speed at which a movie element moves, when it enters and exits the scene, and its depth, or stacking order, in relation to other elements in the scene (Figure 10.3). Most of what you'll learn in this chapter will also apply to animating symbols' timelines (especially graphic and movie clip symbols).

Figure 10.3Figure 10.3 The various parts of the timeline.


TIP

If the timeline is consuming too much screen space, click its name to collapse it as you would any other panel.

Layers

Although we discussed layers in detail in Chapter 9, you'll probably find it helpful to review a couple of points here—especially those that have to do with the relationship between layers, frames, and the stage.

A single frame on the timeline can have multiple layers, whose combined content you can view on the stage (Figure 10.4). (For more information about how content on various layers represents the composite animation on the stage, see "Putting It All Together" later in this chapter.) This means you can split the various animated elements of each frame's content into individual layers. Just remember that a single frame can comprise hundreds of layers. Layers are useful for creating complex animations in which a number of movie elements are used simultaneously but in different ways.

Playhead

Figure 10.4Figure 10.4 The graphical content of all visible layers is displayed on the stage.


The playhead is to the timeline what the Arrow tool is to the stage. It allows you to identify the frame being edited, select a frame to work on, and scrub the movie—that is, watch it play by dragging the playhead. The red vertical line of the playhead stretches across multiple layers to help you identify all of a frame's content.

To move the playhead to a particular frame:

  • Click a frame on any available layer, or select a frame on the timeline ruler.

    The playhead will jump to the frame you selected.

To scrub the playhead:

  • Click and drag the playhead left or right.

    As you move the playhead, your movie will play forward or backward, depending on which direction you drag the playhead.

    TIP

    To perform either of these actions, your timeline must include at least one blank frame. The white and gray rectangular boxes that appear initially on the timeline are placeholder frames. With the exception of the first frame, you must add frames manually to the timeline. For more on this, see "Inserting Frames" later in this chapter.

Timeline Ruler

The timeline ruler provides a sequential display of frames along the timeline. Frame increments are marked in two ways: frame ticks, which are small vertical lines on the ruler, and frame numbers, which are displayed for every fifth frame. Normally, frame numbers are centered between the two ticks that define the frame. Three-digit frame numbers are left-aligned to the frame they represent.

Timeline Status Bar

The status bar of the timeline provides the following information (Figure 10.5):

  • Current frame. Indicates the frame number whose contents are currently visible on the stage. Also indicates the current position of the playhead.

  • Frame rate. When your movie is not playing, this box displays the current frames-per-second (fps) setting for your movie. When your movie is playing in the authoring environment, this box (which is dynamically updated) reflects the actual playback speed. Actual playback speed can differ from the frames-per-second setting you selected in the Document Properties dialog box—often as the result of processor-intensive animation, which can cause your movie to slow in some segments.

    Figure 10.5Figure 10.5 The various elements of the timeline status bar.


    TIP

    Double-clicking the frame-rate area of the timeline status bar will open the Document Properties dialog box.

  • Elapsed time. Indicates the amount of time (in seconds) between the first frame of your movie and the current frame. The number is dynamically updated as you play your movie in the authoring environment.

Choosing the Proper Frame Rate

In one of the old I Love Lucy episodes, Lucy and Ethel get jobs packing chocolates into boxes as they come off an assembly line. In this classic TV scene, a malfunctioning conveyor belt begins spitting out chocolates faster then Lucy and Ethel can process them—so the gals resort to stuffing candies in their mouths to keep pace. A huge mess—and much hilarity—ensue.

The timeless lesson here is that faster is not always better. Although it would be nice if you could increase your movie's frame rate to create video-like transitions that never skipped, jumped, or appeared choppy, Flash's reliance on processor speed means this is not always possible. In fact, a higher frame rate can potentially harm your presentation.

Regardless of what frame rate you choose, the different processors used to play your movie can handle information only so quickly. And because there's such a great range of processor speeds out there, you can't possibly know just how fast that is. If a particular computer can render your movie properly at a maximum rate of 20 fps, setting Flash's fps to 100 won't improve matters. That computer will still show your movie at 20 fps—max. Although a faster computer may be able to play the same movie at 100 fps, few of us own the super machines capable of this.

So increasing a movie's speed doesn't help; in fact ,it could even slow things down .Here's how: Let's say your presentation is 10 seconds long. At 12 fps, there are 120 frames (10 seconds ´ 12 fps) that need to be played through from beginning to end. If you increase your fps rate to 20, you will have 200 frames from start to finish—or an additional 80 frames to draw over the course of your presentation. While slower computers can handle 120 frames over 10 seconds fairly easily ,those additional 80 frames could slow your movie to a crawl because they create more than 60 percent more work for the computer to perform in the same 10 seconds (or over the course of your presentation). As a result, you could end up with precisely the opposite effect you were trying to achieve!

So, what's a reasonable frame rate? The default setting of 12 fps is usually a good compromise, with 20 fps at the high end and 24 fps the absolute maximum you should consider ,in our opinion. The only exception might be if you were to export your Flash presentation as a video file such as QuickTime or Windows AVI. Because these formats are not as processor intensive, you can pump up the frame rate without too many problems.

Flash still allows you to produce impressive results within these parameters. There are many examples of beautiful and exciting Flash content on the Web that have been created using these same fps guidelines. All it takes is some planning.

Center Frame Button

If you click the Center Frame button in the lower left of the timeline, Flash centers the playhead's current frame position on the timeline. This means that if you scroll to Frame 900 of a 1,000-frame movie while the playhead remains on Frame 200, clicking this button will cause the timeline to quickly scroll back to Frame 200, with the play-head centered on the timeline display (Figure 10.6).

Figure 10.6Figure 10.6 Clicking the Center Frame button positions the playhead on the center of the timeline display.


Frame View Options

The Frame View button, which is located in the upper right of the timeline window, allows you to set different modes for viewing frames on the timeline. By clicking this button, you are presented with the following options:

  • Frame Width. Options include Tiny, Small, Normal, Medium, and Large (Figure 10.7).

    Figure 10.7Figure 10.7 The effect of the Frame Width setting on the timeline.


  • Frame Height. This option reduces the display height of frames on the timeline by 20 percent. If your movie contains a number of layers, choosing this option shrinks the entire stack of layers in a scene, so that more layers are displayed—and you can spend less time scrolling the timeline to access frames on a particular layer.

  • Tinted Frames. By default, sections of frames are tinted different colors to help you distinguish them. You can turn this option on or off (see the next section for more details).

  • Preview. This option causes the graphics on each frame in every layer to be displayed within the boxes on the timeline that represent frames. Flash automatically scales the graphics to fit within the frame boxes (Figure 10.8).

    Figure 10.8Figure 10.8 The graphics in each frame are scaled to fill the boxes representing frames on the timeline.


  • Preview in Context. This option is similar to Preview, except that graphics are scaled to reflect their size as they will appear in the overall movie (Figure 10.9).

    Figure 10.9Figure 10.9 The graphics in each frame, shown at their designated size within the overall movie, appear in boxes representing frames on the timeline.


Timeline Menu

The context-sensitive Timeline menu provides quick access to several timeline-related commands, including adding and deleting frames, defining frame properties, creating motion tweens, and more (Figure 10.10).

Figure 10.10Figure 10.10 The Timeline menu.


To display the Timeline menu:

  • Right-click (Windows) or Control-click (Macintosh) any frame on the timeline to make the Timeline pop-up menu appear, with the following options:

    Create Motion Tween. Uses the current frame's content to automatically create a motion tween. To do so, it converts all content into graphic symbols. We discuss this option in more detail later in the chapter.

    Insert Frame. Adds a regular frame after the currently selected one. If you select a range of regular frames, Flash will add that number of frames to the timeline. If you select a placeholder frame, Flash will add regular frames up to the point of the selected placeholder frame.

    Remove Frames. Deletes the currently selected frame. If you select a range of frames, this command deletes all of them.

    Insert Keyframe. Inserts a keyframe on the timeline, at the point where the cursor was located when you activated the menu. If a regular frame was at this position, the keyframe replaces it; if a placeholder frame was at this position, a keyframe is inserted and regular frames are added so that there are no placeholder frames prior to the newly inserted keyframe. A newly inserted keyframe starts out with the same content as the previous keyframe.

    Insert Blank Keyframe. Inserts a blank keyframe on the timeline at the position where the cursor was located when the menu was activated. This command executes in the same fashion as the Insert Keyframe command above.

    Clear Keyframe. Converts the selected keyframe to a regular frame. If a range of keyframes is selected, this command converts all of them.

    Convert to Keyframes. Converts the selected frame to a keyframe. If a range of frames is selected, this command converts all of them.

    Convert to Blank Keyframes. Converts the selected frame to a blank keyframe. If a range of frames is selected, this command converts all of them.

    Cut Frames. Cuts a frame or range of frames for pasting elsewhere. Copy Frames. Copies a frame or range of frames for pasting elsewhere. Paste Frames. Pastes any frames on the clipboard onto the timeline after the currently selected frame. If the clipboard contains a range of frames across multiple layers, these frames and layers will be pasted onto the timeline in their same relative positions.

    Clear Frames. Removes the graphical content of any selected frames. Select All Frames. Selects all frames on all unlocked and visible layers of the current scene. This is useful for duplicating entire scenes.

    Reverse Frames. Flips, or reverses, the positions of the currently selected range of frames. The result is reversing their playback order.

    Synchronize Symbols. Displays looped graphic symbols properly, even if the loop occupies an odd number of frames on the main timeline. For example, if you placed an instance of a graphic symbol with a timeline that looped every 10 frames on the main timeline to play over a stretch of 20 frames, it would loop twice without a hitch. If, however, you placed an instance of this same symbol on the main timeline to play over a stretch of 17 frames, it would loop once and then be abruptly cut off at Frame 17 during the second loop. By synchronizing symbols, you ensure that the graphic symbol will loop properly within the allotted frames on the main timeline.

    Actions. Opens the Actions panel so that you can add frame actions. Properties. Displays or hides the Property inspector.

    TIP

    Most of these commands are also available on the Insert and Modify > Frames menus on the menu bar. When selected, they affect the currently selected frame or range of frames.

  • + Share This
  • 🔖 Save To Your Account

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