Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Blur effect using actionscript

New Here ,
Oct 05, 2007 Oct 05, 2007
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?
TOPICS
ActionScript
445
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 05, 2007 Oct 05, 2007
serg2049 wrote:
> 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

--
Best Regards

Urami


--
"Never play Leap-Frog with a Unicorn."


<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 05, 2007 Oct 05, 2007
Thanks I'll check it out,
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 07, 2007 Oct 07, 2007
Ok, Using flash help file sI did this:

import flash.filters.BlurFilter;
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();
filterArray.push(filter);
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?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 07, 2007 Oct 07, 2007
LATEST
ANYONE?

If it's too much to ask to post the code in actionscript 1 a link will do, please?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines