Wednesday, May 5, 2010

Abstract Flash Animation


This is something abstract I did using the 3D Stroke plug-in inside of After Effects. I exported as an image sequence and then used Adobe Streamline to turn it all into vectors. Then it’s a simple import into Flash. They are created dynamically with random attributes.

Accordion FLV Video Application


This is a little video application that uses the Accordion component that ships with MX 2004. I will be doing a tutorial on how to build this in the next couple of days.

Sunday, April 4, 2010

Flash 8 Liquid Video


You knew this was going to be coming. I’ve adapted the liquid example to use an FLV video. This one pushes the limits of your computer though. Let me know how it runs for you.

Flash 8 FLV Ripple Effect


Here’s another example with more of a ripple effect that follows the _x of the mouse.

Simple Flash 8 Motion Blur


Just blogging a small experiment with motion blur using the new BlurFilter in Flash 8. Click anywhere on the SWF to make the ball move with a blur on it. Flash 8 player required.

The actionscript for the above movie is as follows:
[as]ball.cacheAsBitmap = true;
var bl = new flash.filters.BlurFilter();
bl.quality = 3;
var dx:Number;
var dy:Number;
this.onMouseDown = function() {
dx = _root._xmouse;
dy = _root._ymouse;
ball.onEnterFrame = mover;
}
function mover() {
this._x += (dx-this._x)/3;
this._y += (dy-this._y)/3;
bl.blurX = Math.sqrt(((dx-this._x)*(dx-this._x))+((dy-this._y)*(dy-this._y)))/5;
bl.blurY = bl.blurX;
this.filters = [bl];
if(this._x == dx) delete this.onEnterFrame;
}[/as]

Let me know if I could be doing something better :-)

Tarbell Creation Getting the Flash 8 Treatment


Below is one of Jared Tarbell’s open source FLash math pieces modified to use the Flash 8 drop shadow filter. Visit Jared’s site at http://www.levitated.net.

Flash 8 FLV Bugs?


o the following code no longer works for playing an external FLV file:
[as]var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);
ns.play(“someFLV.flv”);[/as]

Is anyone else experiencing this? Or better yet, does anyone know what has changed? Maybe we’ll have to publish as Flash 7 to use the old video codec.
But another question is whether the actionscript has changed or whether its not playing because the FLV is using the Sorenson codec?