This content has been marked as final. Show 4 replies
> How can I make a blur effect using actionscript, not the built-in effect for which I have to use a tween?
> Any codes you can give me or links to tutorials?
Search help files for new flash.filters.BlurFilter
It show in steps how to set each filter using action script, including all the
parameters, like size
"Never play Leap-Frog with a Unicorn."
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
Thanks I'll check it out,
Ok, Using flash help file sI did this:
var rect:MovieClip = createRectangle(100, 100, 0x003366, "BlurFilterExample");
var blurX:Number = 30;
var blurY:Number = 30;
var quality:Number = 3;
var filter:BlurFilter = new BlurFilter(blurX, blurY, quality);
var filterArray:Array = new Array();
mymovie_mx.filters = filterArray;
It did work, but I have 2 problems with this, one I need it to go from 100% blur to 30%blur.
But my biggest problem is, part of the code I'm using in the animation is actionscript 1, and the above solution is actionscript 2.
Can anyone give me an actionscript 1 solution?
If it's too much to ask to post the code in actionscript 1 a link will do, please?