Blur Filter Experiment

I did an experiment with the Blur Filter in AS 2.0 and I thought it will be great to share this little code 😀
I used MC Tween to animate this 😉

Here is the code:

#include "mc_tween2.as"
import flash.filters.BlurFilter;
 
theButton.xBlurTo(11, 3, 1);
theButton.onRollOver = function() {
	this.xBlurTo(0, 3, 2);
}
theButton.onRollOut = function() {
	this.xBlurTo(11, 3, 2);
}
theButton.onRelease = function() {
	this.xBlurTo(110, 3, 2);
	this.alphaTo(0, 1, "linear");
	this.enabled = false;	
}

Something like this can be used for some Enter Site button or some image transmission... or whatever pops to your mind.
Here you have the Source Files

Flash contact form

You know those flash contact forms?
I sow a lot of people who don’t know how to make one…
For those who don’t know how to make it… here you can see how it’s done… (inspired from gotoandlearn.com)
You can use that on any of your projects 😉

gotoAndLearn V2

In case you don’t know already, Lee Brimelow lunched gotoAndLearn V2 gotoAndLearn it’s a great flash tutorials site and it’s free!! If you don’t know about it by now, I suggest you take a look.

gotoAndLearn

And you can check the forums too.
It’s the best flash community out there 😉

Image loader

I did not updated this blog lately because I was working on some flash projects… and now I want to share with you the code that I use for most of my images when I load them externally.
I used this code a lot in MotorRocks.com and other sites…

import mx.transitions.Tween;
import mx.transitions.easing.*;
 
var listener:Object = new Object();
listener.tmc = target;
listener.onLoadInit = function(mc:MovieClip) {
	new Tween(mc,"_alpha", Strong.easeOut,0,100,2,true);
};
var loader:MovieClipLoader = new MovieClipLoader();
loader.addListener(listener);
 
loader.loadClip("image01.jpg", holder);

I think this is the easiest way to preload images and when loaded… to fade them in.
It’s a nice effect and you can use it on your projects if you want 😉

Download Source Files

Flip paper

Today I did some research trying to find how to make a flip pater effect… and this is the result:

This is a nice effect and maybe I will use it for a photo slideshow app or something like that...

Here you have the source files...

vamapaull’s portfolio 2.0

I just lunched my new portfolio but right now I only have the portfolio page and two links, one to the blog and one to the contact page. I have to implement some more stuff in the near future.

vamapaull 2.0