Archive for March, 2008
[AS 3] Papervision Cube with Different Material Sides
6 comments so farDownload Files (.zip)
So there was a request for an update to the Papervision cube that I did last week to allow for various materials on the 6 sides of the cube. I have noticed that there is a MaterialsList Class that allows you to addMaterials to your objects. I also found this a piece of [...]
[AS 3] APE - Actionscript Physics Engine
No commentsHere is my first attempt at using APE. APE is an open source 2D physics engine written in actionscript 3. You can download the class files here: http://code.google.com/p/ape/. Use your keyboard arrow keys to move the car object.
Here is my Document Class:
package {
import org.cove.ape.*;
import flash.events.Event;
import flash.ui.Keyboard;
import flash.events.KeyboardEvent;
import flash.display.Sprite;
public class APEInteraction extends [...]
[AS 3] Papervision Cube
2 comments so farSo I found a tutorial over at Curious Minds Media, but since it was constructed for Flex, I opted to create a Document Class file for this. The comments within the posting has helped in creating this little demo. If you move your mouse around the flash movie below it will rotate the cube around.
[kml_flashembed [...]
[AS 3] Papervision and a Blur Filter
1 comment so farSo I was going through a nice video tutorial over at gotoandlearn.com about Papervision and decided to try it out. I suggest visiting their site for the full details. I changed the demo below by allowing the object to load in an external image as well as I added a blur filter to the images.. [...]
[AS 3] GlowFilter Actionscript Class
No commentsExternally loading a .jpg image and applying a glow effect.
Here is the document class:
package {
import flash.display.Sprite;
import flash.events.Event;
import flash.display.Loader;
import flash.display.LoaderInfo;
import flash.net.URLRequest;
import flash.filters.BitmapFilter;
import flash.filters.BitmapFilterQuality;
import flash.filters.GlowFilter;
[...]