Posts Tagged ‘flash’

Package: Metrics

February 14th, 2008

Author: Michael Krotscheck

Category: Libraries

Tags: , , , , , ,

The Metrics package was designed to provide a simple, reusable, extensible and flexible interface to any web metrics package, including Google Analytics, Urchin, Omniture, WebTrends and more. It supports multiple connector management, instantiating only those registered connecters that are successful at autodetecting their environment. If a developer does not know in advance which metrics package his client is using (or whether his client might change his mind at a later time), he may safely add several connectors secure in the knowledge that the package will do the heavy lifting. Additional functionality allows you to “hot-swap” connectors should that become necessary, though I myself don’t exactly know why you’d want to do that.

At this point in time, the only connector published with this library is the UrchinConnector. Google Analytics and WebTrends will follow shortly, however due to my employers’ client agreements I find it prudent to not release connectors for API’s that are considered proprietary (such as Omniture) unless I have a formal letter granting me legal permission to do so.

No Comments | Read More »

Library: PracticalSprite

January 22nd, 2008

Author: Michael Krotscheck

Category: Libraries

Tags: , , ,

I saw the need to create my own sprite class because both Flash and Flex’s method of handling basic component functionality were contained in two completely different classes, both of which happen to be named the same thing. Given that I could at no time guarantee that a developer would have access to the codebase of either, it became necessary for me to roll my own. This way, at least, I can do cross-platform development without having to force my users to a particular dependency. Unfortunately, this class won’t fully solve the problem until Flex 3 is released as open source, since for proper usage in Flex this will have to implement IUIComponent, and that’s still licensed.

No Comments | Read More »

Library: SCORMJavascriptInterface

January 14th, 2008

Author: Michael Krotscheck

Category: Libraries

Tags: , , , ,

The SCORMJavascriptConnector acts as a transparent implementation of the SCORM RTE API. Its intent is to be a ‘dumb’ connection bridge that automatically generates any necessary communication javascript within the encapsulating HTML DOM, finds the LMS API, and passes information back and forth from the same. Note that this class is written with the assumption that a SCO developer may choose to call Initialize(”") and Terminate(”") from a different location or instance of this class, and so does no connectivity checking or automatic state management. Documentation for the individual functions derived from the SCORM 2004 3rd Edition Runtime Environment Documentation available at http://www.adlnet.gov/.

No Comments | Read More »

Library: JavascriptController

December 12th, 2007

Author: Michael Krotscheck

Category: Libraries

Tags: , , , ,

The JavascriptController class simplifies many operations that a developer would use to access and interface with the javascript environment. Setting variables on an instance of this class automatically passes through to the javascript environment and back. Similarly, calling methods on an instance of this class calls a method of the same name in the encapsulating HTML. Additionally, you can use this class to write methods into the javascript environment by using the registerMethod() method. Please be aware of the security restrictions imposed by the method in which the flash file is embedded in the HTML page.

No Comments | Read More »