The Rubber Line
AS2, Flash | A neat little AS2 script using OOP

This script draws a line using the curveTo() function, but bounces like an elastic each time it is dragged. This script has two versions: one with a static, horizontal line; and the second hangs like a piece of string.
Check out the hanging version at White Pine Lodge, one of our clients. Or download the static or string-type source.
Posted by Adam on 16.02.2009.
Polaroid Photo Gallery
AS2, Flash | Party like it's 1989

This photo gallery engine produces what looks like a number of Polaroid-style photos that overlap on top of each other. When the photo is clicked on, it expands and the photos stop producing. On a second click, the photo shrinks to it's original position and the loading continues.
The photos are generated from an XML file. Click here to download.
Posted by Adam on 10.02.2009.
Panel-Style Menu
A class that creates a menu from an XML file

This is the class used in my personal site: http://www.north43design.com/adam/. It creates a menu with a background colour, image, and internal swf. See the XML below to see the format. Download class here
1. Constructor
new panelMenu([xml file to load]:String, [movieclip to load into]:MovieClip, [full window panel menu]:Booleen, [height]:Number, [width]:Number, [title font format]:TextFormat, [title hover font format]:TextFormat)
The class can be created through the following script:
var txtFmt:TextFormat = new TextFormat();
txtFmt.color = 0xFFFFFF;
var txtFmt_hover:TextFormat = new TextFormat();
txtFmt_hover.color = 0x000000;
var panelMenu:panelMenu = new panelMenu("xml/menu.xml", panelHolder, false, 350, 500, txtFmt, txtFmt_hover);
2. XML Format
<item>Each panel
<title>Here's a title</title>Title panel
<bgcolour>0xFF0000</bgcolour>Background colour of panel
<bgimage>images/image.jpg</bgimage>Background image of panel
<swf>swfs/flash.swf</swf>Swf for panel to load
</item>
</content>
3. Notes
When using a full screen version, height and width variables should still be entered in the constructor, although they have no impact on the functionality of the menu ie. new panelMenu("xml/menu.xml", panelHolder, true, 0, 999999999999, txtFmt, txtFmt_hover)
Posted by Adam on 25.02.2009.
Our Links
North43 DesignOur Latest
Client Login
Terms of Use
Categories
View AllNews
Samples
Tutorials
Archive
This MonthLast Month
March 2009
February 2009
January 2009
