This file was selected as an ACTIVEDEN FILE OF THE WEEK !
WHAT IS CURVFLOW ?
CurvFlow is a built-from-scratch custom class (AS3) that no Flash animator should do without! CurvFlow instantly creates randomly flowing animated objects with only a few lines of code. Using it will cut your development time down to a fraction.
HOW DOES CURVFLOW WORK ?
CurvFlow works by creating multiple “curveTo” lines in close proximity to simulate a shape much like the way individual threads make up a piece of fabric. It then dynamically curves those lines in unison to create the appearance of a larger flowing shape.
CurvFlow includes four basic “building block” shapes: the wedge, the inverted wedge, the span, and the ponytail (see preview above for how these shapes can be applied).
WHY DO I NEED CURVFLOW ?
Traditionally, animated objects similar to those created with CurvFlow would be created using shape tweens and/or frame-by-frame animation. Depending on the complexity of a project and the number of animated objects, this old method might require hours of development time to create and modify multiple objects until they seemed to animate randomly. Subsequent tweaking and revisions was likely a painstaking process.
With CurvFlow, you can set up your animation with only a few lines of code and change animation settings on the fly. This will save you hours of development time.
HOW MUCH CODE DO I NEED TO WRITE ?
A single animated CurvFlow element can be created using only this much code:
var myCF:Sprite = new CurvFlow(type, length, width, longGradient, fillColor, fillVis, endCapDepth, endCapVis, endEdgeVis, edgeColor, edgeVis, edgeThickness, maxRotation, maxAmplitude, speed);
Compare this to the effort required to create a similar animation by hand (which, at best, would probably loop, not flow randomly).
WHAT CAN I MAKE WITH CURVFLOW ?
Here are just a few ideas… a piece of fabric flapping in the wind, fire, a lizard tail, a wavy water surface, leaves on a tree, a tongue, tentacles, tall grass blowing, a horse’s mane, a ponytail, a character’s blowing hair, etc. etc…
When was the last time you easily animated hair? Have you ever wanted a gradient fill to flow and move with a shape? CurvFlow can do it. CurvFlow supports gradients lengthwise or widthwise.
WHAT ’S INCLUDED IN THE CURVFLOW DOWNLOAD PACKAGE ?
- CURVFLOW .AS – The custom class file programmed in ActionScript 3.0
- INSTRUCTIONS .PDF – A complete set of instructions (with illustrations)
- CURVFLOW ANIMATOR ’S START UP KIT ! – In addition to the custom CurvFlow class, you get over a dozen pre-designed CurvFlow animations (FLA and SWF formats) that are ready for immediate use (or modification). All of these animations are included in their own movieclips and are ready to be dragged-and-dropped into your project. Many of these animations could be sold as separate files, but they are all included!
(Most of the animation examples from the preview above are included: sun rays, colored pennant flags, field of grass, horizontal/vertical bar flags, simulated 3D shading, walking fuzzball, wavy ocean, fire, horse mane & tail, and five examples of character hair.)