View Mode: Normal | Article List

Flash Stagemanager

[ 2007-04-22 11:17:34 | Author: liuhuan ]
Stagemanager allows you to align thing on Stage easily. By Denis Kolyako.

http://dev.etcs.ru/blog/as2/ru/etcs/utils/stagemanager/

demo: http://etcs.ru/pre/StageManagerDemo/

download: http://dev.etcs.ru/framework.zip

Downtown in Hangzhou

[ 2007-04-21 12:16:04 | Author: liuhuan ]
uploads/200704/27_121628_img_3451.jpg

Friendship Hotel in Hangzhou

[ 2007-04-20 12:15:18 | Author: liuhuan ]
uploads/200704/27_121543_img_3410.jpg

site pick

[ 2007-04-18 19:40:46 | Author: liuhuan ]
Recommended by Yeson

http://www.roewetaste.com.cn/
head:
Quote
import flash.external.*;
usage:
Quote
if (Key.isDown(Key.BACKSPACE)) {
  flash.external.ExternalInterface.call("window.history.back");
}
if (Key.isDown(116)) {
  flash.external.ExternalInterface.call("location.reload", true);
}

flash中简单的动态创建遮罩方法

[ 2007-04-14 22:24:17 | Author: liuhuan ]
Quote
this.mask = this.createMask(this.maxWidth, this.mcText1._height, 100);
this.mcText.setMask(this.mask1);
function createMask(w, h, level) {
  var mask = this.createEmptyMovieClip("mask"+level, level);
  with (mask) {
    moveTo(0, 0);
    beginFill(0);
    lineTo(w, 0);
    lineTo(w, h);
    lineTo(0, h);
    lineTo(0, 0);
    endFill();
  }
  return (mask);
}