Adobe
Products
Acrobat
Creative Cloud
Creative Suite
Digital Marketing Suite
Digital Publishing Suite
Elements
Photoshop
Touch Apps
Student and Teacher Editions
More products
Solutions
Creative tools for business
Digital marketing
Digital media
Education
Financial services
Government
Web Experience Management
More solutions
Learning Help Downloads Company
Buy
Home use for personal and home office
Education for students, educators, and staff
Business for small and medium businesses
Licensing programs for businesses, schools, and government
Special offers
Search
 
Info Sign in
Welcome,
My cart
My orders My Adobe
My Adobe
My orders
My information
My preferences
My products and services
Sign out
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out My orders My Adobe
Preorder Estimated Availability Date. Your credit card will not be charged until the product is shipped. Estimated availability date is subject to change. Preorder Estimated Availability Date. Your credit card will not be charged until the product is ready to download. Estimated availability date is subject to change.
Qty:
Purchase requires verification of academic eligibility
Subtotal
Review and Checkout
Adobe Developer Connection / Flash Player Developer Center /

Adobe Flash Player version checking protocol

by Damien Bianchi

Damien Bianchi
  • Global Strategies International

Created

13 March 2009

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
deployment detection Flash Player

Requirements

User level

All

A common issue with websites that contain SWF content is that search engine spiders cannot enter the site to crawl its content. It's like the website has a bouncer and the spider doesn't have proper identification to gain entry to the club. To prevent this scenario from happening, you need to ensure that all of your detection scripts for checking browser compatibility and Adobe Flash Player versions follow established best practices. This article walks you through the topics to watch out for and explains techniques you can utilize now to ensure that search engine spiders can walk right in your website's front door.

To get the most out of this article, you should have a knowledge of Adobe Flash technologies and an advanced understanding of web development techniques related to SWF-based websites and applications. You should also read Search optimization techniques for RIAs, which provides detailed explanations of the techniques and topics discussed.

Challenges with Adobe Flash Player version checking and search engines

Search engine spiders are actually rather delicate creatures. They can be thrown off by a wide variety of problems that we call spider traps. These barriers prevent spiders from crawling a site, usually stemming from technical approaches for displaying web pages that work fine for browsers but do not work for spiders. By eliminating these techniques from your site, you allow spiders to index more of your site.

Unfortunately, many spider traps are the product of JavaScript code that determines what version of Adobe Flash Player is installed, or whether the user's browser is compatible with the website. After all the budget and time that was invested to build your site, you don't want to hear that it shuts out search engines.

Review all the steps and detection scripts that are required before displaying the SWF content to your user:

  1. Is the browser compatible?
    1. Yes. Proceed to Step 2.
    2. No. Display alternative content. This is where the search spider will stop.
  2. Is Adobe Flash Player installed?
    1. Yes. Proceed to Step 3.
    2. No. Display the No-Flash Player alternative content. This is where the search spider will stop.
  3. Is the correct version of Adobe Flash Player installed?
    1. Yes. Display the content.
    2. No. Display the Adobe Flash Player Upgrade content or Adobe Flash Player ExpressInstall. This is where the Search Spider will stop.

If you want to see how many sites that feature SWF content actually block search spiders, simply do a search for "flash player required" and see how many results you find. There are millions of sites out there that show a message like "MyWebSite.com requires the Flash Player plug-in." Spiders are not web browsers, so they cannot interact with your site to download any software requirements. They can read only document formats, such as HTML and PDF files. So when they run into these software download requirements, they go elsewhere.

That said, technology does change and becomes more advanced every day. In fact, last year Adobe announced a major breakthrough with the release of optimized Adobe Flash Player technology (since dubbed "Flash Player for Search Engines"), which is essentially a "headless" version of Flash Player that can change states of SWF content and gain access to the text content residing within. For a quick overview of how Flash Player for Search Engines works, please watch Duane Nickull's video blog post about it.

Luckily, spiders become more sophisticated every year. Designs that trapped spiders a few years ago are now OK. Still, you need to keep up with spider advances to employ some cutting-edge techniques with your SWF content.

Techniques and best practices

The odds are that you're using the popular SWFObject 2 to embed your SWF content. If you're not, you should be. It's proven to be the most effective way to determine browser and Flash Player version compatibility.

Use the <noscript> tag instead of the <div> tag

If you are using the lastest version of SWFObject 2, you know that it will automatically put alternative SWF content into a <div> tag. For example:

<script type="text/javascript" src="swfobject.js"></script> <script type="text/javascript"> swfobject.embedSWF("myContent.swf", "myContent", "300", "120", "9.0.0"); </script> </head> <body> <div id="myContent"> <p>Alternative content</p> </div> </body>

The challenge with this is that in some cases using a <div> tag is really "hiding" content from the user. Many experts in the search industry have warned against hiding content from the user, which the search engine may determine as being a spam technique. For example, suppose your site was about basketball shoes, but you wanted to rank really well for football shoes. You could put the basketball shoes content in your main body content and put a hidden <div> tag containing information about football shoes.

There is no definitive documentation that says "do not use <div> tags", but the theory is that using the <noscript> tag to display the alternative content is a safer method because it is displaying the alternative content to users who do not have JavaScript enabled. Search engines cannot read JavaScript and it provides good accessibility, so it's a win-win situation:

<noscript> <!-- alternative SWF content --> </noscript>

For further details on the benefits and techniques of this method, see the Place SWF content in HTML source section of my article, Search optimization techniques for RIAs.

Avoid pop-up windows

Pop-up windows create unique headaches for search engines trying to crawl your site.

Because search spiders cannot see pop-up windows, structure your SWF content in a way that doesn't rely on pop-up windows.

Avoid using a "Launch Flash site" button on your index HTML file that launches a pop-up window containing your SWF content.

Create a robots.txt file

A robots.txt file is a good way to steer search engines away from irrelevant content. See the Create a robots.txt file section of my article, Search optimization techniques for RIAs, to learn more.

This plain-text file that you place in the root directory of your web server tells the spider what files it is allowed to look at on that server. It's a simple way to control what content you want the search engine to crawl.

Visit the Creating a robots.txt file page on Google Webmasters Help for additional documentation.

Where to go from here

Here are the steps you need to take to make sure your website is structured in a way that does not block search engines from crawling your SWF content:

  1. Use the latest version of SWFObject 2.
  2. Use the <noscript> method instead of <div> tags for displaying your alternative SWF content.
  3. Avoid pop-up windows.
  4. Create a robots.txt file and place it in the root directory of your server.
  5. See the Optimizing SWF applications to improve search ranking section of my article, Search optimization techniques for RIAs, for additional ways to make your SWF content search-friendly.

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License.

More Like This

  • Detecting Flash Player versions and embedding SWF files with SWFObject 2
  • Exploring full-screen mode in Flash Player
  • Experiencing Flash Player Express Install
  • Introducing Adobe Flash Player Background Updater for Windows
  • Future-Proofing Flash Player Detection Scripts
  • White paper: Adobe Flash Player 10 security
  • Adobe Flash Player Administration Guide for Flash Player 11.3

Products

  • Acrobat
  • Creative Cloud
  • Creative Suite
  • Digital Marketing Suite
  • Digital Publishing Suite
  • Elements
  • Mobile Apps
  • Photoshop
  • Touch Apps
  • Student and Teacher Editions

Solutions

  • Digital marketing
  • Digital media
  • Web Experience Management

Industries

  • Education
  • Financial services
  • Government

Help

  • Product help centers
  • Orders and returns
  • Downloading and installing
  • My Adobe

Learning

  • Adobe Developer Connection
  • Adobe TV
  • Training and certification
  • Forums
  • Design Center

Ways to buy

  • For personal and home office
  • For students, educators, and staff
  • For small and medium businesses
  • For businesses, schools, and government
  • Special offers

Downloads

  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR
  • Adobe Shockwave Player

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2012 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy Policy and Cookies (Updated)

Ad Choices

Reviewed by TRUSTe: site privacy statement