QueryParameters is a utility that is meant for working with query strings in actionscript. It extends the extremely versatile Parameters class, and what it does is fairly simple, yet very useful. It is an object which is automatically converted to a query string. All methods which add/remove properties are overridden to make sure property names and values are always valid Strings ready for use in a URI. All properties may be added like it was a generic object, yet all the extended functionality of the Parameters class is also included like indexing, values, and a length property. In the end, all you need to know is that this class is for working with strings, specifically query strings, and that it does its job well.
This class can be described best as an indexed Object. This means that all the properties may also be accessed through an index, as well as directly calling the property name. It is just about as open ended as a class can get while still maintaining some kind of a structure. It is dynamic , but also extends Proxy in order to control the properties. It is not a Dicitonary, and it is not an Array, but a kind of mix between the 2.
Everyone always wants to make a count down to something. This is a class that attempts to enlose all the functionality that is usually needed to achieve this task. There a so many examples and tutorials out there for creating a count down, that I won’t bother explaining much here. I will go into a little about the details of THIS class though.
Flash of course has built-in styles for line strokes, but none of them accomplished what I needed that CSS seems to do so intelligently. This is a simple dashed line drawn pixel for pixel with no antialiasing. This class attempts to make this process easy to use and control.
So far everything done in the series “Working with vectors” have been utilities to help with the calculation of trigonometric values. Now we will apply it to something that will be displayed, a MovieClip! Or in this case, what I call a VectorClip. Continue reading →