0 Replies Latest reply on Sep 12, 2014 9:36 AM by snowhiterw1

    Flex 4: Text & Label Controls disappear when app loses focus

    snowhiterw1

      When I click outside the running app, the text and label controls disappear; the image button and check box controls do not.  I removed the background image and it still happens.

      MissingTextControlsNoFocus.PNGMissingTextControlsFocus.PNG

      <s:Group id="contentGroup" left="0" right="0" top="0" bottom="0" minWidth="0" minHeight="0"  width="100%" height="100%"

        width.disabledAndInactive="100%" height.disabledAndInactive="100%"  left.normal="0" right.normal="0" top.normal="0" bottom.normal="0"

        width.normalAndInactive="100%" height.normalAndInactive="100%">

       

      <classes:art id="mGen"></classes:art> <!--public class art extends Group-->


      <s:BitmapImage id="img" left="1" top="0" width="660" height="560" fillMode="scale" smooth="true"

          source="@Embed('assets/Border.png')"   right.disabled="0" bottom.disabled="0"   right.disabledAndInactive="0" ottom.disabledAndInactive="0"

          right.normalAndInactive="0" bottom.normalAndInactive="0">

        </s:BitmapImage>

       

      <s:Label id="RandomArtGenerator" includeIn="normal" left="26" top="25" width="235"  height="23" color="#FBE70D" fontFamily="Verdana" fontSize="18" fontStyle="italic"  text="Random Art Generator"/>

       

      <s:TileGroup id="groupButtons"  x="18" y="95"  horizontalGap="10"  verticalGap="10"  orientation="rows"  requestedColumnCount="3"

        click="groupButtonsClickHandler(event)">

        <classes:ImageButton id="btn_lines" height = "20" skinClass="skins.line_ImgBtnSkin"  click="btn_lines_clickHandler(event)"/>

        <classes:ImageButton id="btn_quads" height = "20" skinClass="skins.quad_ImgBtnSkin"  click="btn_quads_clickHandler(event)"/>

        <classes:ImageButton id="btn_circles" height = "20" skinClass="skins.circle_ImgBtnSkin"  click="btn_circles_clickHandler(event)"/>

        </s:TileGroup>

       

      <s:Label includeIn="normal" x="44" y="127" width="69" height="28" color="#FFFFFF"

        fontFamily="Arial" fontSize="18" fontStyle="italic" fontWeight="bold"

        text="Angle"/>

        <s:TextInput id="txt_Angle" includeIn="normal" x="44" y="149" width="58"

        contentBackgroundAlpha="1.0"/>

      ...

      <s:CheckBox id="chk_Pause" x="28" y="432" width="96" label="Pause/Save?" click="chk_Pause_clickHandler(event)"/>

      ...

      </s:Group>