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.

Tags: BlackBerry Developers

Similar Questions

  • Focus problems

    Hello

    I spent a lot of time trying to figure out what was causing a weird problem that is a few clicks away from buttons are ignored. After doing some tests I ran into components compiled Clip. If I remove them from the library that the update works as I expect. The problem is that I don't want (and don't have the time to) create or find replacements for all of the Compiled clips I used in this project.

    Does anyone know how to overcome this problem without removing these components?

    I've created a simple example to show you guys the problem we have here.

    If you compile the code and run the application (slider.fla and problemCompiledClip.fla), then click on in the textField (to set the focus to the subject), you will see the focus remains in the textField component when you click the buttons. I don't want this behavior, I would like the update in the... invisible buttons.

    Now, if you go to the library (on problemCompiledClip.fla) and delete component ProgressBar which is not yet used, the behaviour you will get is that I want to achieve. This is the average, even if the focus is in the textField and then you click any button, the object disappears from the textField object. Who do ALL the events of clicks in the buttons of her captured.

    If I wasn't clear on the problem, let me know.

    Thank you very much
    See you soon

    the source code is here: http://www.actionscript.org/forums/showthread.php3?p=614213#post614213

    I use components if I am unable to get detailed help. but I know that this problem has been discussed in this forum and, I think, using the component development manager led to a resolution of the problem.

    Try this forum looking for something like focus problems. most of the people who encounter this problem do not realize it is a problem of component and if the components are not mentioned in their section of wire or a subtopic.

  • Infinity focusing problem on my SX700

    I always infinity focusing problems with my SX700.  I have the yellow box indicating that the image will be sweet if taken.  This happens on at least 1 other point cannon and shoot that I know.  I can focus to several hundred feet but not 10 000.  Does anyone else have this problem?  I am at my end and ready to jump ship to another manufacturer if I can't get to the bottom of this.  I never had this problem with my G-10.  Could this be a problem with extreme telephoto lens Canon point and shoot models?

    I have a Canon PowerShot SX150is and a Canon PowerShot G12, and I get the same questions. Here's what I learned. The problem with any long zoom point and shoot at the tele end is the amount of contrast detection that occurs to allow the development. With shorter zooms, the atmosphere is less dense, but more zooms to detect the density of the air. This is particularly noticeable on days with higher humidity levels, but would not have noticed the days of low humidity very dry. So the blur warning you get. The camera is not getting enough contrast to narrow the focus. No matter what brand you use, if the camera uses contrast detect focus, it will be the result. Not all use contrast detect, so be sure to check before you choose "deserting a ship."

    I would keep the ISO as low as possible, and if you can manually set the focus to infinity, it should help. But this has always been a sore spot with me on cameras Canon PowerShot with how long and complex manual focus is. Hope this helps you understand what may be the problem you are experiencing.

    Steve M.

  • Pinterest hover button in the composition of the carousel

    Hello.

    I try to add the pinterest "Pin It" hover button generated using the generator of Pinterest widget for all images on my site. The challenge is that when I followed the advice in other posts I've seen here, it does not work. The hover button should be hidden until the rollers of the user on the image - the version build social widgets does not support hover/different States.

    The widget generator Pinterest gives me this code to add:

    "< script async reporter data-pin-hover ="true"src="//assets.pinterest.com/js/pinit.js "> < / script >

    This should appear in every image on the site. I have my images put in place in some cases as a picture fill in a rectangle, and in the composition of the carousel, it is configured as a picture fill in the target rectangle. When I insert the script above in HTML format, I get a white square with "cannot be displayed." The same thing happens when I wrap it in a < div > element. I can't find any Muse or widgets from third-party for the stationary version of the PIN, he touches... does anyone know of any workaround for this or can anyone tell me what I am doing wrong?

    Thank you!

    Hi Lisa,

    You can try the suggestions mentioned in this thread icons of social media that change the color of the background when hovered

    Let me know if it works for you.

    Best regards

    Ankush;

  • Toggle button image on focus

    Hi all

    Tried to seacxh forum and google with no result...

    I have a button with "display button attributes' set
    * Style = Image
    * Image = jpg uploaded by myself.
    It then displays a button with an image I created.
    Let me now when the button becomes 'on-Focus' to show a different image to give a more professional look to the appearance of the button.

    I think I need some sort of command OnFocus on the command-line to attribute, but nothing seems to work.

    That's what I've tried so far

    Attributes (onfocus = "& lt; ("img src =" #FLOW_IMAGES #P1 - SMT.jpg "& gt;")

    Thank you

    Frank

    Published by: species 5618 on December 29, 2008 14:14

    Hi Frank,.

    You can do this using css and a special button model.

    First of all, in the components shared, models create a new button with the model model definition:

    <a href="#LINK#" #BUTTON_ATTRIBUTES#>#LABEL#</a>
    

    Now, set up your button to use this new model. Also on the button, set the button attributes on:

    class="button1OFF"
    onmouseover="javascript:this.className='button1ON';"
    onmouseout="javascript:this.className='button1OFF';"
    onfocus="javascript:this.className='button1ON';"
    onblur="javascript:this.className='button1OFF';"
    

    (Note that I've added above - line breaks is just to keep the thread neat so remove these before sticking in the parameter)

    Finally, in the context of header HTML of your page, add in the following:

    <style type="text/css">
    .button1ON {display:block; height:100px; width:100px; background-image:url(#WORKSPACE_IMAGES#image1On.jpg)}
    .button1OFF {display:block; height:100px; width:100px; background-image:url(#WORKSPACE_IMAGES#image1Off.jpg)}
    </style>
    

    Adjust the width and height values according to your needs and replace image1On.jpg and image1Off.jpg appropriate for images when the button has / does not have the focus. Of course, you can add other styles as needed (for example, border and font styles).

    Now, when the page is displayed, the image1Off.jpg image is displayed for the button, and if the user moves the mouse over the button or the top legs, onmouseover will change the image of image1On.jpg. When the user moves the mouse button or the legs of another element, image1Off.jpg will be re-posted.

    Andy

  • How to avoid the focus problem when browsing via browser back button

    Hello

    I am facing a problem in setting focus on the buttons.
    Please see application: http://apex.oracle.com/pls/otn/f?p=47869:2

    login details:
    Workspace: vsanthanam
    user: vijay
    PSWD: apex_demo

    In this application, I have 2 pages.
    #2 has the "submit" button
    Page no. 3 contains the Cancel button

    The two buttons are basic HTML and can be accessed using access key ALT + s and ALT + c.

    The problem is:
    When I go back to the previous page (pgid #2) of the application using back button of the browser pgid IE #3.
    due to the onFocus event located in the button "submit", control returns to pgid #3.

    Is there a possible way to set the focus to other elements. so that whenever IE brower back button, application would stay in
    page #2.


    I took approaches:
    -------------------------
    If we use onclick, onfocus instead and then the problem remains because we have onfocus = "this.click (); in equipping the Accesskey.
    Another way is onKeyup event. If we use onKeyup, we can avoid this browser back problem, but disappears from the access keys functions.

    Pointers on this would be a great help.

    Thank you very much
    -Vijay

    PLEASE NOTE: I have created intentionally two buttons on each page. It is necessary to have HTML buttons with the key features of access,
    otherwise application gives a few flaws in HTML accesskey.

    Hi Vijay,

    Crikey, aren't annoying browsers! It took a while to get out, but I've updated your SUBMIT1 button attributes:

    class="t20Button" AccessKey="s" tabindex="-1" onclick="javascript:this.blur();doSubmit('SUBMIT1');" onfocus="javascript:this.blur();doSubmit('SUBMIT1');"
    

    Note that I removed the spare semicolons you after each attribute - these are only required in javascript code.

    The important point to note are the statements of "this.blur" () - this tells the browser to move away from the current item to the next. On your page, only for this purpose, I have added a text element of Temp - I am assuming that your actual page will have at least one other element on the page that will accept the focus? Everything gets focus of the call "this.blur ()", should be the element with focus when the Back button is used.

    Andy

  • Focus button HorizontalFieldManager on Storm problem

    I have data exploited these forums looking for a solution but found nothing.  The application I've created has a title bar with 3 fields - previous button, label, next button.  Very simple and the layout works very well.  You cannot set the focus to the right button in the simulator of storm.  You can use the keyboard to navigate to it and click back.  But the keys do not work on this button.  If I change the center field to be a button, it works for the Center button.  Never for the right button.  I think it's a bug, but if you know a whole work please let me know.  Here is the code:

             // create previous button, current label, next button        ButtonField prev = new ButtonField("Prev", ButtonField.FOCUSABLE | ButtonField.CONSUME_CLICK);        _label = new LabelField("My Label", Field.FIELD_HCENTER);        ButtonField next = new ButtonField("Next", ButtonField.FOCUSABLE | ButtonField.CONSUME_CLICK);
    
    HorizontalFieldManager header = new HorizontalFieldManager(HorizontalFieldManager.USE_ALL_WIDTH)//HorizontalFieldManager.USE_ALL_WIDTH | HorizontalFieldManager.NO_HORIZONTAL_SCROLL)//HorizontalFieldManager.USE_ALL_WIDTH | HorizontalFieldManager.HORIZONTAL_SCROLL | HorizontalFieldManager.HORIZONTAL_SCROLLBAR | HorizontalFieldManager.RIGHTWARD)// | HorizontalFieldManager.NO_HORIZONTAL_SCROLL)
            {
                 public int getPreferredWidth()
                 {
                       return Display.getWidth();
                 }
                 protected void sublayout( int width, int height )
                 {
                    super.sublayout( width, height );
                    width = getWidth();
                    height = getHeight();               
    
                    Field leftField = getField(0);
                    if (leftField != null && equals(leftField.getManager()))
                    {
                        setPositionChild( leftField, 0, 0);
                    }
    
                    Field centerField = getField(1);
                    if (centerField != null && equals(centerField.getManager()))
                    {
                        int w = (width - centerField.getWidth()) / 2;
                        int h = (height - centerField.getHeight()) / 2;
                        setPositionChild( centerField, w, h);
                    }
    
                    Field rightField = getField(2);
                    if (rightField != null && equals(rightField.getManager()))
                    {
                        setPositionChild( rightField, width - rightField.getWidth(), 0);
                    }
                }
            };
            header.add(prev);
            header.add(_label);
            header.add(next);
            setTitle(header);
    

    Solved!

    Basically my manager should not call super, must call layoutChild before positioning and then affecting the scope of the Manager.  Yes, a lot of questions and unfortunately a lot of code examples on this site that.  Please visit this page on the managers how custom must be written:

    http://www.thinkingblackberry.com/archives/74

  • Setting the focus problem - stadium is null?

    I'm trying to programmatically set the development of a textinput, however the debugger throws me this error:

    Cannot access a property or method of a null object reference.

    I'm trying to set the focus with this line

    stage.focus = input
    

    For reference, here's a bit of the code

    package views
    {
        import flash.display.GradientType;
        import flash.display.Graphics;
        import flash.display.Shape;
        import flash.events.MouseEvent;
        import flash.events.TouchEvent;
        import flash.geom.Matrix;
        import flash.text.TextFormat;
        import flash.text.TextFormatAlign;
    
        import qnx.input.IMFConnection;
        import qnx.ui.buttons.LabelButton;
        import qnx.ui.core.UIComponent;
        import qnx.ui.display.Image;
        import qnx.ui.text.Label;
        import qnx.ui.text.TextInput;
    
        public class RenamePopupContainer extends UIComponent
        {
            private var input:TextInput;
            private var file:String;
    
            public function RenamePopupContainer(_file:String)
            {
                super();
                file = _file;
                setSize(1024, 600);
                setPosition(0, 0);
                createChildren();
    
                IMFConnection.imfConnection.showInput();
                stage.focus = input;
            }
    
            private function createChildren():void
            {
                var labelFormat:TextFormat = new TextFormat();
                labelFormat.color = 0xFFFFFF;
                labelFormat.size = 28;
                labelFormat.align = TextFormatAlign.CENTER;
    
                var mat:Matrix = new Matrix();
                mat.createGradientBox(400, 1);
    
                var line1:Shape = new Shape();
                line1.x = 312;
                line1.y = 92;
                line1.graphics.beginGradientFill(GradientType.LINEAR, [0xeeeeee, 0xeeeeee, 0xeeeeee], [0, 1, 0], [0, 127, 255], mat);
                line1.graphics.drawRect(0, 0, 400, 1);
                line1.graphics.endFill();
                addChild(line1);
    
                var label:Label = new Label();
                label.text = "Rename to?";
                label.setSize(450, 40);
                label.setPosition(287, 43);
                label.format = labelFormat;
                addChild(label);
    
                input = new TextInput();
                input.setSize(380, 40);
                input.setPosition(322, 120);
                input.text = file;
                addChild(input);
    
                var line2:Shape = new Shape();
                line2.x = 312;
                line2.y = 190;
                line2.graphics.beginGradientFill(GradientType.LINEAR, [0xeeeeee, 0xeeeeee, 0xeeeeee], [0, 1, 0], [0, 127, 255], mat);
                line2.graphics.drawRect(0, 0, 400, 1);
                line2.graphics.endFill();
                addChild(line2);
    
                var btnOk:LabelButton = new LabelButton();
                btnOk.setSize(120, 40);
                btnOk.setPosition(384, 210);
                btnOk.label = "Ok";
                btnOk.addEventListener(MouseEvent.CLICK, ok);
                addChild(btnOk);
    
                var btnCancel:LabelButton = new LabelButton();
                btnCancel.setSize(120, 40);
                btnCancel.setPosition(519, 210);
                btnCancel.label = "Cancel";
                btnCancel.addEventListener(MouseEvent.CLICK, cancel);
                addChild(btnCancel);
            }
        }
    }
    

    This is a fairly common problem: placement of a DisplayObject property has the value NULL until it has been added to the display list.  There are a few solutions, but the easiest for you would be, if this object never will be added to the display list once.

    // in place of your existing stage.focus line
    addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
    
    ...
    
    private function onAddedToStage(e:Event):void {
        removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
        stage.focus = input;
    }
    
  • Active page Menu hover button styling

    I saw a bug / problem with the 'Active' State on the menu buttons. Even if the current state on the buttons are correct in Muse design, whenever I have publish, then hover over the menu button of the active page... Design switches to a white font with a white bg. I need the white bg, but the color of the font is supposed to be black... as I put it inside the Muse.

    Here's what I mean click here

    Each menu item of the page in (steady state) goes to white on white. This is also a screen my Muse 'States' click here to let you know that I have it correct.

    Hello

    In HTML, whenever a link is in the active state, any other State not working on it. Here, in your case, the link is on the Menu item (button) and not on the text inside this button.

    Therefore, the color of the text changes, but the color of the button does not change when it is in Active state.

    I suggest you here you here use a different combination of colors so that it displays correctly for users.

    Kind regards

    Sachin

  • Flex 4: problems of Module with the mx AdvancedDataGrid

    Hello

    I have a modular application. SDK is 4.5 Hero.

    The main application loads a module and receives interface components user thereof, which are displayed thereafter.

    In general, the component, returned from the module displays OK with mx components and spark.

    However, if I add AdvancedDataGrid I get the exception:

    --------------------------------------------------

    TypeError: Error #1007: instantiation attempted on a non-constructeur.

    at mx.controls::AdvancedDataGridBaseEx/getSeparator() [E:\dev\hero_private_beta\frameworks\pr ojects\datavisualization\src\mx\controls\AdvancedDataGridBaseEx.as:4619]

    at mx.controls::AdvancedDataGridBaseEx/createHeaderSeparators() [E:\dev\hero_private_beta\fra meworks\projects\datavisualization\src\mx\controls\AdvancedDataGridBaseEx.as:4661]

    at mx.controls::AdvancedDataGrid/createHeaderSeparators() [E:\dev\hero_private_beta\framework s\projects\datavisualization\src\mx\controls\AdvancedDataGrid.as:2428]

    at mx.controls::AdvancedDataGridBaseEx/drawSeparators() [E:\dev\hero_private_beta\frameworks\ projects\datavisualization\src\mx\controls\AdvancedDataGridBaseEx.as:4575]

    at mx.controls::AdvancedDataGridBaseEx/updateDisplayList() [E:\dev\hero_private_beta\framewor ks\projects\datavisualization\src\mx\controls\AdvancedDataGridBaseEx.as:2120]

    at mx.controls::AdvancedDataGrid/updateDisplayList() [E:\dev\hero_private_beta\frameworks\pro jects\datavisualization\src\mx\controls\AdvancedDataGrid.as:2899]

    at mx.controls.listClasses::AdvancedListBase/validateDisplayList() [E:\dev\hero_private_beta\ frameworks\projects\datavisualization\src\mx\controls\listClasses\AdvancedListBase.as:3472]

    at mx.managers::LayoutManager/validateDisplayList() [E:\dev\hero_private_beta\frameworks\proj ects\framework\src\mx\managers\LayoutManager.as:719]

    at mx.managers::LayoutManager/doPhasedInstantiation() [E:\dev\hero_private_beta\frameworks\pr ojects\framework\src\mx\managers\LayoutManager.as:778]

    at mx.managers::LayoutManager/doPhasedInstantiationCallback() [E:\dev\hero_private_beta\frame works\projects\framework\src\mx\managers\LayoutManager.as:1157]

    ---------------------------------

    The compiler option is - keep-all-type-selectors. It works very well with the mx:DataGrid and all other components for example, but not with AdvancedDataGrid.

    My application has the following structure:
    TestLibrary - a library application containing a single interface:
    test. IModuleComponent
    Code:

    test package

    {

    Import mx.core.UIComponent;

    public interface IModuleComponent

    {

    function getComponent(): UIComponent;

    }

    }

    TestModule - an application of module, using TestLibrary as an EPIRB.

    Components:

    -test.module.TestModule.mxml

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

    < mx:Module ' xmlns:fx = ' http://ns.Adobe.com/MXML/2009 "

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

    "" xmlns:MX ="library://ns.adobe.com/flex/mx" width ="100%" height = "100%"

    implements ="test. IModuleComponent"xmlns:module =". test.module *">" "

    < fx:Declarations >

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

    < / fx:Declarations >

    < fx:Script >

    <! [CDATA]

    Import mx.core.Application;

    Import mx.core.UIComponent;

    Import spark.components.Application;

    test import . IInstanceFactory;

    public function getComponent(): {UIComponent

    return new TestComponent();

    }

    []] >

    < / fx:Script >

    " < s:VGroup width ="100%"height ="100%">

    " < s:Label text = 'Module of Test" / > "

    " < module: TestComponent width ="100%"height ="100%" / >

    < / s:VGroup >

    < / mx:Module >

    -test.module.TestComponent.mxml

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

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

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

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

    width ="100%" height ="100%">

    < fx:Declarations >

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

    < / fx:Declarations >

    < fx:Script >

    <! [CDATA]

    Import mx.collections.ArrayCollection;

    [Bindable]

    private var dpADG:ArrayCollection = new ArrayCollection([)

    {Artist:'Ground', Album:'Slanted and enchanted', price: 11.99},.

    {Artist:'Ground', Album:'Brighten the corners', price: 11.99},.

    {Artist:'Healthier', Album:'A child once', price: 11.99},.

    {Artist:'Healthier', Album:'Helium wings', price: 12.99},.

    {Artist:'The doors', Album:'The doors', price: 10.99},.

    {Artist:'The doors', Album:"Morrison hôtel", price: 12.99},.

    {Artist:' Grateful Dead ', Album:' American Beauty ', price: 11.99},.

    {Artist:' Grateful Dead ', Album:'In the Dark', price: 11.99},.

    {Artist:' Grateful Dead ', Album:' Shakedown Street ', price: 11.99},.

    {Artist:'The doors', Album:' Strange Days ', price: 12.99},.

    {Artist:'The doors', Album:'The best of the doors', price: 10.99}

    ]);

    []] >

    < / fx:Script >

    " < s:Label text = ' Test data grid" / > "

    < mx:AdvancedDataGrid

    width ="100%" height ="100%"

    "sortExpertMode ="true"

    dataProvider ="dpADG{}">

    < mx:columns >

    " < mx:AdvancedDataGridColumn dataField ="artist" / > "

    " < mx:AdvancedDataGridColumn dataField ="Album" / > "

    " < mx:AdvancedDataGridColumn dataField ="price" / > "

    < / mx:columns >

    < / mx:AdvancedDataGrid >

    < / s:VGroup >

    -----------------------------------------
    TestComponent is used twice:
    (1) in the module itself
    (2) in function getComponent(), who comes from the IModuleComponent interface.
    TestWebApp - the main web application.
    TestWebApp.mxml:

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

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

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

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

    minWidth ="955" minHeight ="600">

    < fx:Declarations >

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

    < / fx:Declarations >

    < fx:Script >

    <! [CDATA]

    Import mx.charts.chartClasses.InstanceCache;

    Import mx.core.UIComponent;

    test import . IModuleComponent;

    private onButtonClick() function : void {}

    var app: IModuleComponent = testModule.child as IModuleComponent;

    var testComponent: UIComponent = app.getComponent ();

    group.addElement (testComponent);

    }

    public function createInstance (instanceClass: class): object {}

    return new instanceClass();

    }

    []] >

    < / fx:Script >

    "" < s:VGroup width = "100%" height ="100%" id = "Group">

    " < mx:ModuleLoader id ="testModule"url ="... /.. " /TestModule/bin-debug/test/module/TestModule.swf"" "" "

    height ="100" width ="100%"

    {applicationDomain ="{} }ApplicationDomain.currentDomain"/ > "

    " < s:Button label = 'click me!"click = "onButtonClick ()" / >

    < / s:VGroup >

    < / s:Application >

    ---------------------------------------
    Initially when the web application is started the an AdvancedDataGrid (coming from the ModuleLoader tag that loads TestModule, which contains TestComponent) appears correctly.
    When the button ' Click me ' is clicked - TestComponent another instance should be added in the VGroup.
    Instead the exception above appears.
    IF TestComponent contains mx:DataGrid or any other spark or component MX - everything works fine - the 2nd instance of TestComponent is added.
    This problem only occurs with AdvancedDataGrid.
    I activated - keep-all-type-selectors in TestWebApp, I have tried all combinations of RLS, merged outside of libraries, etc. - no chance.
    The problem with preview of flex 4.1 and 4.5 burrito.
    I know it's a very specific question... but...
    We are trying to create a modular application in our company... and we want to use AdvancedDataGrid (spark DataGrid is not ready yet) so... Please help
    Thanks in advance,
    Deyan

    Create a string with the fully qualified name of the class.

  • Flex 3 problem UITextField height and layout

    Hello

    I use Flex 3 SDK 3.2.

    I have problems of determination of the height of a UITextField. (Unfortunately, I have to use the UITextField because I'm using FlashEff 2.0) "Otherwise, I would use a different component).

    I have a UITextfield multiline and wordWrap. The text is taken from a database, the length varies. I have a radioButtonGroup under the UITextField.

    My goals are:

    (a) to prevent the UITextField hit the radioButtonGroup VBox.

    (b) I want to change the position y the radioButtonGroup based on the height of the UITextField.

    (c) the TitleWindow height should be variable. The UITextField and the radioButtonGroup are a TitleWindow. I would like to change the height of the TitleWindow based on the content inside.

    At the moment, I have put y radioButtonGroup on the TitleWindow downwards, so that the content of the UITextField overlaps. But, when he doesn't are too much text in the UITextField, I get a huge gap between the radioButtonGroup VBox and her.

    I Googled, and from what I can tell, the height of the UITextField behaves strangely.

    Anyone know how to fix this?

    I create the UITextField like this:

    public var tf:UITextField = new UITextField;
    

            tf.autoSize = TextFieldAutoSize.LEFT;
         tf.embedFonts = true;
         tf.multiline = true;
         tf.text = myText;
         tf.width = 440;
         tf.wordWrap = true;
         var myFormat:TextFormat = new TextFormat;
         myFormat.size = 25;
         myFormat.blockIndent=53;
    
         this.addChild(tf);
         tf.validateNow();
         tf.setTextFormat(myFormat);
    

    My VBox looks like this:

    <mx:VBox  id="radioVBox" x="180" y="220">
         <mx:RadioButtonGroup id="myRadioButtonGroup" itemClick="goClickHandler(event);"/>
         <mx:RadioButton  groupName="myRadioButtonGroup" label="A"  fontSize="17" />
         <mx:RadioButton  groupName="myRadioButtonGroup" label="B"  fontSize="17" />
         <mx:RadioButton  groupName="myRadioButtonGroup" label="C"  fontSize="17" />
         <mx:RadioButton  groupName="myRadioButtonGroup" label="D"  fontSize="17" />
         <mx:RadioButton  groupName="myRadioButtonGroup" label="E"  fontSize="17" />
    </mx:VBox>
    

    And it's all wrapped up in a TitleWindow that looks like this:

    <mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" 
         layout="absolute" 
         width="520"  
            height="450"
            verticalScrollPolicy="off" 
         horizontalScrollPolicy="off" 
          >
    
    

    Any suggestions?

    Thank you.

    -Laxmidi

    Can you put the text field in the VBox, above the radio buttons? The VBox expected

    resize and adjust accordingly.

  • Flex 3: problems to load modules

    Hello:
    I had a problem to understand how to load a module. I need to create a menu (main program) to call a module (subprogramme). I use flex 3 to deploy the application using AIR. I don't know how to load the module and using a button for this call. Any help will be very welcome.

    Thank you.
    Nagisa

    For a simple method, you can use the buttons to set the URL of the moduleLoader as follows:


  • window focus problems

    Hello fellow travelers... Since the update to 10.11.5 I have problems with windows does not come to the front when you click on to and does not come to be the focused window. No left or right mouse clicks don't work in the window. I have to close and reopen a window to make it sensitive. I also get error messages stating that the audio files cannot be changed because they are read-only. I read in the Infolog & right of authorization user and administrator. The files are on an external drive and were available in os 10.9.5. Any ideas?

    See if start-up aid.

    Stop your Mac. Start with the SHIFT key is pressed. This will start in Safe Mode, with all extensions turned off. Safe mode is slow to comlete, so give it time, he checks a lot of staff. If it works fine in Safe Mode, restart normally.

  • T61 button on-screen display problems

    Hello, I had a problem with my T61 and I was wondering if someone here could help me. My laptop recently crashed, having the blue screen on startup, what reinstall me Windows Vista again and everything. I managed to recover all my files and everything seems to be back to normal with the exception of a few things. First thing that annoys me the most is that whenever I use my volume buttons on the keyboard, the volume up and down works but does not appear in green text, as before, say what volume number. In addition, my silence affects only the volume mute but not to reactivate the volume later. As the top and down the volume buttons, shortcut keys Fn + Home and Fn + end to increase or decrease the brightness of the screen work, but do not display the text on the green screen. Another problem I have is that my blue ThinkVantage button next to the volume buttons does nothing. Finally, my biggest battery icon appearing any more in the toolbar to the left of the clock and icons of small image next to the clock. I hope that these problems can be solved through these forums and I thank very you much for your help!

    Sweet, I got it fixed. I thought I ran an update of the system already but obviously not. Thanks for your help!

  • Astrophotography Focus problem

    Hello I have the NEX 6 (with the SALT 50 mm F1.8 lens) and most of the time to enjoy. I bought it mainly for astrophotography and need tips for image correctly targeted (during playback or downloaded on my computer). I can't seem to get a clear focus, on the LCD or electronic viewfinder, but reading and uploaded images are not as well doors. I take several images focus, but no adjustment of the scope or the camera make attention the final result. This problem is the same in all forms of astrophotography, home, eyepiece projection and imaging of the camera.

    What camera modes are best for this Live View configuration effect i.e? I tried to use peki Focus, but is not effective for these low light objects like planets. Even the Moon images suffer from the same problem.

    I tried pre-focus the camera to infinity by placing it on a tripod or grafted onto the stand using MF Assist and the scope for a 'infinite '. THA has not helped either. I tried techniques, proposed on the astro sites, such as the use of high ISO focus, wearing different glasses (and set the diopter adjustment VIEWFINDER accordingly) and reset the ISO for the shhot. none available seems to help. What suggestions do you have?

    Thanks in advance for any assistance with this problem.

    I would recommend that you enable the setting [before Shutter curtain]. This function is intended to shorten the time lag between the shutter by reducing the movement of the shutter mechanism.

    Vibration caused by the shutter must be quite negligible not because of blur your images. Please check if the images taken with the Shutter curtain before setting enabled and disabled will have any differences. If the subject (e.g. stars) move, slight blurring occurs when you use a slow shutter speed.

    If my post answered your question, please mark it as "accept as a Solution.

Maybe you are looking for