View Mode: Normal | Article List
http://dispatchevent.org/?s=Papervision3D
http://www.insideria.com/2008/05/textures-wireframe-bitmap-movi-1.html
http://www.insideria.com/2008/05/textures-wireframe-bitmap-movi-1.html
First steps in Papervision3D
[ 2009-05-25 19:52:30 | Author: liuhuan ]
Make the loaded image smooth in ActionScript 3.0
[ 2009-05-25 18:33:43 | Author: liuhuan ]
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.
Read More...
var _loader:Loader = new Loader();
_loader.load(new URLRequest("a.jpg"));
_loader.contentLoaderInfo.addEventListener(Event.COMPLETE,completeHandler);
..._loader.load(new URLRequest("a.jpg"));
_loader.contentLoaderInfo.addEventListener(Event.COMPLETE,completeHandler);
Read More...
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)
Read More...
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) {
count++;
if (count == delay) {
this.removeEventListener(Event.ENTER_FRAME, onenterframe);
trace("delay happenes");
}
}
...var delay:Number = 45;
this.addEventListener(Event.ENTER_FRAME, onenterframe);
function onenterframe(e:Event) {
count++;
if (count == delay) {
this.removeEventListener(Event.ENTER_FRAME, onenterframe);
trace("delay happenes");
}
}
Read More...
FWA(www.thefwa.com) launched a new page called FVA(Favorite Visitor Awards), for celebrating its 50 million visits.
http://www.thefwa.com/50million/
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.
http://www.thefwa.com/50million/
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