according the documentation borderThickness is an applicable style, but when I try to set it to anything (would prefer '0') it says "The style 'borderThickness' is excluded by type 'mx.controls.DateField'."I could style the background color to be the same as the background, but I have an image behind so this will not work.
Is there a way to Set a a focus border on a datefield when it is selected and change the border to some other colour when we lose focus from the datefield.
With the Flex 3 SDK you simply needed to set the borderThickness style to 0, or set borderStyle to none. With the Flex 4 SDK ad the Spark theme, this has no effect.
Which will scale my app to full screen and show the entire app with no cropping, however may leave borders on the left and right. Which it does I'm wondering if there is a way to remove or at least set the color of those borders, they are currently white. Its a big wide 2" section on the left only in my case.
So I found out how to change the color of it, by doing a backgroundColor="#f3f3f3" on
does anyone know how to remove that 'box' that appears everytime.I enter my online flash content. It simply gets on my nervs to click it once for activation and then start using my flash!
I'm working in ActionScript 3 and, yet again, I'm starting to regret trying to use components as it seems I always run into a brick wall when using them : (
I have a TextArea component instantiated and added to the display list programmatically via ActionScript 3 code (not AS2, which is all I could find reference to on the net about this).
How to disable the border so it doesn't show around the TextArea component? I've tried a bunch of things, like for example:
myTextArea.setStyle("border", "false"); and myTextArea.setStyle("borderStyle", "none");
I am making a form that pass's the Variables over to php. I am using Input text feilds and also a combo box. The text fields were a breeze and the combo box took a little bit of research but I got that working by assigning it a instance name of cBox and then using the following code to pass it through:
Code: cBoxVar= cBox.getValue();
Now I want to add a DateField using the AS2 DateField Component. How would I pass it over to a variable so when the form collects at the end it will go over to the php?
How do you remove the border & shadow from a scrollpane?I've tried to edit the component parts (after reading that it's a filter applied) but I can't find the component that needs edited.I've also tried setStyle for shadowColor and borderColor but that isn't making any difference.
I am embedding swf object into my html document, but its showing border on top and left of swf object, how to remove it? Same result on all browsers. If I increase the dimensions of swf object then border start appearing on all sides. I don't want the border at all.
I have decided to embed FLV movie files into my HTML page that I have rendered from After Effects.
I have noticed that there is a black 1px bottom border on my FLV movie on my webpage. The FLV fits perfect on the space I have left on my webpage and border is 0 everywhere. I have checked the After Effects original file and there is no accidental space or background errors that might be causing it.how to remove the black bottom border?
I' m trying to use the DateField control.I can set the current value using the selectedDate field.Adobe says: "Selecting the currently selected date in the control deselects it, sets the selectedDate property to null", so when user selects other date the selectedDate = null. How do I can get the current selected value? I only saw in the debugger that DateField's text property contains the string with selected date? Do I need to parse it back?
There is a thin border at the top and left margins of my Flash movie when the .html is viewed in a browser. How can it be removed?Here's the movie.One solution suggests replacing some code, but the code they suggest replacing doesn't even exist in my html file.I have found questions similar to mine being asked all over different forums, but their solutions either don't work, or like the above, don't really apply. For such a common problem, finding the solution is getting a little frustrating.
I'm using a dateField component (with editable = true) as an itemEditor in a dataGrid. Interestingly, when editing the textInput part of the dateField it doesn't seem to react to an ESC keydown as I would expect, i.e. reload old dateField value and give up focus. This seems to be standard for most other components, but not for as most other components do.
How would you go about implementing such behavior? I can listen to keydown == escape on the TextInput portion, but just realized that I don't know how to tell dateField to give up focus and politely close - in fact I'm not even sure that's the right strategy (maybe I should work at the DataGrid level?
I'm using Flash builder, with flex 4 sdk, I'm trying to create a DateField in which the TextInput component has rounded corners, this is my code, for some reason it doesn't work, anyone knows why?
Is there any Flex control to select months (any)? Right now I'm using a DateField and allow the user to select any date in a month to select that month.
Is there anything wrong with following snippet of code?
var d:Date = DateField.dateToString(myDateField.text,"DD/MM/YYYY"); testTextArea.text = d.getSeconds().toString(); Error: Implicit coercion of a value of type String to an unrelated type Date.
How to create a DateField in flex, that would disable all the dates before today's current date.
<mx:DateField id="dateField2" yearNavigationEnabled="true" disabledRanges="{[ {rangeEnd: new Date(dateBeforeCurrentDate} ]}" color="0x000000"/>
I understand I will have to do sometime like the code above. But I don't know how to get dateBeforeCurrentDate, so that all the date from yesterday will be disabled.
The change event seems to only throw when using the calendar pop-up. It is not thrown when the user manually types in to the field. I also tried dataChange.
I'm using the MX DateField control in Flex and want to display the date as 01 Jul 2011 or 01 July 2011. Does anyone know how to do this? I tried setting the formatString to "DD MMM YYYY" but it didn't work.
I have two Datefields .Is there a way that i can set the date of second Datefield to a specified range(say three days ...?. I tried to do it but not worked .. dont know to convert date back to string and format it .. here is the code
I have a Form with several FormItems and one of those include an mx:DateField. I am not sure how I should bind the DateField values. I have tried the following which none work:
Regarding the dateField, there is the TextInput and the Icon. I want the icon to appear on the left side of the TextInput instead of it appearing on the right side as it is in the default state.
I have a DateField component in Flex and I want to stop any user input. If I set the editable to "false" then it stops users changed the bits of the DateField box. It does NOT however stop them from clicking on the calendar icon next to it and updating the date. Is it possible to disable this? I basically want the component to be read only under some circumstances but not for it to have any alpha overlay. Therefore I want to use editable rather than enabled.