Blur Edges Of A MovieClip?

Apr 19, 2010

Is it possible to blur the edges of a movieClip, and only the edges?  If I use the blur filter, It blurs the entire image, not just the edges.

Basically, I have a flv file within a movieClip, and I need the edges of the video to look feathered.

View 5 Replies


Similar Posts:


Actionscript 3 :: Bitmap Crop With Feathered Edges (blur Edges)?

Mar 11, 2011

I have been trying to figure out a good strategy to perform a bitmap crop using Actionscript3. For example: I have a picture of a car and I want to crop out the car from the image alone and feather the edges so that they do not look jagged.

I am a flash noob and have only been using it for a couple of weeks. I've tried a couple of options and here is the last one that I have come up with it: I place red dots on stage that are draggable so that you can outline the object you want to crop and the dots are the bounds for a gradientFill that is used as the bitmap's mask. (I am using a radial gradient ... so the results are far from what I want, since the car is not an oval).

[Code]...

1) How can I fade just the edges of this custom-shaped fill outlined by the red dots?

2) I want to save the image out to a file once it's cropped. What strategy would be better for doing this using a BitmapFill or a GradientFill as a Mask (If it's possible with both)?

3) I may be using this strategy to crop faces later on.. anyone know of any good face detection APIs for as3? (also edge detection APIs)

View 1 Replies

ActionScript 3.0 :: Blur Dynamic Mask For Faded Edges?

Jun 27, 2010

Can I put a blur on a dynamic mask to get faded edges like this:

Code:
var square:Sprite = new Sprite();
square.graphics.beginFill(0xFF0000);
square.graphics.drawRect(target.x, target.y, target.width+5,

[Code].....

I have a scrollbar that I want faded edges on the content mask. The content is all dynamic loaded from xml.

View 2 Replies

IDE :: Designed A Cylinder Shape In Flash - The Edges Of Cylinders Are Coming Out And Also They Are Looking Blur?

Sep 10, 2009

I have designed a cylinder shape in flash. The edges of cylinders are coming out and also they are looking blur. But the interesting thing is when I see the cylinder on 300% it is clear and lines are not blurred.

View 3 Replies

Rounded Edges For His Page Vs. The Typical Square Edges?

Feb 26, 2007

Recently a client of mine decides he wanted rounded edges for his page vs. the typical square edges. This was after the initial design and at the point where it is almost complete.I told the client that in order to do this we would have to go to a full Flash web page meaning a full browser Flash page (everything is already flash).Now I told him that we could do this but because it was a new design and as you know that there is much involved in doing something like this i.e. all the paths will have to be changed because it will have to reside inside a mc etc.if there is an actual way to make the stage rounded only for future knowledge.I know I can make a round edge square or rectangle but it still has square edges at outer edge of the stage.

View 5 Replies

ActionScript 2.0 :: On Rollover Blur Movieclip

Mar 12, 2007

i have some buttons and movieclipss. when roll over to the buttons i want to make some mc's alpha 30.

here is my code for buttons

[Code]...

ok this is working but this set the alpha property very fast (instant) how can i make them to change their alpha by level, level (like motion tween)

View 1 Replies

ActionScript 3.0 :: Blur In Blur Out Text Animation?

Jun 21, 2011

I am looking for some help on a specific effect. I was pretty good in the old days in flash but I have fallen behind badly and the new action script and such is making my head spin a bit. The effect I am looking to do is like the FETblur,first one on the page, [URL]...

View 1 Replies

ActionScript 2.0 :: Apply Blur Effect On A Movieclip?

Dec 1, 2009

I need to apply blur effect on a movieclip in AS2.

View 1 Replies

ActionScript 2.0 :: How To Apply Motion Blur To Rotation Of MovieClip

Aug 2, 2006

I want to apply a motion blur to the rotation of a movie clip. I am currently rotating the movie clip 540 degrees via actionscript using the tween class below:
Code:
import mx.transitions.Tween;
import mx.transitions.easing.*;
var targetRotate:Tween = new Tween(_root.target_mc, "_rotation", Regular.easeInOut, 0, 540, 3, true);
[Code] .....
This seems to be a good start, but I need to change it to apply to the _rotation of my movie clip. Lets say for the sake of argument, my movie clip has an instance name of target_mc as well.

View 1 Replies

ActionScript 2.0 :: How To Get Blur Effect For Stage Except Loaded MovieClip

Nov 30, 2007

I am creating one movieclip function to use filter inside it. Scenario is I have alert_win (movieClip to show alerts). By default I disable its visibility and then call on some function. Now everything works fine except one thing. I want to draw blur effect on loaded background under that movie clip "alert_win". How can I blur the whole stage except loaded movieclip? Also "alert_win" movieClip is dragable. And on close button of that movie clip I am removing its visibility off.

Here is my code.
_root.alert_win._visible = false;
if(System.capabilities.screenResolutionX > 1024){
import flash.filters.*;
var dropShadowropShadowFilter = new DropShadowFilter(2, 45, 0x000000, 0.3, 3, 3, 1, 10);
_root.alert_win.filters = [dropShadow];
[Code] .....

View 2 Replies

ActionScript 2.0 :: Flash 8 Blur Tweening (movieclip) Items In An Array

Jun 29, 2008

I am trying to animate a navigation menu so that when you roll over an item (say "Contact Us"), it moves up a bit, and the rest of the items blur.

I allllmost have it working but there is one piece of code that is no longer working (blurTween.onMotionChanged) since I put it into a for each loop in order to go through the array and apply the blur filter to each item.

So my code is as follows:

Code:
import caurina.transitions.Tweener;
import flash.filters.BlurFilter;
import mx.transitions.Tween;

[Code].....

View 8 Replies

Edges Won't Stay Hidden?

Jun 10, 2009

I didnt see a place in preferences to keep edges hidden. I have some text that has a dotted line around it. I can hide it with hide edges, but as soon as I select them and let go, the edges come back. maybe their not edges since theyre dotted. maybe its flash telling me somethings not set up correctly? anyone?

View 2 Replies

ActionScript 2.0 :: Cube With Round Edges

Sep 24, 2009

I want to make a rotating cube with rounded edges.I already saw lots of cube sources, but i need one with rounded edges.My maths actionscript is not so good.

View 1 Replies

ActionScript 2.0 :: Movie Panning Only On MC Edges

Dec 28, 2009

My file is going great but I would like it to only pan right or left when the mouse reaches close to the edge and stop while I am working within the middle area. Here is my panning code and the file can be viewed at [URL].

[Code]....

View 3 Replies

ActionScript 2.0 :: XML Slideshow A Bit Rough Around The Edges?

May 7, 2007

The transitions between sections is a bit harsh, I'd like to smooth it out some by fading from 1 color to the next or something.The captions don't sync up with the pictures the first time around until the pics are cached.When you click on the button of the section you are in, the slideshow stops.

View 5 Replies

ActionScript 3.0 :: Cube With Round Edges?

Sep 24, 2009

I want to make a rotating cube with rounded edges. I already saw lots of cube sources, but i need one with rounded edges. My maths actionscript is not so good.

View 3 Replies

ActionScript 3.0 :: Blur Everything Under A Mask (Blur Mask)?

Jan 12, 2009

I've searched every possible actionscript forum for this and i cant seem to find it. How can i create an "area" of blur which blurs everything beneath it?Like some kind of masked blur effekt?

View 0 Replies

ActionScript 2.0 :: Find MC Center Relative To Edges?

Aug 31, 2010

I don't seem to be able to find the right wording to find my answer anywhere.How do I determine where an MC's center is relative to its edges?I'm developing a tool that a variety of noobs (as if I'm not still a noob) will be using, and I don't trust them to keep art with 0,0 being the top left corner.How do I figure out that the left edge is now at -111px, and the top at -52, and the right at 12, and the bottom at 334?

View 3 Replies

3D Tool Makes Jaggy Pixelated Edges?

Aug 3, 2009

I've found using the 3D rotation tool to give rough/jaggy/pixelated edges to my vector clips, even after using:cache as bitmap"stage.quality = StageQuality.BEST;" in Document classIs there a way around this?

View 5 Replies

Professional :: Round Rectangle Edges Are Blurred?

Apr 9, 2010

I have seen people complain about this, but no work arounds. The blurry eddges I see on the rounded portion of round rectangles is awful. IS there a workaround?

View 5 Replies

Professional :: Jagged Edges On Curved Shapes?

May 2, 2010

Flash has some serious problems with jagged edges on curved shapes. When adjusting a curve on a shape, flash shows that it is curved and then on releasing the mouse it turns into a sharp edge

View 1 Replies

ActionScript 3.0 :: Fading Out Edges On A Masked Image?

Sep 24, 2009

I'm creating a shape in code based on some random points and then using it as a mask for an image. What I'm hoping to do is have the mask fade the image to transparent around the edges. I know I can do this using a gradient mask, the issue is how do I create a gradient on a shape that just fades out around the edges? The shape is not regular, so a radial or linear fill just won't cut it.

View 2 Replies

ActionScript 2.0 :: Map's Movement To Be Constrained To The Edges Of The Stage?

Feb 23, 2005

[code]...

I want the map's movement to be constrained to the edges of the stage. Or in other words, if you move your mouse from the left edge of the stage to the right, you only just see the right edge map, whereas now, it dissappears off the other side of the stage.

View 3 Replies

ActionScript 3.0 :: Bouncing Ball Off Edges Of Stage?

Jun 22, 2009

I have recently started Learning Actionscript 3.0 out of my own interest. I was trying on making a ball bounce off the edges of the stage using the Actionscript 3.0. But the code not working. The Ball happens to move on X and Y, till it hits the end of the stage, and then it just does not reverse its direction to give the effect of bounce, it gets stuck to the X axis and moves out of the stage. I tried to make changes, but failed.

Code:
function bounceBall(evt:Event):void {
var vx:Number=Math.random()*10+5;
var vy:Number=Math.random()*10+5;
var radius:Number=mcBall.height/2;
var top:Number=0;
[Code] .....

View 2 Replies

ActionScript 1/2 :: Flash Detect The Edges Of Transparent Artwork?

Aug 28, 2009

way programmically in flash to detect the edges of imported artwork (artwork that has transparent background)? I am hoping to build something that detects the edges (or boundaries) of artwork and then place other objects around those boundaries. (so they dont touch too much or overlap).

View 4 Replies

Professional :: Rendering With Transparency Makes Ugly Edges?

Jun 1, 2010

Long time lurker who can't find an answer thatfits this specific problem. I apologize if it has been answered. In the pic below,notice the edges. They look great on the stage, but I can't get the rendered .swfto look the same.

View 1 Replies

ActionScript 3.0 :: Connect My Text Box Edges As A Circle Or Ellipse?

Sep 7, 2009

In my application i am having one input field and the text fields edges are connected,that means with in one ellipse[movie clip] the input field will appear,if i increase the width and height of the field then ellipse should be increase as per the size of input field.

View 1 Replies

ActionScript 2.0 :: Make A Rotating Cube With Rounded Edges?

Sep 24, 2009

I want to make a rotating cube with rounded edges. I already saw lots of cube sources, but i need one with rounded edges. My maths actionscript is not so good.

View 0 Replies

ActionScript 3.0 :: No Background Color Edges Behind Image On Resize

Oct 4, 2009

I am making a slideshow background which adjusts to the width of the browser. However, whenever I resize the browser, the background color is visible for a moment along the edges. How can I get rid of this. I know that it is possible. If you look at the following site, the images resize perfectly:

[URL]

View 2 Replies

ActionScript 3.0 :: How To Stop Blending / Smoothing On Edges Of Sprites

Nov 21, 2011

When I draw a perfectly rectangular sprite, where all the corners land on perfect integer locations, then there is no problem. However when my sprite as an irregular shape ( with diagonal lines ), or it does not land on perfect integer locations, then Flash does some kind of blending / smoothing around the edges. This is bad.

Here is an example:
ActionScript Code:
var s:Shape;
s= new Shape();
s.graphics.beginFill(0x0000ff, 1);
s.graphics.moveTo(0, 0);
[Code] .....

And here is an image of what the above produces:
From the code, I drew a green rectangle and blue one, both with a slight skew. So the only 2 colors I want to see are blue and green. But you can see from the image, that along the diagonal of the shapes, there is some kind of blending going on. Flash is using a light green, and a light blue in certain places. Presumably this makes things look better, but I need to prevent this. I need each pixel to be either green or blue or nothing (white). How can I stop Flash from blending the pixels like its doing?

View 9 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved