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


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

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

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

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

ActionScript 3.0 :: Feather Edges Of A Mask Which Is Dynamically Applied To Display Object?

Apr 14, 2010

I have searched high and low, but have not found a solution. How do you feather the edges of a mask which is dynamically applied to a display object?

View 4 Replies

IDE :: Flv Under Mask With Gaussian Blur

May 8, 2009

I have created a video for my flash application, convert it into a flv file.Now, I have imported it into flash in a layer, then I have created a new layer where I would yo place a mask with gaussia blur. You ca see example in the pic.I draw a mask into flash, converted it into a movieclip and assign to it a gaussian blur from the filter panel. But when I send the fla in execution (Ctrl+Enter), the video appear through the mask, but this one have not gaussian blur filter applied.

View 2 Replies

ActionScript 3.0 :: Mask / Blur Content Under A MC?

Nov 11, 2010

I was wondering how this effect is done. If you look at the jpeg you can see that the content under the menu and conent frame is blurred. Been searching for a while for this but still I cannot trick it myself.

View 2 Replies

IDE :: Apply A Blur To A Draggable Mask?

Sep 9, 2009

there are loads of tutorials for maginfying glasses that use draggable movie clips and masks.

do you think it would be possible to have a blur filter effect on a mask. basically i will have a jpg as a background, a mask that follows the cursor, and where ever the cursor goes the jpg will be fuzzy under the mask.

View 3 Replies

Professional :: Flashlight Mask With Radial Blur?

Jan 10, 2011

I have a circle mask over a photo. I'm trying to get it so the edges fade out to black. Currently, it just is a solid white circle. It's a movie clip and has a radial blur and is motion tweened. The alpha channel on the radial blur is 100% on the first point and 0% on the last. Can a spotlight with radial blur/fade be done without adding code or actionscript?
 
I've attached a photo of what I have now along with what the movieclip I'm using.
 
I'm on CS5, but can only use AS2, if actionscript is necessary.

View 5 Replies

ActionScript 3.0 :: Make A Video For Blur And Mask In Flash?

Jun 25, 2010

I know how to mask in Flash and also how to make a video for Blur on AS3. Filter Blur

[Code]...

View 11 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

Flash :: Looping 4 Images Being Faded One After Another?

Jan 27, 2010

I'm trying to figure out an easy way to fade 4 (or any number) images and loop it so the last image fades in with the first image. I threw something together which is pretty horrible, and doesn't even fade the last image into the first. The code is included below for you to laugh at.

function beginTween():void
{
TweenMax.to(bg01, 2, { alpha:1 });
TweenMax.to(bg01, 2, { alpha:0, delay:20 });

[Code]....

View 2 Replies

IDE :: Blur A Dynamic Line?

Oct 17, 2009

I was wondering if it is possible to blur something that is drawn dynamically? I have a dynamic line that zig zags, but when I attempt to put a blur action on to it, it does not appear blurred. Does anyone have an idea how to get this line to look blurred? (I'm trying to achieve a spray paint effect).

[Code]...

View 2 Replies

ActionScript 2.0 ::Red Face Blur Filter Will Only Work On Dynamic Thumb?

Nov 21, 2007

I have a script that's creating 2 empty movie clips and then adding thumb nails into the second one. then finaly drawing a shape and adding a dynamic mask on top

i.e. _level0.emptyClip1.emptyClip2 -->thumb1thumb2thumb3etc..the problem is, I want to add blur when im scrolling to emptyClip1 or even emptyClip2, but alas not luck. The weird things is, as Im trying to figure this out, I found that I could add blur to the thumbs themselves but not to their parent clip. I've been trying to figure this on my own for a week, with no avail.

View 1 Replies

Professional :: Exporting Flash With Transparent PNG As Background-SWF Appears To Lose Quality/faded?

Jan 17, 2012

I cut up parts of a web page background to do some menu animating in Fireworks on the left side, and the right side to have a slideshow on top of a transparent PNG background.  Then I bring both together in a Dreamweaver file, within a DIV so it looks seamless.  This has worked fine before, and it exports okay, but I noticed that putting the two "parts" back together side by side that the SWF background is somewhat faded compoared to the Fireworks HTML.  I've tried changing the Publish Settings and I've tried changing the PNG file property in the library to both "enable smoothing" and "Lossless Compression", but nothing seems to fix it.  My next option is to make the PNG the background image of the page when I bring it all in to Dreamweaver, but I'd like to know if this can be fixed for future reference.

View 1 Replies

ActionScript 3.0 :: Dynamic Textfield Masking With Non-dynamic Mask?

Aug 11, 2009

I'm creating a playlist for a music player, and I've got the song names displaying correctly in my songTitle holder MC, but there's limited space for the song names to be shown in, and I'm going to eventually have it inside a scrolling movieclip. Problem is, the text inside the textfields disappear when I try to add a mask to the movieclip they're being loaded into. I've tried adding all combos of embedFonts, antialias, and blendModes I ran into, to no avail.how to mask dynamically created textfields with a non-dynamic (Flash IDE-made) mask.

Code:

for (var i:int = 1; i <= _size; i++) {
var pl_artist:TextField = new TextField;
//all embedFont = true and antiAlias commands no workie
}

View 4 Replies

ActionScript 3.0 :: Dynamic Movieclip With Dynamic Mask - Not Showing

Nov 8, 2011

first I had:

maskedImg = getChildByName("current") as MovieClip;
maskedImg.mask = mymask;

and everything worked properly. Then I removed the movieclip from the scene, exported it to Actionscript, and changed the code to

maskedImg = new mymovieclip();
addChild(maskedImg);
maskedImg.mask = mymask;

and now I don't see anything on the scene. If I comment out the line assigning the mask I can see the movieclip although. The mask is created dynamically in both cases.

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

IDE :: Dynamic Text And Mask?

Aug 7, 2005

i am facing a problem with dynamic text and mask,when i use a dynamic text and i am trying to mask the text area it's not showing in swf

View 7 Replies

ActionScript 2.0 :: Inverting A Dynamic Mask

Nov 15, 2009

I searched for a solution everywhere but cant seem to find one. I found the tutorial below on creating a dynamic mask that basically draws a mask over an image. I am basically trying to replicate the exact same effect only i need it inverted. I want to basically erase the image. Have the image there then with the mouse cursor erase the image.

I guess i would normally do this using blending modes or an actual mask on the timeline using layer but in this case the mask is drawn dynamically so im not sure the best approach. To make things easier to understand what I am trying to achieve is the effect of cutting a piece of paper using scissors and have the paper "erase" as i hover over the paper using an attached movieclip of scissors. I have everything working except the "erasing" of the paper.

View 1 Replies

ActionScript 2.0 :: Dynamic Text Behind Mask?

Oct 28, 2004

i have a dynamic text block which is inside a movie clip, is i grouped with other elements.This movie clip sits behind a mask. when i am in the movie clip i can see the text field, when i am on the root level (and the mask is disabled) i can see the text, but when i preview the movie the text IS GONE or I CAN'T SEE IT.

View 1 Replies

ActionScript 2.0 :: XML Slideshow With Dynamic Mask?

Aug 29, 2005

I am wanting to create a dynamic mask for the transition in the Kirupa XML Slideshow tutorial. Instead of having a fade in, i would like to have an effect like the one here for the image transition.

View 1 Replies

ActionScript 2.0 :: Trying To Modify Dynamic Mask

Jan 28, 2006

i'm using this dynamic mask, originally coded by the canadian in an old thread, and i'm trying to get it to work in reverse (start with a full image and end with blank).

[Code]...

View 2 Replies

IDE :: Mask Over A Dynamic Text ... FLA Attached

Apr 7, 2009

Hello Flash World, Ok, I may have posted this question before but I am still confused. I have a Master Movie Clip that has a Mask over it. By having that mask I can't view my dynamic text box that is scrollable. How do I embed a font so I can view my dynamic text box? (Im using AS2) attach is a file that explains my problem.

View 1 Replies

ActionScript 3.0 :: Set A Mask On A Mc Containing Dynamic Text?

May 12, 2009

I'm trying to set a mask on a mc containing dynamic text. But, the only thing that are visible, are graphics, not text.

When i remove the mask, the text comes back.

i heard that i have to embed my fonts for that, but how can i do it?

View 6 Replies

ActionScript 3.0 :: Dynamic Mask With Tween?

Jul 16, 2009

Can anyone tell me what I am doing wrong or don't know enough about masking to accomplish? Basically, I have a Sprite that serves as a mask. That sprite is populated with several small squares with tweens on them (using TweenLite).

[Code]...

This is my guess. Since each individual box is technically not on the display list, it is never rendered.Perhaps only once when you call the "container.addChild(box);" but other than that, it only displays it's old cache of the last render.

View 3 Replies

ActionScript 2.0 :: Dynamic Text Behind Mask

Oct 28, 2004

i have a dynamic text block which is inside a movie clip, is i grouped with other elements. This movie clip sits behind a mask. when i am in the movie clip i can see the text field, when i am on the root level (and the mask is disabled) i can see the text, but when i preview the movie the text IS GONE or I CAN'T SEE IT.

View 1 Replies

ActionScript 2.0 :: Dynamic Text Behind A Mask?

Jan 25, 2005

I've been trying to dynamically change some text for a titlebar that is behind a mask

However, I find that when I change the text of the dynamic text field (whose containing movieclip is masked by a graphic), the text no longer appears at all.

When i remove the masking, the text changes properly when asked, but when it it masked, the text does not show at all.

View 3 Replies

ActionScript 1/2 :: How To Mask A Dynamic Text Field

Apr 9, 2009

Any one know,how to mask a dynamic text field

View 3 Replies







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