Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-17005

Selected toggle button turns blue during fade

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK 3.2 (Release)
    • None
    • mx: Button
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Internet Explorer 6.x
      Language Found: English

    Description

      Steps to reproduce:

      1. Compiler and run the following application:

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundColor="#FFFFFF">
      <mx:Button id="fadeButton1" x="54.5" y="39" toggle="true" selected="false" width="136"/>
      <mx:Button id="fadeButton2" x="54.5" y="69" toggle="true" selected="true" width="136"/>
      <mx:Button x="54.5" y="110" label="Push me and watch" click="doTheFades.play()"/>

      <mx:Fade id="fadeOut" alphaFrom="1" alphaTo="0" targets="

      {[fadeButton1,fadeButton2]}"/>
      <mx:Fade id="fadeIn" alphaFrom="0" alphaTo="1" targets="{[fadeButton1,fadeButton2]}

      "/>
      <mx:Sequence id="doTheFades" children="

      {[fadeOut, fadeIn]}

      " duration="1500"/>
      </mx:Application>

      2. The application shows two Buttons with toggle=true. One is selected, the other isn't.

      3. Click the button entitled "Push me and watch". This will fade the two buttons out and back in.

      Actual Results:

      The selected toggle button turns blue during the fade.

      Expected Results:

      The selected toggle button should just fade out.

      Workaround (if any):

      Set the button's blendMode to "layer" or "multiply".

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: