« September 2007 | メイン | April 2008 »

March 06, 2008

Tweener Extension, for Matrix Tweening.

I wrote simple Tweener Extension, MatrixShortcuts.as

This class provides mainly two group of special propertys.

One is simply tweening for transform.matrix properties of Display Object.

  • _matrix_a
  • _matrix_b
  • _matrix_c
  • _matrix_d
  • _matrix_tx
  • _matrix_ty
  • _matrix


The other is more strong and powerful concept. Global coordinate control tweenings.
With these properties, you can tween complex nested DisplayObjects with global, stage coordinate.

  • _global_matrix_a
  • _global_matrix_b
  • _global_matrix_c
  • _global_matrix_d
  • _global_matrix_tx
  • _global_matrix_ty
  • _global_matrix
  • _global_x
  • _global_y
  • _global_rotation
  • _global_scaleX
  • _global_scaleY
  • _global_scale

For example, with following code, even how complex matrix parents have, MovieClip always move to the center of stage.


MatrixShortcuts.init();

Tweener.addTween( myMC.myMC.myMC,
{
time:1,
_global_matrix: new Matrix(1,0,0,1,stage.stageWidth*0.5, stage.stageHeight*0.5);
}
);

Could be useful

Design and the Elastic Mind

We launched MoMA's exhibition site, Design and the Elastic Mind.

In the past few decades, individuals have experienced dramatic changes in some of the most established dimensions of human life: time, space, matter, and individuality. Working across several time zones, traveling with relative ease between satellite maps and nanoscale images, gleefully drowning in information, acting fast in order to preserve some slow downtime, people cope daily with dozens of changes in scale. Minds adapt and acquire enough elasticity to be able to synthesize such abundance. One of design's most fundamental tasks is to stand between revolutions and life, and to help people deal with change. Designers have coped with these displacements by contributing thoughtful concepts that can provide guidance and ease as science and technology evolve. Several of them—the Mosaic graphic user's interface for the Internet, for instance—have truly changed the world. Design and the Elastic Mind is a survey of the latest developments in the field. It focuses on designers' ability to grasp momentous changes in technology, science, and social mores, changes that will demand or reflect major adjustments in human behavior, and convert them into objects and systems that people understand and use.


CREDITS

Client: MoMA
Designer: Takayuki Fukatsu, THA Ltd
Designer: Erica Sakai, THA Ltd
Creative Director: Yugo Nakamura, THA Ltd