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

Home > Articles > Design > Adobe Creative Suite

This chapter is from the book

SWF Export Options

SWF (pronounced swiff) is a format that, like PDF, can be used for the presentation of the entire InDesign file, with transitions from page to page.

In addition to the movies, sounds, and buttons found in PDF files, SWF files (commonly called Flash files) can contain the animations of page items from InDesign. SWF files cannot, however, contain PDF forms. As easy as it is to create these SWF animations and pages, you are somewhat limited as to where you can use them.

  • The native animation effects won’t play in exported PDF files. They have to be exported as SWF videos and then placed on the InDesign page (see Chapter 8, “Interactive PDFs”).
  • Apple doesn’t support the SWF format for its iOS devices, such as the iPad and iPhone.
  • Adobe no longer makes the Flash Player that runs SWF files on Android devices.
  • InDesign animations need to be converted to HTML5 in order to be used in DPS apps.

Despite these limitations, there are still legitimate reasons to convert InDesign documents to SWF files.

  • They are very easy to create, without the need to learn any code.
  • They create exciting presentations that can be played on a desktop computer or on a website. One of us worked with a client who created a private URL for a SWF presentation pitch to a client. The presentation used InDesign’s animation effects with great success.

To export an InDesign document as a SWF file, choose File > Export and then choose the Flash Player (SWF) format The Export SWF dialog appears.

03fig23.jpg

Click to view larger image

The Export SWF dialog set for the General options.

General tab

Click the General tab to display the first half of the Export SWF dialog. These are the basic options, most of which will be familiar from other InDesign export dialoges.

Export: controls how many and which pages you want to export. Choose All Pages or Range to export all the pages in the document or a range of pages. In addition to exporting pages, you can convert just the selected objects on a page into a SWF file by clicking the Selection radio button.

As mentioned, SWF files are great for web pages. However, in order to be seen within a computer’s web browser, they need to be inserted into an HTML page. The Generate HTML File command creates a separate HTML file that contains the code necessary to insert the SWF into a web page.

Once you choose to generate the HTML file, you can then select the option View SWF after Exporting. You can’t select that option without generating the HTML file. The HTML file will always be used to open the SWF in the default browser on your computer. (Your default browser is whatever browser you selected in your computer or browser settings.)

The browser must have the Flash Player extension installed in your browser to play the SWF file. If you have trouble playing SWF files, go to http://get.adobe.com/flashplayer/. That page will read your operating system and browser and display the correct download for your computer.

Size (pixels): lets you change the dimensions of the SWF. You can choose to scale the animation by entering an amount in the percentage field or you can use the Fit To menu to choose from some of the more common monitor dimensions, such as 1024 x 768 or 1280 x 800. You can also use the Width and Height controls to pick a specific size. Changing the dimensions of the SWF is very helpful when you need a presentation to fit precisely in a specific monitor resolution.

Background: controls what is behind the elements of the SWF file. Paper Color uses the color Paper from InDesign’s Swatches panel. Use this setting when you want the animation to be easiest to read or to stand out from the browser. Transparent allows the background color of the web page to show in the empty areas of the animation. Choose this when you want the animation to blend in to the rest of a web page.

Interactivity and Media: is the same as the one for exporting a PDF (covered in Chapter 8, “Interactive PDFs”). Select Include All to keep hyperlinks, buttons, and media active in the SWF. Choose Appearance Only to keep only the graphics for those items, without the interactivity.

Page Transitions: allows you to control the transitions applied to pages in the document. (For more on page transitions, see Chapter 8, “Interactive PDFs.”) From Document keeps the transitions applied to the document. The None option turns off any transitions that were applied. You can also choose a new option from the transitions list to change the transition applied to all the pages.

Advanced tab

The Advanced tab of the Export SWF dialog lets you control additional options, including timing, text conversion, image resolution and compression, and font embedding.

03fig24.jpg

Click to view larger image

The Advanced tab of the Export SWF dialog.

Frame Rate: controls the smoothness of the animation. The higher the number, the more smoothly the animation will play.

Text: lets you choose one of three settings for how text is handled in the exported SWF. When you choose Flash Classic Text, the text is kept as font (vector) information, which makes the file size small. However, there may be times when the font information doesn’t translate correctly to the exported SWF. This causes certain characters to be dropped from the text or to be converted to the wrong glyphs.

In those situations, choose one of the other options in the Text menu. Convert to Outlines converts the fonts to their vector shapes. This option increases the file size slightly. Most likely this will solve your missing characters or glyph problems.

However, if you still have problems, choose Convert to Pixels. This rasterizes the text from vectors to a bitmapped image, which results in a larger file. This option should only be used as a last resort, when converting to outlines doesn’t work correctly.

Embedded Fonts (Flash Classic Text only): If you’ve got text in your document, you’ll see a list of the fonts at the bottom of the dialog that have been embedded in the file. Most of the time, this will be a complete list of all the fonts in your document. However, some font publishers put code in their fonts that prevents them from being embedded in a file for export in a streaming animation. If that happens to your text, you need to change the font. Check the licenses of the fonts you are using for more information on what you can and cannot do with the font. For instance, you may be tempted to convert the font to vectors or pixels to avoid font licensing problems. But even that may be prohibited by the font licensing agreement.

Options: If you want a bitmapped picture of your animation that doesn’t move, doesn’t respond to mouse clicks, and basically just sits there like a bump on a log, select Rasterize Pages. The option removes all interactivity from your exported SWF. It is used for multi-page documents that are going to be presented using Flash Player. And even then, you should only apply the setting if you can’t get the SWF to work correctly without the option applied. Basically, it’s a last-resort measure to get the SWF to export. Because the option converts vector objects into bitmapped images, the option also increases the file size of the SWF.

The same warnings apply to the Flatten Transparency option. This setting removes all motion and interactivity from the document. It should be used only if the transparency effects, such as drop shadows or transparency PSD files, aren’t exporting correctly in the SWF. It can’t be used for motion animations, but it can be used for multi-page presentations.

Image Handling: for exported SWF files are the same as the options for exporting images in a PDF. (See Chapter 8, “Interactive PDFs” for more information on these settings.)

Previewing without exporting

You may want to check the result of various options as you apply them in the Export SWF dialog. If you export a file each time, you will constantly have to go through the steps to create a SWF, and you may also litter your desktop with files as you test the export settings.

As discussed earlier in this chapter, you can use the SWF Preview panel to preview animations or presentations. You can also choose Test in Browser from the SWF Preview panel menu. This opens your default browser and displays the animation without creating a file.

Exporting FLA Files

There is one more option for working with animation files. Instead of exporting as a SWF that is ready to be placed into a web page or PDF, you can export the document as a native Flash (FLA) file. This is the format that Flash developers use to create their Flash web pages and games.

Choose the Flash CS6 Professional (FLA) from the export format menu. The Export Flash CS6 Professional (FLA) dialog appears. These are the same settings as the Export SWF dialog with two differences. An additional option for text, Flash TLF (Text Layout Framework) Text, is offered for the Flash developer. If you choose the Flash TLF option, Insert Discretionary Hyphen Points is available. This prepares your text so it can be hyphenated.

Now before you get too excited about exporting as FLA files, be aware that the presets, timing, and actions for the animation are not converted as expected. Each spread is mapped to a new keyframe, and animations are visible in the Flash Library only as movie files that are set to loop continuously. This makes the file extremely complicated to edit.

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