Actionscript exercise with a line connecting movable movieClips. Flash Example
actionscript // 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 [...]Tag Archives: open source
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: onClipEvent (load) [...]Posted in portfolio, tutorial Also tagged actionscript, as2, experiment, flash, interactive Leave a comment












Bruce Brownlee