Flex :: Spark Skins : Blue Drop Shadow On Focus?
May 26, 2010
I'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 Replies
Similar Posts:
Nov 3, 2010
My button doesn't have a blue focus ring around it, even though it has focus. I've got a component with a RadioButtonGroup and a Button. After a selection is made in the RadioButtonGroup, focus is switched to the Button. I added click="focusManager.setFocus(myCloseButton)" on the VBox.
After, a radioButton is selected, if the user clicks the spacebar the Button fires. So, as I understand it focus was switched to the button. But, the button doesn't get a blue focus ring surrounding it. How do I get the focus ring? I have visible="false". I turn them to visible, after some effects are finished. So, don't let that throw you.)
[code]...
View 1 Replies
Feb 20, 2009
i 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]...
View 7 Replies
Sep 17, 2010
I'm trying to get a spark tab bar to have a selected tab that does not change color on mouseover. I'm trying to implement this by working with a skin based on the skin spark.skins.spark.TabBarButtonSkin, but despite turning off the shadows on the selected and overAndSelected states, it still shows a dark color on mouseover.
Here's the relevant skin:
<?xml version="1.0" encoding="utf-8"?>
<s:SparkSkin
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
[Code]....
View 1 Replies
May 4, 2011
Objective:I would like to pass Skins to an itemRenderer (which is a Button) of a List, and be able to skin every button in that List.This is what I have:
List:
<s:List itemRenderer="renderers.ItemRenderer" dataProvider="{collectionWorkspace}" />
ArrayCollection:
<s:ArrayCollection id="collectionWorkspace">
<comp:Layout1 />[code]...
I get an error (fixed for clarification):Error: Skin for Application....Button1 cannot be found.
View 1 Replies
Feb 20, 2012
I'm working on a simple auto complete function for my Flex mobile app. For that I've got a CalloutButton that triggers a Callout.The Callout holds some lists from which the user can select items. On item select, the callout gets closed (calloutButton.closeDropDown())The very same behavior is done for a TextInput. The user inputs text, the callout opens and according to the entered text, the lists change. Works fine so far. Now, when the user selects an item from any of the lists, the callout closes. Also fine.Now the issue, after the callout is closed, the TextInput automatically regains focus.On a mobile device this is more than disturbing.
I narrowed this behavior down to the mobile TextInput skin spark.skins.mobile.TextInputSkin) since a TextInput without this skin class doesn't show this behavior.Now you might say just use the default skin instead but unfortunately I can't. The default skin has a bug with Android devices that doesn't pass though the enter event. That I could live with since I'n not necessarily dependent on the enter event, however, the spark mobile skin allows be to continue entering text in the TextInput even after the callout has been opened, which is desperately needed as the lists change according to the entered text.I can't provide any code as the problem has been narrowed down to the skinClass, thus should not be in my own code. Believe me, I tried every nice and not so nice method to prevent the TextInput from getting focus again, but nothing worked.
Edit:Below the steps of my application's behaviour. (to be fair, the workflow inside the callout is a little more complex, I'm working with several lists and a SplitViewNavigator here (thus can't use the Flextras autocomplete), but that doesn't affect the TextInput focus issue I'm facing).ter text in TextInputOn key change a Callout with two Lists is opened.The first List receives results according to the entered text from a webserviceUser selects item from listSecond list receives results according to selection from first list from webservice User selects item on second listCallout closes
View 1 Replies
Jul 2, 2009
Does anyone know how to remove the default drop shadow from ApplicationControlBar?[code]...
View 2 Replies
Jan 26, 2012
I am working on a drag and drop feature for the sparkScroller. This is sort of how my layout looks:
<mx:Canvas>
<s:Scroller id="items" .. />
<mx:Box id="dummyRow" visible="false" />
<s:View id="touchView" visible="false" />
</mx:Canvas>
So when you hold your finger over a row in the items Scroller for more than a 30 seconds, the touchView becomes visible so does the dummyRow. The dummyRow gets populated to look like the row which you held your finger over.
So the touchView has the event handlers for moving your fingers and places the dummyRow where your finger is. The problem I am having is even though the touchView is reacting to my move events, the scroller still keeps reacting to my move events as well even though it's a sub layer. Because I started on the scroller it still keeps track!
How can I remove focus / tracking from the scroller?
View 1 Replies
Dec 29, 2010
I am using a spark list control with an itemrenderer. Whenever I set an itemrenderer's currentState, the moment I mouse out of the itemrenderer, it gets reset to its default state. How can I make an itemrenderer keep its currentState unless I explicitly tell it to change?
View 1 Replies
Jan 15, 2012
I have a mobile application that has a Text Input used for searching. Below the search TextInput is a StageWebView. When I set the source of the StageWebView using loadURL() the key input is shifted to the StageWebView. How can I prevent this?
View 2 Replies
Dec 5, 2010
I burnt so much time on a costume made component which extends NumericStepper.Adobe should be ashamed.. The flash component quality is poor.Now I'm at stage that all I try to do is to disable the numericStepper's focus rectangle.I haven't found a thing that works, all of the solutions I came across were Flex related.To clarify : this is a pure flash ac3 project.. no flex involved.
View 2 Replies
Aug 14, 2009
[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 Replies
Mar 25, 2010
First 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.
View 3 Replies
Sep 14, 2010
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 Replies
Oct 19, 2010
I'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 Replies
May 23, 2007
Is it possible to control the properties (ie angle, distance, alpha, knockout, etc) of a drop show effect using actionscript?
View 1 Replies
Mar 10, 2009
So, 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]...
View 2 Replies
Jul 2, 2011
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 ?
View 3 Replies
Jul 21, 2011
This 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 Replies
Nov 22, 2011
How 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]......
View 1 Replies
Apr 29, 2009
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 Replies
Dec 8, 2011
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?
View 2 Replies
Apr 25, 2008
How can I make a rollover, where when you mouse over, a scripted drop shadow appears using the DropShadowFilter?
View 10 Replies
Aug 2, 2011
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 Replies
Jun 2, 2011
I 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 Replies
Oct 4, 2010
I 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.
View 5 Replies
Jun 18, 2007
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);
View 1 Replies
Nov 17, 2009
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 Replies
Sep 9, 2011
How to remove the cursor shadow (black shadow), when we use onChanged function, am validating the value from what I enter from keyboard
View 1 Replies
Jul 1, 2011
I have a renderer that looks like this:
[Code]...
Loading thumbnails using this method works perfectly. The issue happens when you scroll the List.
View 1 Replies