My Classes

AS2: Environment

View Documentation Download Class A small utility class that allows you to set debug and live path variables for local and remote testing without having to toggle anything.


AS2: GoogleAnalyticsUtils

View Documentation Download Class GoogleAnalyticsUtils is a utility class to easily track your clicks using Google Analytics. The class allows you to track in the old Urchin format or the new Event format as well as tracking with the old AS2 “javascript” calls or tracking with the new ExternalInterface API.


AS2: AgeChecker

View Documentation Download Class I had a need to do some age checking on the project that I’m currently working on. I figured there had to be something out there for this already and I googled away for an age checker in Flash. I found a very handy little function written by Calvin Ly and […]


AS2: SharedObjectManager

View Documentation Download Class A simple utility to manage shared objects and their properties. PLAIN TEXT Actionscript: import mx.events.EventDispatcher; import mx.utils.Delegate;   /** * A simple utility to manage shared objects and their properties. * * @usage * <code> * <pre> import com.reintroducing.utils.SharedObjectManager; var som:SharedObjectManager = new SharedObjectManager("userData"); som.setProperty("hasVisited", "yes"); trace(som.getProperty("hasVisited")); * </pre> * </code> […]


AS2: AxisScroller v2.0

View Example View Documentation Download Class & Example Files This is the latest update to the AxisScroller. This update adds a new optionalParameter, continuousScroll, which allows you to scroll (if the arrows are active) continuously by just pressing down one of the arrows. There is also a new method, reset(), that resets the scroller and […]


AS2: MousePositionPanel

View Example View Documentation Download Class & Example Files Creates a scrolling panel that allows for scrolling in the x or y axis depending on where the mouse pointer is within the panel. PLAIN TEXT Actionscript: /** * Creates a scrolling panel that allows for scrolling in the x or y axis depending on where […]


AS2: ContactForm

View Example View Documentation Download Class & Example Files Creates a communication gateway between a contact form and a PHP script that checks for validity and sends the email. The e-mail checking is rudimentary at best, but it gets the job done. If someone will go through the trouble to try and break this e-mail […]


AS2: AxisScroller

View Example View Documentation Download Class & Example Files Creates a scroller that allows for scrolling in the x or y axis, using the mouse wheel/arrow keys, different easing functions and types, and some other miscellaneous cool things. PLAIN TEXT Actionscript: import mx.utils.Delegate; import mx.transitions.easing.*; import mx.transitions.Tween;   /** * Creates a scroller that allows […]


AS2: PullOutMenu

View Example View Documentation Download Class & Example Files Creates a menu like the classic dropdown menu with the options to direct it up, down, left, or right depending on values set. PLAIN TEXT Actionscript: import mx.transitions.easing.*; import mx.transitions.Tween; import mx.utils.Delegate;   /** * Creates a menu like the classic dropdown menu with the options […]


AS2: StageManager

View Example View Documentation Download Class & Example Files Creates an instance of the StageManager that aligns clips according to their selected alignment mode. Also dispatches an event, onStageResize, that allows for futher manipulation of clips to the stage sizing. PLAIN TEXT Actionscript: import mx.transitions.easing.*; import mx.transitions.Tween; import mx.events.EventDispatcher;   /** * Creates an instance […]