Actionscript 3.0 :: Make A Mask With A Drop Shadow?
Apr 29, 2009How to make a mask with a drop shadow? Ive seen it on websites so know it is possible can't seem to find anything online .
View 1 RepliesHow to make a mask with a drop shadow? Ive seen it on websites so know it is possible can't seem to find anything online .
View 1 Repliesi have been searching the internet for a bit, and maybe i don't know what to look for but i know filters have stage scaling enable, not sure that is what i am dealing with but for some reason i can not scale a movieclip that contains a movieclip with a drop shadow filter without the drop shadow acting like the light source has changed, have tried copying the bitmapdata....anyone know how to "freeze" the drop shadow.
[Code]...
[URL]See the scrolling text on the flash banner? I added drop shadow filter to it and it isn't showing up, the drop shadow isn't there. I am making that scrolling happen with action script?
View 2 RepliesFirst i made the images with drop shadows in Illustrator and they looked fine there. When i copied them in to Flash they became pixelated.
I then got rid of the drop shadow in Illustrator and re-made it directly in Flash using the Filter/Drop Shadow property. It still is coming out very pixelated, even on "high quality" setting.
I'm using Flash CS5 on Macintosh.Googling has led me to maybe a dozen tutorials on creating a drop shadow in Flash, so I understand how the procedure is supposed to work. Select the object and then look for "Filters" and apply the "Drop shadow" filter. Simple enough.But it seems that you can only apply a filter to an "object." The things I've been trying to create a shadow on are of type "drawing object." Everything else I've tried to create or import has some other name, and none of them have the Filters menu.I'm embarrassed to have to ask about something that should be (and according to all the tutorials is) drop-dead simple, but I just don't see any way to create a drop shadow in Flash.
View 6 RepliesI'm trying to add drop shadow to text, however, I don't see the "filters" panel. I'm not sure how to enable it.I've uploaded a screenshot of my current workspace, maybe someone can tell me where I go to enable the filters window/panel: URL...
View 2 RepliesIs it possible to control the properties (ie angle, distance, alpha, knockout, etc) of a drop show effect using actionscript?
View 1 RepliesSo, the good news is that I've got this about 90% solved. Anyway, I'm trying to use TweenMax to have a drop shadow fade up on a Mouse Event (on a roll out). Everything works fine except for the shadow color. I've got it set to black (0x000000), but it's making a shadow that's the same color as the menubar sprite it's trying to shadow.
In other words: I've got a bright blue menu button, and it's giving it a bright blue shadow, despite the fact that I've got the color value set to 000000. Basically, I've got some code to put together the parts of the menubar (size, shape, text, shadow, etc.)
[Code]...
Flash CS5
Is it possible to add drop shadow to plan views of vehicles (vehicles are png images as MovieClips) such that as the vehicles change direction along roads (also png images) the shadow is always cast to north west ot the vehicle ? Buildings in the base png image have shadows but vehicles also need them so as to belong to the scene and not appear false.
Is there control over opacity and softness ?
If I were to have plan views of humans walking would the shadows follow the leg movements ?
Does anyone know how to remove the default drop shadow from ApplicationControlBar?[code]...
View 2 RepliesThis probably goes for all programming languages. I use Adobe Flash AS3 and for some reason that is boyond this post, I cannot use built-in dropshadow filters. I do, however, have bitmap data available, with color and alpha values. So there should be a way to draw my own dropshadow filter.... right? Any good existing algorithms I should go and check out? Not specifically looking for an AS3 implementation, any other example will probably allow me to convert the code.
View 1 RepliesHow do you obtain a chromeless window with a drop shadow with air 2.6 ?
Here is my -app.xml setup :
<initialWindow>
<content>maker.swf</content>
<systemChrome>none</systemChrome>
<transparent>true</transparent>
[Code]......
I'm using this code from a tutorial in a video
[Code]...
It works pretty well, the only problem is that it makes the video much slower. If I take out the Drop Shadow Effect the video plays well. Is there a way to apply a Drop Shadow with AS3 without making the Video slower?
How can I make a rollover, where when you mouse over, a scripted drop shadow appears using the DropShadowFilter?
View 10 RepliesI have a grey rectangle, with a drop shadow that I use as a backdrop for some portfolio images, to view the images and and their explanation I have set up some rollover buttons at the side. Now every piece of type or image I lay over the grey box also has a drop shadow, no matter what I do, they have nothing attached to them in the filter menu....
View 2 RepliesI am trying to make a xml based portfolio in Flash CS5. I want to use a UILoader to load external images, but I want the images to have a drop shadow when displayed. I tried saving the image with a drop shadow in Photoshop with a .png format. When it was uploaded the image didn't show the drop shadow and had jaggy edges. Normally I use a filter in Flash but the option isn't available for the UILoader object. if there is a way my images can be displayed with a drop shadow, otherwise I will do without.
View 1 RepliesI'm currently experimenting flex 4 skinning. I successfully skinned most of the components i need for my application, but i can't find a way to avoid this damn blue drop shadow which is displayed when u'r focused on a textfield or a combobox.
View 1 RepliesI have some textfields generated from code, and if I apply a drop shadow filter on them, sometimes the right or the bottom part of the textfields' border just disappear.
Code:
_passwordField.filters = [new DropShadowFilter(1, 45, 0, .75, 3, 3, 1, BitmapFilterQuality.HIGH)];
this is the line of code, which is responsible for this bug (is it a bug?) because if I comment it out, the borders render correctly.
I've dynamically drawn a gradient background on a little widget I've built (pulls in EPA/National Allergy Bureau climate data from a vendor, if you're curious), and I have applied an AS 2.0 drop shadow filter to the background. Standard stuff...except...
...I embedded the SWF using SWFObject and matching the dimensions of the widget stage exactly. And the left/right edges are cutting off. Are there any guidelines for using a background AS 2.0 drop shadow filter and accommodating the filter with the embed? It's a 10px (5px depth, 5px blur) 90-degree filter, and I left room on the stage for the 10px below the background. But the "edge" I expect to see on the embed isn't showing up.
Here's the filter code, BTW:
Code:
outlineShadow = new DropShadowFilter(5,90,0x000000,0.33,5,5,1,2,false,false,false);
Is there a way to add an inner drop shadow using TweenLite? I'm trying to add it to an input text field that I've created. I don't want to have to load an image, but I think i might have to.
View 4 RepliesHow to remove the cursor shadow (black shadow), when we use onChanged function, am validating the value from what I enter from keyboard
View 1 RepliesI have imported a button made in photoshop as a PNG into Flash. I want to animate the shadow behind the button.
How do I make the shadow png. go from 0% to 100% transparent? I have tried altering the colour alpha option but as expected this doesnt work.
if the mouse is under the button (outside the mask) the button still activatesis there a way I can create a shape &/or script to "mask" the EventListener much like how the graphic is masked?(the space under the buttons will eventually contain random photos)
currently the menu uses this script:addEventListener(Event.ENTER_FRAME,upyoga);
stop();
var speed:Number=.3;
[code]......
I have a code that duplicates a movie clip that then falls across a picture. They are sort of like water drops on a window but I want the picture to only be seen through the water drops. My problem is I can't get more than one drop to mask the picture at a time. I have tried code in the duplicated MC and I have tried pasting a bunch of instances to the stage and creating a mask later. Please help me out. The following is the code of the duplicated movie clip where _root.drop is the falling mask and _root.bg is the picture I want to see through the drops.[code]
View 1 Repliesi've created a sprite to drag and drop around the stage. the sprite is masked and has it's mask as it's child so that it too will drag along with the sprite. everything works fine until i add a drop shadow filter to the sprite. when the drop shadow is added, i can only mousedown to drag and mouseup to drop the sprite if the mouse events occur within the original location of the sprite when it was added to the stage.
var thumbMask:Sprite = new Sprite();
thumbMask.graphics.beginFill(0, 1);
thumbMask.graphics.drawRoundRect(0, 0, 100, 75, 25, 25);
[Code]....
As the title says: How do you make a vehicle shadow go over the bridge but under stay under the vehicle. here is my game: [URL]I want the shadow layer to appear above the bridge so you can see where it is.I can't change over the Layers because of course the vehicle needs to go under the bridge not over it.
View 14 RepliesWen i drag mc2 i want mc1 drag in the same time.
View 1 Replieshow to mask in a circle?To try to clarify: If you had a clock face with the minute hand at 12, as the minute hand sweeps round it reveals a picture.[URL]
View 8 RepliesI made a blind effect but when i play this effect it show the white strip on the clip which look's very bad. Is it possible to make the mask transparent so the background look same only the text is hidden omn which the effect is implemented.All of this thing are done in action script.
View 3 RepliesWhat I want to achieve is this. I want a picture of a car that is dry as the background. On top of that a picture of the same car, but wet. I then want an image of a chamois that the user can click on and use to "remove" the water off the car, by "erasing" the picture off the top layer. Is this something that is achieveable.[code]...
View 2 Replies