By Sham Bhangal
Book Price: $24.95 USD
£17.50 GBP
PDF Price: $19.99
Cover | Table of Contents | Colophon
http://www.oreilly.com) where I was greeted
by the little critter—I'm told
it's a tarsier—shown in Figure 1-17. The filename is
oreilly_header1.gif, which is typical of slices
created for an HTML-based table, so I knew I had a GIF I could work
with. Anyway, I kept looking at him, given that he looks so cute, and
then I blinked. He blinked back. After the surprise and obligatory
double take, I realized he's an animated GIF.
http://www.medialab.com/psd2fla) from Media
Lab, simplifies the process considerably. Director developers will
recognize Media Lab as the maker of PhotoCaster, the well-respected
and popular Xtra that imports PSD files into Director.
http://www.flashforward2004.com), Josh Davis
talked about what made him tick. To paraphrase his 45-minute
presentation into a single sentence, he said, "Look
at nature, and see what it throws up at you, and then think what you
can do with the result."
delete (this.onEnterFrame);
this.onEnterFrame = sway;
wind value
that is added to each branch every frame using our new
sway( ) function:function sway( ) {
this._rotation += wind;
}
transToBlack ={ra:100, rb:-255, ga:100, gb:-255,
ba:100, bb:-255, aa:100, ab:0};
transToWhite ={ra:100, rb:255, ga:100, gb:255,
ba:100, bb:255, aa:100, ab:0};
function trans(targetClip, frames, targetTrans) {
var transCol = new Color(targetClip);
// Get the current color transform applied to the clip, if any
var getTrans = transCol.getTransform( );
var diffTrans = new Object( );
// Calculate the differences for each of the 8 properties
// and store them in the diffTrans color object.
for (var i in targetTrans) {
diffTrans[i] = (targetTrans[i]-getTrans[i])/frames;
}
targetClip.onEnterFrame = function( ) {
var getTrans = transCol.getTransform( );
for (var i in diffTrans) {
getTrans[i] += diffTrans[i];
}
transCol.setTransform(getTrans);
frames--;
if (frames == 0) {
// Explicitly set the target transform just in case the
// target numbers were not exactly divisible by the
// number of frames, then clean up.
transCol.setTransform(targetTrans);
delete this.onEnterFrame;
delete transCol;
}
};
}
http://www.rps.org/book/terms/albumen.html)
for more details on albumen prints.
var clip:MovieClip = this.createEmptyMovieClip("circle_mc",
this.getNextHighestDepth( ));
circle_mc._x = circle_mc._y = 150;
circle_mc.lineStyle(200, 0x0, 100);
circle_mc.moveTo(0, 0);
circle_mc.lineTo(0.2, 0);
node.
Some of our shapes are shown in Figure 3-5. The
source file is available as
antart.fla
on
this book's web site.
this.onMouseDown = function( ) {
var depth = 0;
for (var i = 0; i < 12; i++) {
for (var j = 0; j < 8; j++) {
var me = "n" + i + j;
this.attachMovie("node", me, depth++);
this[me]._x = 50 * i;
this[me]._y = 50 * j;
this[me].gotoAndStop(random(100) + 1);
}
}
};
tilePattern in
the Symbol Linkage properties dialog box, the following code
generates a rectangular pattern from it:http://www.mcescher.com. Some of his most popular works
make use of divided
planes
, in which one or more repeated shapes
interlock seamlessly. Some of Escher's most famous
examples include interlocking birds, fish, and reptiles.