Tag Archives: open source
Dynamic Flash Vertical Scrolling Link List with XML
As seen at
Posted in portfolio Also tagged actionscript, animation, as2, download, experiment, flash, flashDen, interactive, xml 12 Comments
Rollover elastic bounce rezise
Flash experiment that could be used for navigation. Rollover each area and watch them all resize themself to accomodate the growing box. It’s pretty fun to play with.
Example
I’m sure there is a way to simplify the code, but this worked so there was no need.
Actionscript
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130import mx.transitions.easing.*;
import mx.transitions.Tween;
var normWidth:Number = [...]
Posted in portfolio Also tagged abstract, actionscript, animation, as2, color, experiment, flash, interactive 4 Comments
Dynamic Scrolling Buttons
Here’s an example. A dynamic scroll, that changes speed according to your mouse. Here is the code for it as well, I tried to keep it pretty generic, just put this onto a movie clip I named “scroll.” And change the variables to fit your needs. Enjoy, and let [...]
Posted in portfolio, tutorial Also tagged actionscript, as2, download, experiment, flash, interactive, tutorial 13 Comments
Gravity
A variation of the gravity with throwable ball experiment. It has optional gravity.
Click the ball to drag and release to drop or throw it.
Press the space bar to add more balls (up to 30).
Press the down arrow to turn gravity off, and pres the up arrow to turn it back on.
You can make some [...]
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);
[...]






















Get current url to Flash swf using an External Interface call