TextInput borderStyle in Flex 4

In Flex 3, it worked but in Flex 4, the border is still displayed. Anyone know if it is a bug (and if so where should I declare it).

<? XML version = "1.0" encoding = "utf-8"? >
" < = xmlns:mx mx:Application ' http://www.Adobe.com/2006/MXML ">

< mx:TextInput borderStyle = "none" / >

< / mx:Application >

Thank you

Obviously the wrong... I can now to repro your question.

Initially I was testing with the halo theme, this is the reason why it worked.  borderStyle is honoured by the Halo theme, but not the theme of the spark.

for example

-Theme=${FlexLib}/themes/Halo/Halo.swc

So if you see defaults.css for TextInput framework project styles now look like:

TextInput
{
backgroundColor: #FFFFFF;
backgroundDisabledColor: #DDDDDD;
borderSkin: ClassReference ("mx.skins.spark.TextInputBorderSkin");
paddingTop: 2;
paddingLeft: 2;
paddingRight: 2;
}

So I think you can do something like:

or provide your own custom border skin.

Kind regards

Corey

Tags: Flex

Similar Questions

  • Refusing to spaces in TextInput?

    Is this possible? I want to prevent users from being able to enter spaces in a text input in my application.

    Use the restrict property:

    
    
    
        
    
    
    

    Work for the two s:TextInput spark in Flex 4 and MX/Halo mx:TextInput in Flex 3 + (and probably earlier). Or if you only want to allow a digital text input, check out http://blog.flexexamples.com/2008/05/15/restricting-which-characters-a-user-can-type-in-a-textinput-contr ole in flex /.

    Peter

  • Newbie Architecture question

    I'm trying to be a good Flex architect and put my script in external .as files using < mx:Script source = "asFile.as" / > to reference the file. The problem is, I'm referencing the different elements of the .as file command (for example, a function to clear form entries using something like: textInput.text = "";), however Flex Builder 2 shows errors (access of undefined property textInput) for all referenced controls.

    What Miss me?

    Al

    OK - thought of it. I divided the ACE in three files and called the relevant as each component file especially.

  • keyboard covering textinput in Flex, FB 4.6 (BB10)

    Hello

    In Flash Builder 4.6 while creating a mobile application flex in landscape mode, I have a textinput which is covered by the virtual keyboard when clicked, so that the user is typing "blindly." Is it possible for me to get the application to move upward because the keyboard is active, so that the user can see the keyboard, and when the keyboard is disabled, the application returns to its original state?

    Please refer to the diagram below

    Also, by selecting the type of keyboard in flex (number, email, etc.) doesn't seem to work. Help?

    Thank you.

    Check the following in app.xml:

    
    
    

    On the Simulator, I can't always the keyboard to automatically jump when the TextInput Gets the focus...

    Kind regards

  • Flex 4.5 - mx TextInput backgroundColor question?

    I've recently updated my app in Flex 4.5.1.

    I have a mx:TextInput whose background color, I changed to backgroundColor = "0xffffc3."

    Back in Flex 3, the entry of the whole text change color. Now the only bit that changes color is the background behind the text written inside the TextInput.

    I'm doing something wrong?

    If something has changed?

    I use the theme of Halo and no spark if it made a difference.

    ex.png

    I fixed it. In the end I had to use backgroundAlpha to zero.

  • Flex 4: spark textinput 'value data' not found?

    I have a textinput itemrenderer that Im trying to port for Flex 4. This control colors the background according to the value of the text.

    Two questions:

    (1) conversion for "spark" as a theme seems to be the substitution of the background color and given them to a default value.

    (2) in addition - conversion in "spark.controls.textinput" as the base class removes "override public set data() ' in function.

    If I'm not clear how this port control. Can I continue to use mx.controls. * and 'halo', but it seems that the device port at all.

    Suggestions?

    The spark controls do not have the itemrenderer feature in so that they can

    be a little less heavy.  I would give just a TextInput in an ItemRenderer.  See

    the doc and examples on Spark ItemRenderers.

  • [Flex 4.5.1] TextInput in a pop-up does not appear his promptDisplay? A bug or a problem of FocusManager?

    As it seems that the FocusManager is null of a TextInput tends in a pop up-> skin causes bad state of the TextInput - normal istead of normalWithPrompt and if the promptDisplay is not displayed as it should. The question is how properly configure the TextInput focus Manager is not null when it is a pop up? When the TextInput is not in a-pop, it works perfectly...

    The pop up is defined like this:

    < s:PopUpAnchor id = "popUpAnchor" left = "20" right = "0" top = low "0" = "0".

    popUpPosition = "bottom" >

    < s:Group id = menu "dropdown" >

    < s:TextInput id = "otherPhoneTI" width = "100" height = "23".

    prompt = "Enter phone number" / >

    < / s:Group >

    < / s:PopUpAnchor >

    I add the pop using the DropDownController like this:

    dropDownController = new DropDownController();

    dropDownController.openButton = openButton;

    dropDownController.dropDown = drop-down list.

    dropDownController.addEventListener (DropDownEvent.OPEN, dropDownController_openHandler);

    dropDownController.addEventListener (DropDownEvent.CLOSE, dropDownController_closeHandler);

    private void dropDownController_openHandler(event:DropDownEvent):void

    {

    callButtonView.popUpAnchor.displayPopUp = true;

    }

    private void dropDownController_closeHandler(event:DropDownEvent):void

    {

    callButtonView.popUpAnchor.displayPopUp = false;

    }

    I fixed that with a group extended as a drop down list which is the first element inside the popUpAnchor. It looks like this:

    package com.dialog.voxi.components.common

    {

    Import mx.core.IFlexDisplayObject;

    Import mx.managers.IFocusManagerContainer;

    Import spark.components.Group.

    SerializableAttribute public class PopUpGroup extends implements Group IFocusManagerContainer

    {

    public void PopUpGroup()

    {

    Super();

    }

    public function get defaultButton (): IFlexDisplayObject

    {

    Returns a null value.

    }

    public function set defaultButton(value:IFlexDisplayObject):void

    {

    }

    }

    }

    If anyone knows if this is the right way to do it or there is a better one, please let me know. Thank you!

  • Flex TextInput to get the current position of the cursor

    TextInput component in how to get the current position of the cursor? Because I want to record a loss of focus on the location of TextInput dynamically add text.

    Here:RichEditableText is a part of the skin of the class spark TextInput and is what is doing all the text in the editing/rendering of work. If you need to make all text advanced operations, they need to go through the property here. Because it is a part of the skin, you need to make sure that is not null before doing anything on this subject.

    Fixed typo: it is the property here is, not textInput

  • Drag and drop data from the DataGrid to textInput with flex.

    Hello

    Cay please help me on this problem...

    I have a datagid with certain values... I have a textInput on the user interface...

    There is a button '+' on the user interface... when I click on this button, it will add an additional TextInput box UI under the first TextInput... Like thiseverytime when you click on the button '+' it will add a TextInput more UI just below the other...

    Now, I want to drag the values in datagrid to Textinput boxes... User can move two or more raising each textInput on his requirement...

    How do I drag... could help me please out on the question of thi...


    I am not able to drag the TextInputs values:

    Here is my code: could someone please help me...

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:mx mx:Application ' http://www.Adobe.com/2006/MXML "layout ="absolute"width ="100% "height ="100% "creationComplete =" init () "> "


    < mx:Script >
    <! [CDATA]
    Import mx.containers.HBox;
    Import mx.controls.Alert;
    Import mx.managers.PopUpManager;
    Import Components.testPopUpWindow;
    Import mx.core.UIComponent;
    Import mx.containers.TitleWindow;
    Import mx.core.DragSource;
    Import mx.core.IUIComponent;
    Import mx.managers.DragManager;
    Import mx.events.DragEvent;
    Import mx.controls.Alert;
    Import mx.controls.Text;
    to import flash.geom.Point;

    Import mx.collections.ArrayCollection;
    [Bindable]
    private var dpFlat:ArrayCollection = new ArrayCollection([)
    {JobName: 'A'},
    {JobName: 'B'},
    {JobName: 'C'},
    {JobName: "D"},
    {JobName: 'E'},
    {JobName: 'F'},
    ([{JobName: 'G'}]) ;

    private function box_addChild (): void
    {

    box: HBox var = new HBox();
    Box.Width = 716;
    var descriptionTextInput:TextInput = new TextInput();
    var strButton:Button = new Button();
    strButton.label = "Submit";
    descriptionTextInput.width = 174;
    descriptionTextInput.height = 58;
    box.addChild (descriptionTextInput);
    / * box.addChild (strButton); */
    strButton.addEventListener (MouseEvent.CLICK, submitButtonClicked);
    interactiveQuestionsVBoxID.addChild (box);

    }

    public void init (): void
    {

    this.addEventListener (DragEvent.DRAG_ENTER, acceptDrop);
    this.addEventListener (DragEvent.DRAG_DROP, handleDrop);

    }

    public void acceptDrop (dragEvent:DragEvent): void
    {
    If (dragEvent.dragSource.hasFormat ("items"))
    {
    DragManager.showFeedback (DragManager.COPY);
    DragManager.acceptDragDrop (TextInput (dragEvent.currentTarget));
    }
    }

    var pt:Point;
    public void handleDrop (dragEvent:DragEvent): void
    {
    var dragInitiator:UIComponent = dragEvent.dragInitiator;
    var dropTarget:UIComponent = dragEvent.currentTarget as UIComponent;
    var table: items = dragEvent.dragSource.dataForFormat("items") in the table;
    / * pt = new Point (dragEvent.localX, dragEvent.localY);
    PT = dragEvent.target.localToContent (pt);
    var img:TextInput = new TextInput();
    IMG.x = dragEvent.localX;   IMG.y = dragEvent.localY;
    IMG.x = PT.x - Number (dragEvent.dragSource.dataForFormat ("mouseX"));
    IMG.y = PT.y - Number (dragEvent.dragSource.dataForFormat ("mouseY"));
    IMG. Width = 50;
    IMG. Height = 50;
    img.setStyle("fontSize",20);     IMG.source = "' Assets / ' + user.user points [0] +".png";"
    IMG. Text = Items [0]. JobName.toString ();

    img.buttonMode = true;
    img.mouseChildren = false;

    TextInput (event.currentTarget) .text = Arrayitems .label [0];

    var itemsArray:Array = event.dragSource.dataForFormat ("items") in the table; */
    TextInput (dragEvent.currentTarget) .text = points [0] .label;
    }

    public void beginDrag (mouseEvent:MouseEvent): void
    {

    var dragInitiator:TextInput = mouseEvent.currentTarget as TextInput;
    var dragSource:DragSource = new DragSource();
    dsource.addData (this, ' node');
    dragSource.addData (this.mouseX, 'mouseX');
    dragSource.addData (this.mouseY, 'mouseY');
    parent.addChild (dragImg);
    dragSource.addData (mouseEvent.currentTarget.text, "txt");
    try {}
    var dragProxy:TextInput = new TextInput();
    dragProxy.text = mouseEvent.currentTarget.text;
    Alert.Show ("text isss" + dragProxy.text);
    dragProxy.setActualSize (mouseEvent.currentTarget.width, mouseEvent.currentTarget .height)

    ask the DragManger to start drag
    DragManager.doDrag (dragInitiator, dragSource, mouseEvent, dragProxy);
    }
    {catch (e)}

    }

    []] >
    < / mx:Script >

    < mx:Canvas id = "c1" width = "100%" height = "100%" y = "10" x = "10" >

    < mx:DataGrid id = dataProvider "d1" = "{dpFlat}" x = "10" y = "119" dragEnabled = "true" dragMoveEnabled = "true" height = "229" width = "176" / >

    <!-< mx:Label id = "lbl" text = "Task name" width = "195" height = "28" x = "0" y = "0" fontWeight = "bold" / >-->
    < mx:Box id = "questionLabelMode" direction = "horizontal" width = '270.5' height = '24' y = "76" x = "211" >

    < name mx:Label = "Response" width = "173" text = "Answer" fontWeight = "bold" / >
    < mx:Button label = '+' width = click = "box_addChild ()"70";" "fontWeight ="normal"/ >
    <!-< mx:Button label = ""» width width = "71" fontWeight = "bold" click ="box_deleteChild (); "/ >-->
    < / mx:Box >

    < mx:VBox id = "interactiveQuestionsVBoxID" y = "119" height = "100%" width = "270.5" horizontalScrollPolicy = "off" x = "211" >
    <! - < mx:Box id = 'boxID' direction = "horizontal" width = "268" height = "58" > - >
    < mx:TextInput id = "t1" width = '174' dragDrop = "handleDrop (event)" height = "58" / > "
    <!-< mx:Button label = "Submit" id = "b1" / >-->

    <!-< / mx:Box >->
    < / mx:VBox >

    < / mx:Canvas >
    < / mx:Application >

    Hi Satya,

    I did it for you... Please copy the sub set of the code and try to run the application. You can see the application works for you.

    You have made two mistakes - you added event on this object listeners... but it refers to the current object (i.e.; your main application file but not TextInput).

    You so need addEventListeners to your textinput "t1" but not this...

    If you add listeners on it then in the functions of your 'acceptDrop' and 'handleDrop' you get 'dragEvent.currentTarget' as your main application but not TextInput (given that you added listeners to "this"). If you addListeners on t1 then its okay.

    Also, you need to add the eventListeners for the newly added text boxes like I did based on 'box_addChild' to the code below.

    Also in the handleDrop function the line of code where you set the text is bad... .it takes the code below...

    TextInput (dragEvent.currentTarget) .text = stock [0]. JobName;


    http://www.Adobe.com/2006/mxml"layout ="absolute"width ="100% "height ="100% "creationComplete =" init () ">"
     
      Import mx.containers.HBox;
    Import mx.controls.Alert;
    Import mx.managers.PopUpManager;
    Import Components.testPopUpWindow;
    Import mx.core.UIComponent;
    Import mx.containers.TitleWindow;
    Import mx.core.DragSource;
    Import mx.core.IUIComponent;
    Import mx.managers.DragManager;
    Import mx.events.DragEvent;
    Import mx.controls.Alert;
    Import mx.controls.Text;
    to import flash.geom.Point;
               
                   
       
               
    Import mx.collections.ArrayCollection;
    [Bindable]
    private var dpFlat:ArrayCollection = new ArrayCollection([)
    {JobName: 'A'},
    {JobName: 'B'},
    {JobName: 'C'},
    {JobName: "D"},
    {JobName: 'E'},

    {JobName: 'F'},
    ([{JobName: 'G'}]) ;
                 
    private function box_addChild (): void
    {
    box: HBox var = new HBox();
    Box.Width = 716;
    var descriptionTextInput:TextInput = new TextInput();
    var strButton:Button = new Button();
    strButton.label = "Submit";
    descriptionTextInput.width = 174;
    descriptionTextInput.height = 58;
    descriptionTextInput.addEventListener (DragEvent.DRAG_ENTER, acceptDrop);
    descriptionTextInput.addEventListener (DragEvent.DRAG_DROP, handleDrop);
       
    box.addChild (descriptionTextInput);
    / * box.addChild (strButton); */
    strButton.addEventListener (MouseEvent.CLICK, submitButtonClicked);
    interactiveQuestionsVBoxID.addChild (box);
    }
               
    public void init (): void
    {
                  
    T1.addEventListener (DragEvent.DRAG_ENTER, acceptDrop);
    T1.addEventListener (DragEvent.DRAG_DROP, handleDrop);
           
    }
       
    public void acceptDrop (dragEvent:DragEvent): void
    {
    If (dragEvent.dragSource.hasFormat ("items"))
    {
    DragManager.showFeedback (DragManager.COPY);
    DragManager.acceptDragDrop (TextInput (dragEvent.currentTarget));
    }
    }
       
    private var pt:Point;
    public void handleDrop (dragEvent:DragEvent): void
    {
    var dragInitiator:UIComponent = dragEvent.dragInitiator;
    var dropTarget:UIComponent = dragEvent.currentTarget as UIComponent;
    var table: items = dragEvent.dragSource.dataForFormat("items") in the table;
    / * pt = new Point (dragEvent.localX, dragEvent.localY);
    PT = dragEvent.target.localToContent (pt);
    var img:TextInput = new TextInput();
    IMG.x = dragEvent.localX;   IMG.y = dragEvent.localY;
    IMG.x = PT.x - Number (dragEvent.dragSource.dataForFormat ("mouseX"));
    IMG.y = PT.y - Number (dragEvent.dragSource.dataForFormat ("mouseY"));
    IMG. Width = 50;
    IMG. Height = 50;
    img.setStyle("fontSize",20);     IMG.source = "' Assets / ' + user.user points [0] +".png";"
    IMG. Text = Items [0]. JobName.toString ();
          
    img.buttonMode = true;
    img.mouseChildren = false;
            
    TextInput (event.currentTarget) .text = Arrayitems .label [0];
            
    var itemsArray:Array = event.dragSource.dataForFormat ("items") in the table; */
    var currTarget: * = dragEvent.currentTarget;
    interactiveQuestionsVBoxID = currTarget.getChildByName ("interactiveQuestionsVBoxID");
    TextInput (dragEvent.currentTarget) .text = stock [0]. JobName;
    }
           
           
    public void beginDrag (mouseEvent:MouseEvent): void
    {
             
    var dragInitiator:TextInput = mouseEvent.currentTarget as TextInput;
    var dragSource:DragSource = new DragSource();
    dsource.addData (this, ' node');
    dragSource.addData (this.mouseX, 'mouseX');
    dragSource.addData (this.mouseY, 'mouseY');
    parent.addChild (dragImg);
    dragSource.addData (mouseEvent.currentTarget.text, "txt");
    try {}
    var dragProxy:TextInput = new TextInput();
    dragProxy.text = mouseEvent.currentTarget.text;
    Alert.Show ("text isss" + dragProxy.text);
    dragProxy.setActualSize (mouseEvent.currentTarget.width, mouseEvent.currentTarget .height)
           
    ask the DragManger to start drag
    DragManager.doDrag (dragInitiator, dragSource, mouseEvent, dragProxy);
    }
    {} catch (error)
       
    }
         
    ]]>

       
     

     
         
         
     

     
                            
     


    If this post answers your question or assistance, please mark it as such.

    Thank you

    Jean Claude Chari

  • How to get the TextInput value

    I have written following code:

               var wpisz:TextInput = new TextInput();
                wpisz.setPosition(300,500);
                wpisz.text = "";
    

    What I'm trying to do is get this text value after the user clicks the button. If user enter value then click on the button and then in the entered label value is displayed. How to do this?

    Try something like this:
    
    // add imports here
    
    // set SWF params here
    public class MyApp extends Sprite
    {
      private var text_input : TextInput = new TextInput();
      private var button     : LabelButton = new LabelButton();
    
      ////////////////////////////////////////////
      public function MyApp()
      {
        super();
        // set attribute location and size information here
    
        this.addChild( this.text_input );
    
        this.button.label = 'Press Me';
        this.button.addEventListener( MouseEvent.CLICK, DoClick );
        // set btn size and location here
        this.addChild( this.button);
    
        this.stage.nativeWindow.visible = true;
      }
    
      ////////////////////////////////////////////////
      private function DoClick( event : Event ) : void
      {
        this.button.label = this.text_input.text;
      }
    }
    

    It has not been compiled or tested but you should get on your way.

    BTW, there are a lot of ActionScript, Adobe Flex and Adobe AIR examples on the web to use Basic controls and events.

    Good luck.

  • Bug when you set the text of a TextInput in MXML

    Hello

    I upgraded my Playbook Tablet OS version 2.0.0.6149 previous beta (I think it was 2.0.0.4xxx). Since then, my application written in Flash Builder 4.6 target AIR 3 fails when I put the text into a TextInput in MXML.

    The MXML code is:

    <>

    ID = "frequencyText" text = "440,000" / >

    When I run it, I get the following error:

    TypeError: Error #1009: cannot access a property or method of a null object reference.

    at qnx.stagetext.ui.text::EditableText/setAreaOfInterest() [/ home/builder/hudson/workspace/GR2_0_0_CE2-SWF_StageText/src/stagetext/src/qnx/stagetext/ui/text/EditableText.as:792]

    at qnx.stagetext.ui.text::EditableText/insertText() [/ home/builder/hudson/workspace/GR2_0_0_CE2-SWF_StageText/src/stagetext/src/qnx/stagetext/ui/text/EditableText.as:1015]

    to qnx.stagetext.ui.text::EditableText/set text() [/ home/builder/hudson/workspace/GR2_0_0_CE2-SWF_StageText/src/stagetext/src/qnx/stagetext/ui/text/EditableText.as:303]

    to flash.text:tageText/set text()

    to spark.components.supportClasses:tyleableStageText/set text() [E:\dev\4.y\frameworks\projects\mobilecomponents\src\spark\components\supportClasses\StyleableStageText.as:1143]

    to spark.components.supportClasses:kinnableTextBase / textDisplayAdded () [E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableTextBase.as:2315]

    to spark.components.supportClasses:kinnableTextBase / partAdded () [E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableTextBase.as:1751]

    at::TextInput/partAdded() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\TextInput.as:354] spark.components

    to spark.components.supportClasses:kinnableComponent / findSkinParts () [E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:736]

    to spark.components.supportClasses:kinnableComponent / attachSkin () [E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:701]

    to spark.components.supportClasses:kinnableComponent / validateSkinChange () [E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:443]

    to spark.components.supportClasses:kinnableComponent / createChildren() () [E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:406]

    at mx.core::UIComponent/initialize() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7634]

    to mx.core::UIComponent /() http://www.adobe.com/2006/flex/mx/internal:childAdded [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7495]

    at mx.core::UIComponent/addChildAt() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7199]

    at::Group/addDisplayObjectToDisplayList() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:2037] spark.components

    to spark.components::Group /() http://www.adobe.com/2006/flex/mx/internal:elementAdded [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1628]

    at::Group/setMXMLContent() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:633] spark.components

    at::Group/createChildren() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:855] spark.components

    at mx.core::UIComponent/initialize() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7634]

    to mx.core::UIComponent /() http://www.adobe.com/2006/flex/mx/internal:childAdded [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7495]

    at mx.core::UIComponent/addChildAt() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7199]

    at::Group/addDisplayObjectToDisplayList() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:2037] spark.components

    to spark.components::Group /() http://www.adobe.com/2006/flex/mx/internal:elementAdded [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1628]

    at::Group/setMXMLContent() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:633] spark.components

    at::Group/createChildren() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:855] spark.components

    at mx.core::UIComponent/initialize() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7634]

    to mx.core::UIComponent /() http://www.adobe.com/2006/flex/mx/internal:childAdded [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7495]

    at mx.core::UIComponent/addChildAt() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7199]

    at::Group/addDisplayObjectToDisplayList() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:2037] spark.components

    to spark.components::Group /() http://www.adobe.com/2006/flex/mx/internal:elementAdded [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1624]

    at::Group/setMXMLContent() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:633] spark.components

    at::Group/createChildren() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:855] spark.components

    at mx.core::UIComponent/initialize() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7634]

    to mx.core::UIComponent /() http://www.adobe.com/2006/flex/mx/internal:childAdded [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7495]

    at mx.core::UIComponent/addChildAt() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7199]

    at::Group/addDisplayObjectToDisplayList() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:2037] spark.components

    to spark.components::Group /() http://www.adobe.com/2006/flex/mx/internal:elementAdded [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1624]

    at::Group/setMXMLContent() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:633] spark.components

    at::Group/createChildren() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:855] spark.components

    at mx.core::UIComponent/initialize() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7634]

    to mx.core::UIComponent /() http://www.adobe.com/2006/flex/mx/internal:childAdded [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7495]

    at mx.core::UIComponent/addChildAt() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7199]

    at::Group/addDisplayObjectToDisplayList() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:2037] spark.components

    to spark.components::Group /() http://www.adobe.com/2006/flex/mx/internal:elementAdded [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1628]

    at::Group/setMXMLContent() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:633] spark.components

    to spark.components::Group / set mxmlContent() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:573]

    to spark.components:kinnableContainer/set mxmlContent() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:657]

    to spark.components:kinnableContainer / createDeferredContent () [E:\dev\4.y\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:1050]

    to spark.components:kinnableContainer / createContentIfNeeded () [E:\dev\4.y\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:1078]

    to spark.components:kinnableContainer / createChildren() () [E:\dev\4.y\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:885]

    at mx.core::UIComponent/initialize() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7634]

    at::View/initialize() [E:\dev\4.y\frameworks\projects\mobilecomponents\src\spark\components\View.as:999] spark.components

    views: InstrumentTunerHome / initialize)

    to mx.core::UIComponent /() http://www.adobe.com/2006/flex/mx/internal:childAdded [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7495]

    at mx.core::UIComponent/addChildAt() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7199]

    at::Group/addDisplayObjectToDisplayList() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:2037] spark.components

    to spark.components::Group /() http://www.adobe.com/2006/flex/mx/internal:elementAdded [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1628]

    at::Group/addElementAt() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1387] spark.components

    at::Group/addElement() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1345] spark.components

    to spark.components:kinnableContainer / addElement () [E:\dev\4.y\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:761]

    at::ViewNavigator/createViewInstance() [E:\dev\4.y\frameworks\projects\mobilecomponents\src\spark\components\ViewNavigator.as:2018] spark.components

    at::ViewNavigator/commitNavigatorAction() [E:\dev\4.y\frameworks\projects\mobilecomponents\src\spark\components\ViewNavigator.as:1932] spark.components

    at::ViewNavigator/commitProperties() [E:\dev\4.y\frameworks\projects\mobilecomponents\src\spark\components\ViewNavigator.as:1301] spark.components

    Best regards

    Ben

    In Flex 4.6 Adobe had changed the TextInput control to use StageText instead of TextField. The native implementation of StageText PlayBook is basically a version not stripped of the qnx.fuse.ui.TextInput. There are some use cases that throws an error our implementation of StageText.

    The solution for now is to put a skin.

    http://supportforums.BlackBerry.com/T5/Tablet-OS-SDK-for-Adobe-Air/Tablet-SDK-2-0-for-FB-4-6-TextInp...

    We are working on a fix for version 2.0 of the final tablet. It is also worth noting that this error comes from a code that is on the device and not in the SDK.

  • Candle hover button in Flex focus problem

    Hello

    I do not know if someone have experience this, but if we do app using flex mxml actionscript and use the power of flex button, the hover accent color will disappear after copy paste see the pop-up window.

    This allows to simulate inside the flex flex app create a mobile application. A switch of ignition and a textfield or textinput. Then run hover over the button, you can see consulted them who turn to the color blue. After this click within the textfield or textinput to the copy paste see the popup and hover over the button again. Now the stationary accent color is missing, and even if we click on the animation click also lack.

    So is this a bug in flex or have no work around?

    Thank you

    
    http://ns.adobe.com/mxml/2009"
            xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView">
    
        
            
        
    
        
            
        
        
        
    
    

    Here is my code that I did it for the test, the only difference is that I place an event to see if the button still worked and I id of the object textfield so I could access it. The button in the pressed state in fact not appear, but the event is still raised.

  • Unable to focus TextInput enter data

    Hello

    I am using Macromedia Flex 1.5 & Action Script 2.0 for my Application using Jrun4 as a server.

    Now, my problem is that I am unable to concentrate and impossible to get the cursor in TextInput enter data,

    When I use component load inside another component of loading.

    For example

    < mx:Loader id = "courseSchedule_Loader" contentPath = "loader.mxml.swf" showBusyCursor = "true" / > "

    Inside the loader.mxml, I use a charger that has textinput as a component.

    < mx:Loader id = "TextInput_Loader1" contentPath = "TextInputLoader.mxml.swf" showBusyCursor = "true" / > "

    Concerning

    Rajasekhar

    Try the tabEnabled and tabChildren true on the charger setting.

  • Flex in a week: run the mxml, but nothing shows

    Hello

    I do the flex in a week course. Pain in the ass to see the design mode is gone but good no worries.

    In any case, I run the mxml and nothing shows. I also ran the swf that was produced and Yes - empty. However, the code seems fine so I am confused.

    < / s:Application >

    <? XML version = "1.0" encoding = "utf-8"? >

    " < = xmlns:fx s:Application ' http://ns.Adobe.com/MXML/2009 "

    xmlns:s = "library://ns.adobe.com/flex/spark".

    xmlns:MX = "library://ns.adobe.com/flex/mx".

    minWidth = "955" = "850" minHeight >

    <!-exercise 1.01: implementation of your project-> files

    <!-- Styles ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

    < fx:Style source = "Styles.css" / >

    <!-- Script ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

    <!-statements ~ ~ ~->

    < fx:Declarations >

    <! - Place non-visual elements (e.g., services, items of value) here - >

    < / fx:Declarations >

    <!-UI components ~ ~ ~->

    < s:Label x = "10" y = "34".

    width = "690" height = "40".

    Text = "" Employee Portal: vehicle request form ""

    styleName = "titleHeader" / >

    < s:Form x = "10" y = "70" >

    < s:FormItem label = "employee:" >

    < s:DropDownList / >

    < / s:FormItem >

    < s:FormItem label = "office phone:" >

    < s:TextInput / >

    < / s:FormItem >

    < s:FormItem label = "Mobile phone:" >

    < s:TextInput / >

    < / s:FormItem >

    < s:FormHeading label = "Dates" / >

    < s:FormItem label = "pickup Date:" >

    < mx:DateChooser / >

    < / s:FormItem >

    < s:FormItem label = "Date of return:" >

    < mx:DateChooser / >

    < / s:FormItem >

    < s:FormItem >

    < s:Button label = "Submit Request" / >

    < / s:FormItem >

    < / s:Form >

    Are you sure that you run the mxml right? A few time to create a new also helps. Sometimes templates html (js files) are absent from this cause an error javascript and nothing to load. Usually, the own generation project done. If you right click on the generated swf file that shows?

  • Is it possible to integrate a small image within a textInput field?

    I need to add a small image in the left corner of my fields textinput (inside the real field). Does anyone know how to do this? These images should be separated by a very thin vertical line, as well.

    http://www.Adobe.com/devnet/flex/videotraining/exercises/ex5_05.html

    It is actually quite easy. It may seem a bit difficult at the beginning.

    http://help.Adobe.com/en_US/Flex/mobileapps/WS19f279b149e7481c698e85712b3011fe73-7fff.html

    If I remember this evening, I'll post an example. I have no code easily available for the moment. Recently, I have been the construction of most of the interfaces in flash and create a swc library.

Maybe you are looking for