Search Form:

thetainteractive.utilities.History

"History" -- a wrapper class for unfocus's HistoryKeeper. We here at theta use flash, and unfocus is cool. The FlashSuite is way too complicated, especially since ExternalInterface is on the scene. So, using ExternalInterface, and HistoryKeeper, we now have a super clean, super easy to use Flash-Based-History-System.

Requirements

unFocusHistory-p.js -- or any derivative of unfocus HistoryKeeper

History.js -- the Javascript wrapper

History.as -- the Actionscript 2.0 class file

Download Source

project.zip -- the entire project source including an FLA.

Outstanding Issues

Safari does not allow back/forward. For some reason, the unFocus.History.addHistory() method is not registering history states only when the call originates from the swf. However, when called from a hard-coded anchor (i.e. try clicking this), they register just fine. Maybe i am using a version of HistoryKeeper that isn't creating anchors for Safari.

On Another Note

if you think you can improve, by all means do so. i havent compressed or unified the javascript, but once it's in a final state, i think we could make it a single js file. Also, this works perfectly well with SWFObject, or anything else. View Source to see the interface for it. If you use or modify, let me know about it.