Skip to content

Error proofing SWFAddress

by Colin on March 21st, 2010

SWFAddress is a great library which all flash sites should incorporate. However, giving the user control of changing the URL address can break your site. Because many flash websites don't check for this, the user is often left not viewing content.
I created a utility class to do the following:

  • Navigate a website based off valid deeplink possibilities.
  • Enable multiple URL values for a single page.
  • Check for valid URL requests, then act accordingly.
  • Set a default homepage so the website doesn't redirect you to a "/#/homepage".

The last item in that list has become a pet peeve of mine. In my opinion, a website shouldn't auto-direct you to a "yoursite.com/#/home". It should keep the homepage URL until there's user interaction (such as clicking a link).

Source - Online Example

From → Flash

No comments yet

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS