View Full Version : how to create a blur like this
regbolD
January 28th, 2009, 08:22 PM
how to create a blur effect like on this link?
http://www.flashden.net/files/65775/index.html
can anybody explain?
thanks:)
Groady
January 28th, 2009, 08:32 PM
I assume you mean the 'Read More' button?
It just looks like 2 bitmap images which fade from one to the other on mouse over.
regbolD
January 29th, 2009, 06:35 AM
no, not read more button, but clicking on another news when the text goes up or down!
substance
January 29th, 2009, 06:44 AM
the blur filter.
make the blur strength based off the velocity of movement.
regbolD
January 29th, 2009, 06:56 AM
so its somehow connected with the tween?
and where do i get this blur filter?
Magik5
January 29th, 2009, 07:30 AM
import flash.filters.BlurFilter;
regbolD
January 29th, 2009, 07:51 AM
but how to add a filter at runtime and remove it at disared time?
Magik5
January 29th, 2009, 08:10 AM
var bf:BlurFilter = new BlurFilter(10, 10, 3);
var adjustableValX:Number =0;
var adjustableValY:Number =0;
mc.filters = [bf]; //adds blur filter to mc
mc.filters = []; //clears all filters from mc
//you can adjust the filters blurX/blurY values at any time (as long as its in scope) like so...
bf.blurX = adjustableValX;
bf.blurY = adjustableValY;
// where adjustableValX and adjustableValY are set by the velocity of the tween
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.