ImageViewer 2 Update

After having someone ask about ways to hide the ImageViewer I decided to added a few new methods. The ImageViewer2 now supports a fadeOut() and fadeIn() method. These animate the _alpha of the ImageViewer container clip. Use fadeOut() to make an ImageViewer fade out to…

Make_3d Class Examples

Here is a class I created at extends movie clip. It adds properties that allow you to position movie clips in 3d space. The class is pretty simple with just a few properties and methods. If you’re looking for a featured 3d class that generates…

Simple ScrollBar class update

I updated the simple Scrollbar class with a few new features. It now has a horizontal scroll option. Setting this option allows the scrollbar to scroll horizontally. You can now set the position of the scroll bar using the setValue() method. It also has an…

SineWave and DrawSine Classes

These two classes create a wave form made up of one or more sine waves. The waves are all added together and dawn as a single composite wave. DrawSine Class The example below shows one SineWave. Clicking the mouse on the example adds another. Notice…

SinWave Class Update

I updated the SinWave class with a few new methods and added some minor improvements. You can now set the number of cycles for the wave. I also added the option to render the SinWave with a fill. See the description for SinWave.

AS 3.0

AS 3 is looking to be pretty different from AS 2. I found this excellent article on Getting Started with AS 3. Recommended reading for anyone that want to get an idea of what’s new and different between AS 2 and 3.

ImageStreak Class

Here is a class that loads an image and then draws it onto the stage as horizontal streaks. This borrows some from the ImageViewer. This example makes use the BitmapData class for pixel manipulation. ImageStreak Class [kml_flashembed movie="examples/ImageStreak/ImageStreak1.swf" height="300" width="400" /] The ImageStreak class supports…

ImageViewer 2

I’m trying to get caught up in my understanding of AS 2.0. With AS 3.0 here already I thought it would be good if I was only one version behind instead of two. I got out my copy of Essential Actionscript 2.0 by Colin Moock….

Sliding Drawers

Here is an example that creates a series of movie clip buttons that slide to the left revealing content. I have included several variations on the idea in the example files. In the first example the content images are kept within the movie. In the…

SinWave Class

SinWave Class I have been trying to get caught up with AS 2.0, so I have been trying to make up some simple classes to practice with. Nothing too complex just something to get a better handle on using classes. the SinWave class draws a…