View Mode: Normal | Article List

First steps in Papervision3D

[ 2009-05-25 19:52:30 | Author: liuhuan ]

good tut on Papervision3D by tartiflop.
When we load image into flash, it is not smooth by default. When you rotate or transform the image you could probably get a pixelated effect. To make it smooth we can use the smoothing property newly added to Image class in as 3.0.
var _loader:Loader = new Loader();
_loader.load(new URLRequest("a.jpg"));



[ 2009-05-19 00:00:01 | Author: liuhuan ]
Some poor works in these months...



[ 2009-05-17 14:23:10 | Author: liuhuan ]

several kinds of delay funtion in as3.0

[ 2009-05-14 20:05:39 | Author: liuhuan ]
There are several ways to make delay functions in as3.0.

1. using EnterFrame(delay time depends on frame rate)
var count:Number = 0;
var delay:Number = 45;
this.addEventListener(Event.ENTER_FRAME, onenterframe);
function onenterframe(e:Event) {
  if (count == delay) {
    this.removeEventListener(Event.ENTER_FRAME, onenterframe);
    trace("delay happenes");



[ 2009-05-13 20:38:06 | Author: liuhuan ]
FWA( launched a new page called FVA(Favorite Visitor Awards), for celebrating its 50 million visits.


Great changes has taken place in internet these years, as Flash has getting more and more important each day. FWA becomes the winner while traditional pick websites became losers.

as3 brick ball game

[ 2009-05-10 16:00:17 | Author: liuhuan ]

This is a easy game using AS3.0. To detect the hitness between bricks and the ball, simply use the hitTestObject function.

Download source file:
Click Here To Download