ActionScript 2.0 :: Scripted Drop Shadow Appears Using DropShadowFilter
Apr 25, 2008How can I make a rollover, where when you mouse over, a scripted drop shadow appears using the DropShadowFilter?
View 10 RepliesHow can I make a rollover, where when you mouse over, a scripted drop shadow appears using the DropShadowFilter?
View 10 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]......
How 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'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?
I 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 4 shapes which fit into 4 boxes and would like to modify my code so when a shape is placed in the correct box a movie clip appears e.g. if a triangle is placed into a triangle shape the movieclip for triangle appears. if the shape is placed into the wrong box a message appears saying try again.
View 9 RepliesMaybe the title is not self explanatory but in most iphone games eg you click the correct example and you see a +100 points mc appear and rise and alpha out. I did this with a png done in photoshop BUT not all goes well - it doesn't work.
[Code]...
It seens perfct but I can't see it work. The funny thing is that the custom currentBubble - with a dot after you see the code hints but a dot after pb100 - you see no code hints. Well not normal.
I scripted a DropShadowFilter to render on my Movie Clip. The MC just consists of static text and its using the Tween class to move on the screen. Can't figure out why its not showing up. I'm using the same method on another movie clip that is just images, and works fine. Not generating any errors either.
Code:
import flash.filters.*;
var tds:DropShadowFilter = new DropShadowFilter(3,90,0x000000,40,3,3,1,3,false,false,false);
[code]....
I am working on a rollover mapping like page for an instructional demo. Basically, the user rollovers clickable areas and a dynamic text box popups explaining what the link's utility is.
I have all the text dynamically set, there are styles for the text box (ie borders and padding) and then a drop shadow filter applied. However, upon viewing the SWF file the drop shadow does not seem to work consistently. OnRollOut it doesn't always do so and upon OnRollOver a different hotspot the dropshadow will duplicate. The duplicating of the dropshadow will either continue to do so or the OnRollOut will remove the dropshadow and reset the text box as it should.
[Code]...
I have a dropfilter defined using some bindable variables as parameters.
<mx:filters>
<mx:DropShadowFilter id="torinofilter" distance="0" color="{dropShadowColor}"
blurX="{dropBlur}" blurY="{dropBlur}" strength="8" quality="2"
[code].....
I'm working with a Sprite that has multiple children. I want to apply a DropShadow filter to the main sprite, but not it's children. Is there a way to exclude filter effects from children?[code]...
View 2 RepliesIs there a way to apply, say, a DropShadowFilter to the text within a TextInput component in Flex 3 without affecting the component itself?
View 1 RepliesI'm running into an issue where, if the dynamic text field I create wraps and autoSizes to 2 lines or more, the last disappears (sometimes partially). However, this only happens when I apply a DropShadowFilter to it. If I don't apply the drop shadow filter, it renders correctly. Note that whether or not the text renders correctly, flash seems to know that the text has wrapped and autosized, as this is how i assign the Y position of the second text field below it. See code below:
[Code,,,]
When i put a dropshadowfilter on a dynamic textfield with html-content, the links (a href) stop working.The textfields rotate in flash 3D space so they have a transformmatrix applied to them. Could this be the reason? Anybody had problems with html-links and dropshadowfilter applied to the textfield? it makes no difference if you put the filter on the textfield itself or the movieclip container around it.
View 2 Replies