Tag Archives: as2
Drag Line
Actionscript exercise with a line connecting movable movieClips.
Flash Example
actionscript
1234567891011121314151617// get x and y coordinates of the circles
var ax = _root.point1._x;
var ay = _root.point1._y;
var bx = _root.point2._x;
var by = _root.point2._y;
var cx = _root.point3._x;
var cy = _root.point3._y;
// draw line between them
_root.createEmptyMovieClip ("line", 0);
with (_root.line){
lineStyle (1, 0x999999, 100);
moveTo (ax, ay);
[...]
Posted in portfolio Also tagged actionscript, experiment, flash, interactive, open source Leave a comment
Multiple Targets
An actionscript exercise. Trying to get a movie clip to go to the closest dynamically created target. Click the button to make more targets. Dragable targets. Move the targets around to see the ball’s target change.
Example
actionscript
Here’s the actioscript for the little ball:
123456789101112131415161718192021222324252627282930313233343536373839404142434445onClipEvent (load) {
//random [...]
Posted in portfolio, tutorial Also tagged actionscript, experiment, flash, interactive, open source Leave a comment
Mothorax
A website with an alternative navigation philosophy. The site is a game you must “play” in order to see the content. Use the arrow keys to move around.
Sniff
A nice effect. Do you smell something funny? Click to attract the nose. Achieved with an animated mask over a movie clip that grows to reveal the face. And generating new layers of the face continuously!
Weather Forcast
Forecast for your zip code, like the real meteorologists do it! Guessing!
Error
A little prank. No worries!
3D Walls
A navigation idea creating a navigatable 3D space. Mouse over the walls to either side.























Gravity