problems with disappearing/reappearing user interface components

We are developing a Flex application for web environment in our society and have stumbled on a rather strange problem. Me and a college of mine have been scratching our heads for several days for this.

We use navigator tab to switch between different custom components. Custom components all work as they should, but the problem sometimes occurs when you switch from one tab to another. The content of the tab disappears and so does the other tabs, apartment of one selected and the two buttons we are having above the tab navigator. Then the interesting part, all buttons and tabs reappear when I get my mouse on them, not all at once, but when I get my mouse on them. The text that is contained in the tab appears at the time where I change the tab in my browser and come back to enforcement tab setting tab browsers creationPolicy = "all" only sort of fixes the problem the buttons no longer disappear. This does not create a new kind of difficult problem, some of the features other tabs fires a little too early in a sense that they are not necessary at this time to fire, in fact they are not ment to be fired before selecting this particular tab in fact.

I hope I wasn't too little clear explaining the problem. Does anyone have an idea what would cause the problem? Any help would be greatly appreciated. Thank you in advance.

Maybe an invalidateDisplayList() call the browser to tab after a click will set the whiteness.

Custom components, particularly those written in AS3 which draw and discount isn't like the rest of the Flex Framework seems to cause random white boxes in my experience.

Tags: Flex

Similar Questions

  • Interact with the user interface components

    I'm trying to find a GOOD way to interact with the external classes user interface components. For example, that you have a 'controller' class that needs to access the view of the user interface in some way (define a label text or something else). The controller class does not do anything, it discusses only the logic of what should be the case. Currently, it is created by my top-level class when the program starts. He listens to some events occur and needs to update/interact with the user interface or the State of the application depending on what events are. I do not seem to be a way for this controller class to easily access the UI component that I need to get my hands on.

    I'm trying to do to reduce the size of a file of mxml WindowedApplication growing (LOOK cool but that is not important) and take part of the logic of the application of this file.

    It's complicated by the fact that the label is in a State that does not have the status of 'base' (so it is not a child, or even a subsidiary child of the main class at boot time) and by the fact that it is not yet near a high school component. (If that were the case, I could probably just pass the label object in the constructor for the outdoor classroom.)

    In other words, I can't just call getChild ("labelName") on my 'main' request object because it is buried nested inside OTHER components. I don't think I like the idea to browse all components and sous-composants recursively looking for the component that my outer class trying to ask. I thought about other ideas, but I don't like any of them enough to try them, eh.

    I'm at the point now about where I come to the conclusion that my fundamental design strategy is wrong, or Flex just not allowing complex applications where the GUI components can interact with external classes relatively pain-free. I'm not convinced that "Flex cannot do', I'm looking for advice on some great Flex application in all design patterns.

    Where do you put this kind of control logic, and what happens when it starts to overflow and become so large that you need to break in other files?

    Found a solution, I think that's what I've been looking for:

    http://labs.Adobe.com/wiki/index.php/Cairngorm

  • bean, containing the business logic and user interface components

    Hello experts design ADF, please guide me.   I came across a critical design aspects.  I have the homepage with a lot of UI, region 1, region 2 components. I bind the components of the user interface of the page at a session scope managed bean and is the reason why, when control passes to the region 1 or region 2, I'm going to do a lot of processing logic and then on that basis, I have to update the page user interface components.   Same thing with region 2 also.  And then I should be able to access the information in all regions and also through other components of interface user etc.

    I see only the scope session bean can help me here to get my tasks in all regions and in all the other components of the interface user to the page because I'm not able to spend too many parameters in all regions.     Now the problem is, I can't serialize this bean because as I've mentioned a lot of user interface components are updated based on logic.

    If I do not serialize the bean, I might have a problem in the future when the application must be deployed to the cluster envt.

    I don't know how can I go with my design now.   Please give me ideas, brilliant and very grateful for your advice.

    Thank you

    Hello

    I did not follow the entire thread, but this last message, I can tell that you are not using ADF how it should be used. So let me address two issues

    1. I use data controls generated on methods of bean managed my areas (workflow).

    If you create a POJO data control that you configured as controlled beans then this will be two instances (separated) from the same Java class. This means that they do not share anything. The only option to share state between a managed bean and a data control is if you would have the data dynamically control bean up the bean managed using the language of Expression of the 8which then however creates a dependency between the DC and the bean - however, there are use cases like that)

    2 activation / deactivation of the buttons in the parent view of a region

    This can be done using bean-injection, which is a bean managed in extended view defined on the parent view that you pass as parameter for the workflow. See: http://www.oracle.com/technetwork/issue-archive/2013/13-may/o33adf-1920483.html

    As said, I haven't read the entire thread, but want to point out that there is enough information in writing (product documentation) and video (Insider ADF - who teach the development of SFM practices http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfinsider-093342.html take the time to review this)

    Frank

  • [ADF, JDev12.1.3] How to add user interface components in a page before you display it or hide it?

    Hallo,

    I started to raise this issue with the rohanwalia type () in this thread Re: Re: [ADF, JDev 12.1.3] how to hide menu items based on the logged-on user but maybe it's better to make the question in a separate thread.

    I have a page home.jspx with some user interface components (menus bars, text entry, buttons,...).

    Unbounded workflow

    loginPage.jspx - loginSuccess-> home.jspx

    Based on the logged in user, I programmatically to hide (for example some buttons and menu items) or to add UI components on the page home.jspx.

    Thus, in the managed bean (request scope, right?), associated with the page I want to write a method that before appear the home.jspx makes the task above.

    {initPage()}

    Here, I call an AM method for each component that says that if

    -According to the user - it should be visible or not.

    This information is stored in a Boolean vars, one for each component.

    IT1.setVisible (it1visible);

    IT2.setVisible (it2visible);

    B1.setVisible (b1visible);

    ...

    }

    How can I do to make this method runs automatically when the page is rendered?

    Thank you

    Federico

    Hi Federico

    you use links to visible false, but before pageload links are not accessible at the bean so when you call after the page load button works but before pageLoad, it won't

    so rather than use binding use variables of bean to the value true or false and provide references to the visible property of inputField

    Suppose that to create a Boolean variable and getter setter now is the button click set a value false

    Thank you

  • Panel/container for the user interface components?

    Forgive my ignorance, I'm sure this is a stupid question with a simple answer, but I am new to both Adobe dev and QNX.

    Is there anything for an Air application on the Playbook that acts as a container for the elements of user interface - similar to, say, the StackPanel in Silverlight? My preliminary research on Actionscript itself says not, but so far, the QNX components have been the saving grace of this platform, so I hope that there is a component of QNX UI that I don't know

    Thank you.

    Hey deeko,.

    Yes, there is a class called (ironically) container that can help you with what you want. Here is the Doc of the API and information with examples for this:

    http://www.BlackBerry.com/developers/docs/airapi/1.0.0/QNX/UI/core/container.html

    im going to assume that you have not yet watched on the COMPRESSED AIR SDK library yet, so here is the link in case you were curious about other things you need in the future:

    http://www.BlackBerry.com/developers/docs/airapi/1.0.0/index.html

    hope that helps. Good luck!

  • Satellite L870: Problem with USB to serial interface with FTDI chipset

    Hi all

    bought a L870 year last to run software amateur radio via USB to the serial interface.
    Interface uses the FTDI chipset.

    The problem I have is that the switch on the led on the interface flashes green to red several times to indicate that it works, but then must remain on green but task on every minute she goes through the same process again.

    All the controls on the drivers and the Manager of devices indicates that everything is ok. No problem with interface on computers laptops happens or advent.

    Is there anything on the Toshiba laurys usb ports every minute.

    Thanking you in advance for any ideas

    First of all, I must say that there are different models of L870 Satellite on the market supporting different hardware and software. Some are preinstalled with 8 and some Win with Win 7.

    In addition the L870 supports USB 2.0 and USB 3.0 standard.
    If you recommend to check the different USB ports and check if your software works correctly with the USB 3.0 standard.

  • Need to reference the style user interface components

    Hello

    I am struggling to find good documentation with examples on how to style

    buttons, background - color, border, background...

    I am developing an application with a clear with blue background

    three main links/keys that blend into a background that change color

    on hover.

    I want to make it look like links on the web page that don't stand

    on the color of fonts and that hover slightly change.

    At the moment I have three buttons, but they look very big and clunky and I

    don't know where to find a good guide to change style for user interface elements.

    Could someone please provide link to these resources or examples.

    Thank you advance.

    (if you intend to say 'have you tried Google', please Don't)

    On the bottom

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

    Through these discussions.

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=45613#M45613

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=39156#M39156

    On the button

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

    Audit of the custombuttons sample shipped with the JDE.

    Also give a glance to the next CustomButton.

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=37909#M37909

    Concerning

    Bika

  • How to expose the user interface components in a managed bean?

    Hi all
    I created a jsf page without exposing user interface in controlled beans components.
    And the page is created successfully.
    But now I want to expose components from user interface again controlled beans
    How to do this?
    Help, please

    Select your device in the main menu Jdeveloper, in the property Inspector find Binding property--> click on edit to bind this component to a property of the managed bean.

  • Problems with the Transition of custom components bare in s:TileGroup

    I have a problem with transitions play does not correctly on a custom component that is displayed in a < s:TileGroup >.

    Code of the custom component;

    <?xml version="1.0" encoding="utf-8"?>
    <s:SkinnableComponent xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
     skinClass="com.mydomain.view.skins.SkinFile">
     
     <fx:Metadata>
      [SkinState("normal")]
      [SkinState("photo")]
     </fx:Metadata>
    
     <s:states>
      <s:State name="normal" enterState="invalidateSkinState()" />
      <s:State name="photo" enterState="invalidateSkinState()" />
     </s:states>
     
     <fx:Script>
      <![CDATA[
       override protected function getCurrentSkinState():String {
        return currentState;
       }
      ]]>
     </fx:Script> 
     
    </s:SkinnableComponent>
    

    The skinfile itself is relatively simple

    <?xml version="1.0" encoding="utf-8"?>
    <s:Skin 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="300" height="200" width.photo="140"
      >
       
     <fx:Metadata>
      [HostComponent("com.mydomain.view.components.MyComponent")]
     </fx:Metadata>
     <s:states>
      <s:State name="normal"/>
      <s:State name="photo"/>
     </s:states>
     
     <s:transitions>
      <s:Transition autoReverse="true">
       <s:Resize target="{this}" duration="500" />
      </s:Transition>
     </s:transitions>
     
     
     <s:Rect id="rect" radiusX="15" radiusY="15" top="0" right="0" bottom="0" left="0">
      <s:fill>
       <s:LinearGradient rotation="90">
        <s:GradientEntry color="0xffffff" ratio="0" />
        <s:GradientEntry color="0xf0f0f0" ratio="1" />
       </s:LinearGradient>
      </s:fill>
      <s:stroke>
       <s:SolidColorStroke color="0xc0c0c0" weight="1"/>
      </s:stroke>
     </s:Rect>
     
    </s:Skin>
    

    When displaying a couple class MyComponent instantiated in a s:TileGroup as follows;

    <s:TileGroup width="940" verticalGap="20" horizontalGap="20" clipAndEnableScrolling="true">
     <components:MyComponent currentState="{theState}" />
     <components:MyComponent currentState="{theState}" />
     <components:MyComponent currentState="{theState}" />
     <components:MyComponent currentState="{theState}" />
     <components:MyComponent currentState="{theState}" />
     <components:MyComponent currentState="{theState}" />
     <components:MyComponent currentState="{theState}" />
     <components:MyComponent currentState="{theState}" />
     <components:MyComponent currentState="{theState}" />
     <components:MyComponent currentState="{theState}" />
     <components:MyComponent currentState="{theState}" />
     <components:MyComponent currentState="{theState}" />
    </s:TileGroup>
    

    and saw two buttons to switch the value of the 'State' to 'Normal' or 'photo', it resizes the component properly to the small size, but that goes back to the smaller size to the largest size, it does not play the transition. It just makes small to large immediately.

    The strange thing is, however, that if I use a tag < s:HGroup > instead of < s:TileGroup > it works like a charm, so I guess that's not so much the custom component or skin that is causing problems.

    When I put the transition of the size of the component itself instead of in her skin, then it works as expected, but I think that transitions should be defined in the skin and not in the component itself, right?

    I do something wrong or didn't I just encountered a bug maybe?

    It took me a while to realize it was.  TileLayout organises its elements in a grid of 'cells' and each cell is the same size (the size of the largest component).  Then, each element is placed in its own cell because the horizontalAlign/verticalAlign properties.  By default, TileLayout a horizontalAlign = justify which means that extends the element to the size of the cell.  In order to have an effect of resizing plays on the skin of the element does not really have any effect.  He gets to work when the shrinkage, but fails more and larger, I guess because the increase in the width of an element affects all cells, while the lower has not.

    So I think the right thing to do here is to either wrap a group around the Rect and mentioned target that you like, or the TileGroup.horizontalAlign left/center/right value.

    Here's a simplified example of how you can reproduce it:


    http://ns.Adobe.com/MXML/2009.
    xmlns:s = "library://ns.adobe.com/flex/spark" >
       
            [Bindable] public var test: Boolean = true;
    ]]>
       

       
       
           
               
                   
                       
                       
                       
                       
                   

                   
                   
                       
                           
                       

                       
                           
                       


                   
                   
                   
                       
                   

               
           
       
       
       
           
       
       
       
           
       

       
       
           
           
       

       
       
           
           
       

       
       
           
           
       

       

    If you wish, you can ask about a bug, but I have the feeling that we would not be can not fix because probably you shouldn't use horizontalAlign = justify and change the width of the element at the same time.

  • Problem with the Login user and scroll form

    Hi all, I have a problem with the form for the user to login to my page.

    There is a connection user transaction and the cursor automatically appears in the tefxfield of connection, which causes the page to scroll automatically, so the banner is completely displayed.

    I tried with the blur() and javascript function, but it simply doesn't. Anyone know a solution to this problem?

    Just came across the following in the file 'includes/tng/scripts/FormValidation.js ': code snippet

    if (typeof KT_FVO['kt_login_user']!='undefined') {
                   var user_name_ctrl = document.getElementById("kt_login_user");
                   if (user_name_ctrl) {
                        user_name_ctrl.focus();
                   }
              }
         }
    

    If I understand correctly, here´s where ADDT´s "kt_login_user" of field entry will focus on loading the page, so I think basic is enough to disable the line...

    user_name_ctrl. Focus();

    .. .to add a first comment in javascript:

    user_name_ctrl. Focus();

    See you soon,.

    Günter

  • XML, binding of user interface components

    Can I link to the user interface component properties to XML data that is read from an HTTPService? I would like for example bind the text property of a TextInput to the myXML node tag.

    (no real source)
    [Bindable]
    private var myXML:XML is the event.result returned by a formatted HTTPService-e4x;.

    It does not work
    BindingUtils.bindProperty (myXML, "Node", myTextInput, "text");

    < mx:TextInput id = "myTextInput" >


    I know that this is possible to do with < mx:XML > and < mx: Model >, but this habit ever because these tags need to know the source XML during compilation (right?).

    Thanks for any help.

    EDIT:

    Nevermind :), it works very well!

    Can I link to the user interface component properties to XML data that is read from an HTTPService? I would like for example bind the text property of a TextInput to the myXML node tag.

    (no real source)
    [Bindable]
    private var myXML:XML is the event.result returned by a formatted HTTPService-e4x;.

    It does not work
    BindingUtils.bindProperty (myXML, "Node", myTextInput, "text");

    I know that it is possible to make the and , but this habit ever because these tags need to know the source XML during compilation (right?).

    Thanks for any help.

    EDIT:

    Nevermind :), it works very well!

  • Problems with the Firewire Audio Interfaces

    I use a Presonus Firebox for all of my recording and playback. I just bought a new pc HP with Vista64 and I had problems with my audio since then. Symptoms include random audio dropouts, crackling sounds when you scroll through the menus in my software, no noise at all from windows media, no windows generally sound player. Everything works sometimes, but inevitably fails. Once the audio is de-energized my only solution is to restart the computer, and then it still doesn't work sometimes. I don't understand. My last computer was a couple of years and built the hand. It worked perfectly with this unit until the motherboard is dead after what I bought my new HP desktop with terrible results. The main difference between my pc and this one is that I was using XP and XP64. However, I have the right drivers for the home and the computer recognizes it but I can't operate consistantly and correctly. This new HP has more power than my last, and more then enough power for my needs recording software. I would like to know, I've been recording music on PC for 8 years. Any advice would be welcome.

    I am now convinced that the long nightmare is finally over. I tested my home over and over again with no failures. Record and playback midi seem to work perfectly. Here's what I did:

    1 optimized my computer for audio streaming using the guide written by sweetwater.com.

    2 uninstall all the drivers from Presonus and all software, including the removal of all PreSonus files on the registry using the instructions provided by the technical support of PreSonus.

    3 disabled WLAN and then physically disconnected from the motherboard.

    4. my computer has two firewire ports. The front port was connected to the motherboard via a short cable. I physically unplugged the cable from the motherboard.

    5. I bought an Express(1x) PCI firewire 400 card with a Texas Instruments chipset. The exact brand is inner Pro PCI Express(1x) 4 port 1394 a. The firewire card is a power port. I plugged the power jack on the same line, connected to the DVD player. I don't know if it's important, but I'll try to document EXACTLY what I did. The firewire card requires no driver work. It came with a disc with a B.S. video editing software I was not installed.

    6. I turned on my computer and disabled the built-in firewire in Device Manager, leaving only the new active firewire card.

    7. I installed the drivers from the Firebox from the original disc supplied with my unit (v1.20.0). I had good results from these pilots in the past that may be because I use XPsp2.

    8. I have connected the combustion chamber when prompted to by the installation software.

    9. rebooted the computer with the combustion chamber connected and everything's fine.

    By the way:

    The inner firewire card cost me $ 30.00

    My computer specs are:
    HP a6745f desktop
    Dual core AMD 5050e 2.6 GHz
    XP sp2
    GigsRAM 4 (3.25 because I'm on XP)

    If you are confused in the store on the question of whether a firewire card uses a Texas Instruments chipset. Try to get a glance at the map. You should see a chip bearing the logo of TI: the State of Texas, w / Ti. YeeeeeeeHawwwww!

  • Problem in Flex Builder user interface after installation of Flex 3

    So, here's an interesting question. And my apologies in advance if it has been reported before. But I spent the greater part of two days, installation / uninstallation / cleaning / resettlement. However, still having the problem with Flex Builder 3:

    After the launch of Flex Builder 3, I create a new project and "right click" on the name of the project in the browser in Flex in order to launch the 'Properties' dialog box. " Tab property page resource, various fields are truncated and drop-down list boxes are all jacked. In fact, under the Flex Build Path tab, it is completely empty. Basically, throughout the Flex Builder IDE, I have various missing fields or bizarre behavior.

    Then... at this point, I've pretty much uninstalled, uninstalled the JRE (think this is related to java), cleaned the system registry, uninstalled flash players, edited the flexbuilder.ini with one "-clean", installed updates for Vista (so now this system is on SP1) essentially... I have everything humanly possible short of formatting the system again.

    Running Windows Vista x 64; 8 GB of RAM; NVidia 8800 video card.

    To make sure that I wasn't completely lose my mind... I installed on a portable system and everything ran like a charm. Thus, after traveling through these forums and Google the issue to death... I can't find the answer.

    If anyone can help me it would be much appreciated!

    You're probably also using the logitech SetPoint on Vista x 64 drivers, who have a known conflict with Eclipse 3.3.

    (The 'solution' is one) to get rid of the drivers (but I love my DiNovo Edge keyboard!) or Eclipse use b) 3.4M4 and the plugin. However, it is not entirely taken in charge, so they sometimes issues, especially with design mode, so generally I use FB3 and switch and then run away when I need to change a setting (not optimal, I know, but not as frequent as that, once a day on average for me). Or just edit the parameters with a text editor.

    Or (c) perform virtualization VMWARE etc. and do it all in x 86.

    (Mise en garde, je n'ai jamais essayé un) personally, but have read that it works.)

  • Problem with flash in Director tollbox components

    1. I have 2 buttons named "makeQst1BT" in frame 1 and 'chkQst1BT' in the Framework 2, which both are Toolbox move.

    The user first gets a random question within 2 andhas to respond when the user clicks on "chkQst1BT"is its visible to disappear after answering. " She is nicely done and button disappears.by the following code.


    Sprite ("chkQst1BT"). Visible = false

    then later, when the user navigates to a frame 1 new and wants to make a new question and press ' makeQst1BT"this button is to affect the visible of the 'chkQst1BT' again by this code:" ".


    Sprite ("chkQst1BT"). Visible = true

    BUT here I get the script error stating that PROPERTY not found #visible.

    Why is this happening? and how do I set the chkQst1BT to true visible?

    (I get many similar the script errors saying PROPERTY #text not found in the same movie)

    2 - I move many flash textArea of toolbox components, then to change their copy to transparentink, it appearantly accepts this choice, but it is still displayed as "exemplary" with white bakgr. (I do it from the property inspector window)

    What is strange, is that only the appearance of text boxes changes when ink passes through transparent, but not others.

    Any ideas?

    Thanks in advance!

    Select the sprite on stage and in the property inspector click the behavior tab, click on the sign more and choose new behavior and call something like pflashfield (doesn't matter really as long you know what that is later).

    Open the script in the script editor and type

    pSprite property

    on beginsprite me

    pSprite = sprite (me.spritenum)

    pSprite.ink = 36

    pSprite.blend = 50 - just to show that it worked
      
    end

  • El Capitan v10.11.5 - problems with the second user

    Just installed 10.11.5.  I am able to log in under the master user, but when I try to log on to the second user, she just the turning wheel under the name after entering the password.  Any ideas of what I should do?  I'm not trying to delete and start again there are programs, files, etc. that are on this profile.  Thank you!

    The first time, it connects after an upgrade of the system always takes a relatively long time (maybe a minute or two) that various pieces of household necessity to do.

    If it's every time, however, you may have gotten a 'connection point' for the second user who is not compatible with 10.11.5.

    Restart in 'safe mode ':

    Try safe mode if your Mac does not end commissioning - Apple Support

    then try to connect. If this succeeds, use

    System Preferences > users and groups > login items

    and disable/enable the suspects until what you identify the problem by a process of elimination.

    If this does not work there are more complicated things to check, such as incorrect permissions and uid duplicate, but I would try first things easy.

    C.

Maybe you are looking for