SWFAddress

From Wikipedia, the free encyclopedia
Jump to: navigation, search
SWFAddress
Asual-swfaddress.jpg
Developer(s) Rostislav Hristov from Asual, Matthew Tretter, Max Tafelmayer, Piotr Zema
Initial release November 2006
Stable release 2.4 / October 7, 2009; 4 years ago (2009-10-07)
Development status Stable
Written in JavaScript
Platform Web browser
Size 16 KB (output JS file)
Available in English
Type JavaScript library
License MIT License
Website http://www.asual.com/swfaddress/

SWFAddress is an open-source JavaScript library that enables Adobe Flash/Flex and JavaScript/AJAX websites and web applications to support deep linking, a practice that enables users to link to a specific section or page of the content.[1]

Its importance is because such Rich Internet Application platforms provide only a single URL to access the specific content, and any user navigation within the content cannot be uniquely identified, or shared by means of the URL.

When the developer of the content integrates with SWFAddress, users are able to use standard browser navigation functionality, share and bookmark unique URLs that represent the currently displayed section or state of the content.[2]

The library is commonly used on Flash websites and web applications being the only available deep linking JavaScript library for Flash on the web.[citation needed] SWFAddress has been found to be used by over 100,000 websites as of 2011.[3]

Functionality[edit]

SWFAddress uses the "hash" portion of the URL to interact with web browsers and simulate page navigation, and works in two ways:

  1. When the user navigates within the content, it simulates a page navigation so browsers display the appropriate URL and page Title.
  2. When the URL changes in the browser, either by users pressing Back/Forward or typing a specific deep link URL, it informs the content to navigate appropriately.

The library is built to integrate with the free Google Analytics web analytics system in order to record page view statistics and track popularity of individual pages, as the viewer navigates through the virtual pages or states of the content.[4][5] It also integrates with the popular SWFObject JavaScript library to automatically enable deep linking on content loaded with the same.[6][7]

SWFAddress works with all major web browsers on all major operating systems. It can be integrated with Flash content written in the outdated ActionScript 1, the recent ActionScript 2, or the latest ActionScript 3.[8] [9]

References[edit]

See also[edit]