Browsing all articles in Javascript

Embed Flash content using SWFObject

SWFObject is an easy-to-use and standards-friendly method to embed Flash content, which utilizes one small JavaScript file.


What is SWFObject?

  1. Offers two optimized Flash Player embed methods; a markup based approach and a method that relies on JavaScript
  2. Offers a JavaScript API that aims to provide a complete tool set for embedding SWF files and retrieving Flash Player related information
  3. Utilizes only one small JavaScript file (10Kb / GZIPed: 3.9Kb)
  4. Is the successor of SWFObject 1.5, UFO and the Adobe Flash Player Detection Kit
  5. Intends to unify all existing Flash Player embed methods and provide a new standard for embedding Adobe Flash Player content

Why should you use SWFObject?

  1. Is more optimized and flexible than any other Flash Player embed method around
  2. Offers one solution for everybody: It shouldn’t matter if you are an HTML, Flash, or JavaScript developer, there should be something in it for everyone
  3. Breaks the cycle of being locked into vendor specific markup and promotes the use of web standards and alternative content
  4. Uses unobtrusive JavaScript and JavaScript best practices
  5. Is easy to use

Why does SWFObject use JavaScript?

    SWFObject 2 primarily uses JavaScript to overcome issues that cannot be solved by markup alone; it:

  1. Detects the Flash Player version and determines whether Flash content or alternative content should be shown, to avoid that outdated Flash plug-ins break Flash content
  2. Offers functionality to revert to alternative content in case of an outdated plug-in by means of a DOM manipulation (Note: if no Flash plug-in is installed the HTML object element automatically falls back to its nested alternative content)
  3. Offers the option to use Adobe Express Install to download the latest Flash Player
  4. Offers a JavaScript API to perform common Flash Player and Flash content related tasks

SWFObject related links

» Download SWFObject
» SWFObject API
» Documentation SWFObject


Top Javascript Librarary

JavaScript was originally developed by Brendan Eich of Netscape under the name Mocha, which was later renamed to LiveScript, and finally to JavaScript. LiveScript was the official name for the language when it first shipped in beta releases of Netscape Navigator 2.0 in September 1995, but it was renamed JavaScript in a joint announcement with Sun Microsystems on December 4, 1995

A JavaScript library is a library of pre-written JavaScript which allows for easier development of JavaScript-based applications, especially for AJAX and other web-centric technologies.

Below is the list of top javascript library.

» Jquery
  Official Website Link :
» Jquery UI
  Official Website Link :
» Dojo
  Official Website Link :
» Closure Library (google)
  Official Website Link :
» Mootools
  Official Website Link :
» Ext Core
  Official Website Link :
» Prototype
  Official Website Link :
  Official Website Link :
» SWF Object
  Official Website Link :
» Yahoo User Interface Library (YUI)
  Official Website Link :
» SproutCore
  Official Website Link :
» Spry
  Official Website Link :
» JavaScriptMVC
  Official Website Link :
» qooxdoo
  Official Website Link :
» midori
  Official Website Link :
» Archetype JavaScript Framework
  Official Website Link :
» June Framework
  Official Website Link :
  Official Website Link :
» SimpleJS
  Official Website Link :

If anyone know more javascript library or framework then share with us. Thanks