Flex :: Remove The Border Of A TextArea Component?
Jun 25, 2009With 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.
View 5 RepliesWith 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.
View 5 RepliesI'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 working on flash cs3. I am having a TextArea component in my application.
when i am doing right click on top of the TextArea component, I can able to see the options cut, copy, paste, delete and select all. Now i want to remove those options when i right click on top of the component. how to do this using Flash cs3.
I want to Remove The background Color and Border color of a tile list component in flash
View 1 RepliesI am working on flash cs3. I am having a TextArea component in my application. when i am doing right click on top of the TextArea component, I can able to see the options cut, copy, paste, delete and select all. Now i want to remove those options when i right click on top of the component. how to do this using Flash cs3.
View 2 Repliesaccording 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.
View 1 Replieshow to remove the border of a togglebuttonbar button, with keeping the theme color??
i want to put the style in css file
I have an old Flex app build with the Halo library. Now that Halo was changed to mx library, it makes the old Border component stop working and I'm unable to build the project anymore. Even when I try to change the library to MX, the Border cannot build.
View 1 RepliesI'm writing a standalone windows AIR app and using
contextView.stage.align = StageAlign.TOP;
contextView.stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
contextView.stage.scaleMode = StageScaleMode.SHOW_ALL;
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
See attached image below
I have different textarea in a application and these have different Ids, once user move cursor inside in the specific textarea, delete button activate and it execute a function to remove this item, the Id of the textarea assigned as string variable, In this case how could i delete the component from Canvas
View 1 RepliesI'd like to add some functionalities to the right border of my ADG component tothe user resize and potentially do more stuff. Is there a skin for that border? For instance, how would you make it wider, or add a handle that perhaps animates when you hover over it?
View 1 RepliesI'm having issues with implementing a flex button componentI have applied a CSS style to button and set border-color to, say #555555.So far, it works as expected.Then, when my application is resized, the border of the button component becomes blurred and its width automatically changes from 1 pixel to 2 pixels, which doesn't look very well.hen I maximize the app again, after the border is blurred, the buttons' border becomes 1 pixel and looks nice.
View 1 RepliesI'm trying to remove all line breaks from the text that is pasted into the Spark TextArea.
I have:
<s:TextArea id="inputSearchQuery"
width="100%" height="22"
[code].....
I am putting together a presentation on flex for adobe user group that specialize in coldfusion. In my example I would like to display the text of the cfc being called from the webservice tag in my flex application. Is there a simple way to load the actual text for the cfc instead of the html that coldfusion is passing back to my URLloader variable?
[Code]...
I have a weird issue (weird because it is specific to one component) with applicationComplete in a fairly simple application. All the UI components are declared in MXML. I can access them all in applicationComplete, but not a spark.components.TextArea component, named taStatus here; it is null in the handler.[code]...
View 1 RepliesI googled for almost a day to find the answer to my question: [URL]. This almost works (and is a great solution), but the solution doesn't work when I do:
1). Copy and paste multiple-line texts.
2). Write long and scroll the texts.
I also found another working example at: [URL]. (The autocomplete prompt appears when you press ctrl+space right at the caret's position). But an email from its author says he uses monotype fonts to calculate individual character's location. Is there a way to get multi-line input from a textfield?
I'd like to use a button within a component to remove it. So, you click it and the component is gone. But, I haven't figured out how you reference the component from within the component. What should I put in click=""?
My component: popCanvas
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Panel width="200" height="200" title="hello"
click="remove=">
[Code].....
I want to create a panel (or any other component) inside a component that has a 5 pixel border on all sides, but scales fully when the window is resized. I know I can set width to "100%" to make it resize, but that gives me no borders. If I put it to "95%",I have borders, but they scale annoyingly. Also, that only works for borders on the right or lower bounds, and not to the left or upper sides.Is there a convenient way to do this without having to write tons of resize-code (in which case I will not bother and just accept bad rescale behaviour, as it is for a private pet project).
EDIT: I know that I can just overwrite the display handling and set the positions manually every frame. I wondered if there is a cheap way to do it in the mxml-structure, along these lines:
<mx:Panel>
width="100%" height="100%"
</mx:Panel>
Coming from C++ and Java, I am intrigued by the option of setting something to "95%" and let the library work out the details, instead of having to write many lines of code, just so my text-area always keeps a 5 pixel distance from the border, but scales with window width.If there is no easier way to do it than figuring out pixel sizes by hand and setting the coordinates.
How to remove validation programmatically from flex componentThis is my method
public static function validateRequired(txt:TextInput, errorMessage:String="This field is required"):Boolean
{
[code]....
Is their any way to make the Button border disappear in Flex 3? I tried this
Code:
Button {
skin: ClassReference(null);
[code].....
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!
View 1 RepliesHow 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.
View 1 RepliesI 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.
View 1 RepliesIn the first button i am not able to remove the dark border from the button. I want exactly like 2nd button.
I am using the following CSS for button:
fillAlphas: 1, 1, 1, 1;
fillColors: #FCB913, #FC8613, #D4652D, #B34A2A;
themeColor: #FABA0A;
[Code].....
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?
q) One problem I still have. How do I remove this awful yellow border around the sprite container in AS3
private function checkNumber(e:Event=null):void{
trace("Globalvars.vars.noLoaded" + Globalvars.vars.noLoaded);
if(Globalvars.vars.noLoaded>=15){
[code].....
I have a few TextAreas in a Flash CS5 form, and I want to remove the focus from the last selected TextArea if the user clicks elsewhere on the form.
View 2 Replieshow to set the border for a list component. Its black at the moment and I need it a different colour.
View 1 RepliesI want to search a TextArea component (flex) to see if there are any lines containing "?". If there is, the whole line will be removed.[code]
View 3 RepliesThere 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.
View 1 Replies