View Mode: Normal | Article List
As3 Collision Detection
[ 2009-08-23 14:38:17 | Author: liuhuan ]
I used the CollisionDetection(by scratchbrain) to detect collision between complex shapes. download: http://www.libspark.org/wiki/scratchbrain/CollisionDetection
package {
import flash.display.*;
import flash.events.*;
import flash.geom.Rectangle;
import fl.controls.Button;
...import flash.display.*;
import flash.events.*;
import flash.geom.Rectangle;
import fl.controls.Button;
Read More...
Pv3d: Random "Forest"
[ 2009-08-21 23:11:23 | Author: liuhuan ]
Pv3d: Random tree
[ 2009-08-21 17:19:13 | Author: liuhuan ]
Caution: bigger number may greatly slow down the computer! Slide to re-generate random tree.
package {
import flash.display.*;
import flash.events.*;
import flash.filters.*;
import fl.controls.Slider;
import org.papervision3d.materials.*;
import org.papervision3d.objects.*;
...import flash.display.*;
import flash.events.*;
import flash.filters.*;
import fl.controls.Slider;
import org.papervision3d.materials.*;
import org.papervision3d.objects.*;
Read More...
Pixel Bender Exchange
[ 2009-08-20 11:40:17 | Author: liuhuan ]
AS3 flag using as3dmod
[ 2009-08-18 23:05:55 | Author: liuhuan ]
We can easily create flag effect in Actionscript 3 using as3dmod+PV3D.
refrence: http://as3.miguelmoraleda.com/2009/03/07/flash-actionscript-3-as3dmod-flag-effect-modify-objects/
download as3dmod: http://code.google.com/p/as3dmod/
package {
import flash.display.*;
import flash.events.Event;
...import flash.display.*;
import flash.events.Event;
Read More...
AS3 webserive: load stock data using webservice
[ 2009-08-18 09:50:00 | Author: liuhuan ]
The stockquote webserivce enables us to get real stock data, which we can use in flash to create a stock information application.
WS url: http://www.webservicex.net/stockquote.asmx
Here we explore how to access webservice in Actionscript 3.0:...
Read More...
WS url: http://www.webservicex.net/stockquote.asmx
Here we explore how to access webservice in Actionscript 3.0:
Quote
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.display.*;
import flash.events.*;
import flash.net.*;
Read More...
as3: ALFluid
[ 2009-08-17 17:40:05 | Author: liuhuan ]
ALFluid create melt effect on bitmap in Flash, developed by alumican.net(http://alumican.net/)
download: http://www.libspark.org/browser/as3/ALFluid/
package{
import flash.display.*;
import flash.events.MouseEvent;
import net.alumican.as3.alfluid.*;
public class Main extends MovieClip{
...import flash.display.*;
import flash.events.MouseEvent;
import net.alumican.as3.alfluid.*;
public class Main extends MovieClip{
Read More...