[svn:fx-trunk] 12078: Fix for change events in Slider and ScrollBar.

Revision: 12078
Revision: 12078
Author:   [email protected]
Date:     2009-11-21 00:14:46 -0800 (Sat, 21 Nov 2009)
Log Message:
Fix for change events in Slider and ScrollBar. They now dispatch change events as before, whenever the user alters the value. In addition, changeStart and changeEnd events will be dispatched at the start and end of a user interaction or animation.
TrackBase.as - Added metadata for changeStart/End events. Dispatch change, changeStart/End events when appropriate.
Slider.as - Dispatch change, changeStart/End events when appropriate.
ScrollBar.as - Dispatch the appropriate events. Note that changeStart/End will not dispatch when shift-clicking on a non-animating ScrollBar. Renamed animatingSinglePage to animatingOnce to better reflect its function. Refactored some method calls to the new private stopAnimation(), which is more consistent with Slider. Refactored the button handlers to make stepping more readable. Added a setValue call in animationEndHandler where we were ending up off the snapInterval when shift-clicking.
Updated FlexEvent, ScrollBarTestScript and VideoPlayer to handle the new events.
QE notes: Update Slider and ScrollBar tests
Doc notes: No
Bugs: SDK-24264
Reviewer: Ryan
Tests run: checkintests
Is noteworthy for integration: No
Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-24264
Modified Paths:
    flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as
    flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as
    flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ScrollBar.as
    flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as
    flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as
    flex/sdk/trunk/frameworks/tests/basicTests/spark/scripts/ScrollBarTestScript.mxml

Similar Messages

  • [svn:fx-trunk] 8864: Fix for ASDoc @event tag assumes the class is in flash .events package

    Revision: 8864
    Author:   [email protected]
    Date:     2009-07-28 11:31:14 -0700 (Tue, 28 Jul 2009)
    Log Message:
    Fix for ASDoc @event tag assumes the class is in flash.events package
    Bugs: SDK-22275
    QE Notes: None.
    Doc Notes: None.
    tests: checkintests, asdoc
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22275
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va

    error dateField not selecion date 27/11/2002 ?
    This is bug flex 3 ?
    thanks

  • [svn:fx-trunk] 12962: Fix for ASDoc not saving event type for [Bindable] metadata tag

    Revision: 12962
    Revision: 12962
    Author:   [email protected]
    Date:     2009-12-15 10:32:23 -0800 (Tue, 15 Dec 2009)
    Log Message:
    Fix for ASDoc not saving event type for metadata tag
    QE notes: None.
    Doc notes: None
    Bugs: SDK-24706
    Reviewed By:Corey
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24706
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va

    aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    Which correspondents fine with the
    device "hw:0,3"
    in my mpd.conf alsa section.
    Also sound worked fine withh this config before I started installing ffmpeg-svn and alikes
    hokasch:
    I tried changing the mixer to "Master" but that did not change much.

  • [svn:fx-trunk] 10008: Fix for SDK-23005 performance regression after BlendMode changes

    Revision: 10008
    Author:   [email protected]
    Date:     2009-09-04 00:10:00 -0700 (Fri, 04 Sep 2009)
    Log Message:
    Fix for SDK-23005 performance regression after BlendMode changes
    Fix: make sure GE and Group DisplayObject sharing works in the blendMode="auto" case.
    QE notes: None
    Doc notes: None
    Bugs: SDK-23005
    Reviewer: Evtim
    Tests run: checkintests, basictests
    Is noteworthy for integration: Yes, blendMode behavior affects Catalyst
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-23005
        http://bugs.adobe.com/jira/browse/SDK-23005
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicEleme nt.as

    FYI - This regression has been filed here: http://bugs.adobe.com/jira/browse/SDK-31989

  • [svn:fx-trunk] 13136: Fix for FLEXENT-1196 ( Replay of click on NavigatorContent does not close the combobox)

    Revision: 13136
    Revision: 13136
    Author:   [email protected]
    Date:     2009-12-21 17:40:28 -0800 (Mon, 21 Dec 2009)
    Log Message:
    Fix for FLEXENT-1196 (Replay of click on NavigatorContent does not close the combobox)
    We need not record OPEN event when it is triggered from a KeyBoard event that types a character. Replaying the type event would automatically open the drop down.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FLEXENT-1196
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/compon ents/SparkComboBoxAutomationImpl.as
        flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/compon ents/supportClasses/SparkDropDownListBaseAutomationImpl.as

  • [svn:fx-trunk] 12994: * Fixes for two issues that were showing up in FB.

    Revision: 12994
    Revision: 12994
    Author:   [email protected]
    Date:     2009-12-16 06:44:45 -0800 (Wed, 16 Dec 2009)
    Log Message:
    Fixes for two issues that were showing up in FB.
    QE notes:
    Doc notes:
    Bugs: SDK-24669, SDK-24686
    Reviewer: Corey
    Cycloner: George
    Tests run: checkintests
    Is noteworthy for integration: yes, fixes two FB issues.
    Code-level description of changes:
      modules/compiler/src/java/flex2/tools/PreLink.java
        Modified postRun() to swap in the root CompilationUnit's Logger
        when validating it's StyleContainer.  This allows the warnings
        from StylesContainer.validate() to be persisted across incremental
        compilations.  This fixes SDK-24686.
      modules/compiler/src/java/flex2/compiler/Source.java
        Made getLogger() public, so it could be called from PreLink.
      modules/compiler/src/java/flex2/compiler/CompilerAPI.java
        Modified compile() to check forcedToStop() after each PreLink
        batch.  This fixes SDK-24669.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24669
        http://bugs.adobe.com/jira/browse/SDK-24686
        http://bugs.adobe.com/jira/browse/SDK-24686
        http://bugs.adobe.com/jira/browse/SDK-24669
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerAPI.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/Source.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/linker/CULinkable.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java

  • [svn:fx-trunk] 10229: Fixes for some transform effects problems.

    Revision: 10229
    Author:   [email protected]
    Date:     2009-09-14 08:43:43 -0700 (Mon, 14 Sep 2009)
    Log Message:
    Fixes for some transform effects problems.
    - We were not animating the postLayout properties in some cases where we should have, effectively pinning the object in place. We now animate those properties whenever applyChangesPostLayout is true.
    - A copy/paste error meant that we did not animate the scaleZ property in cases where we should have.
    - A problem in the transform code means that using a null transform center is not the same as a transform center which uses the transformX/Y/Z properties of the target object. We now force the creation/use of a transform center in all cases to avoid that problem.
    QE notes: This breaks about a dozen tests in the transform effects area, but I believe the new results are correct and the tests/bitmaps should be changed.
    Doc notes: None
    Bugs: sdk-23177
    Reviewer: Hans
    Tests run: checkintests, Mustella transform effects
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/sdk-23177
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as

  • [svn:fx-trunk] 7765: Fixing up some copyrights, adding copyrights, and fixing up some legal-eese for the Flash Component Kit For Flex.

    Revision: 7765
    Author:   [email protected]
    Date:     2009-06-11 15:58:18 -0700 (Thu, 11 Jun 2009)
    Log Message:
    Fixing up some copyrights, adding copyrights, and fixing up some legal-eese for the Flash Component Kit For Flex.
    Also, updating the MXP to get latest changes to base classes.
    QE Notes: -
    Doc Notes: -
    Bugs: SDK-21670
    Reviewer: No one (just header updates)
    tests: checkintest (seem to fail due to local changes to ScrollBar, which I'm not checking in here)
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21670
    Modified Paths:
        flex/sdk/trunk/frameworks/flash-integration/FlexComponentKit.mxp
        flex/sdk/trunk/frameworks/flash-integration/readme.txt
        flex/sdk/trunk/frameworks/projects/flash-integration/FlexComponentKit.mxi
        flex/sdk/trunk/frameworks/projects/flash-integration/JSFL/Convert Symbol to Flex Component.jsfl
        flex/sdk/trunk/frameworks/projects/flash-integration/JSFL/Convert Symbol to Flex Container.jsfl
        flex/sdk/trunk/frameworks/projects/flash-integration/JSFL/MakeFlexComponent.jsfl
        flex/sdk/trunk/frameworks/projects/flash-integration/readme.txt
        flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/ContainerMovieClip.as
        flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as

  • [svn:fx-trunk] 14139: Fix for Player classes not code hinting  to framework FB projects.

    Revision: 14139
    Revision: 14139
    Author:   [email protected]
    Date:     2010-02-11 16:36:39 -0800 (Thu, 11 Feb 2010)
    Log Message:
    Fix for Player classes not code hinting  to framework FB projects. Changed all the $ tokens to use $ instead. While the compiler understands $, Flash Builder's code model does not.
    No code changes.
    QE notes: N/A
    Doc notes: N/A
    Bugs: None
    Reviewer: Pete
    Tests run: checkintests
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/airframework/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/airspark/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/flex/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/framework/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/osmf/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/rpc/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/spark/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/sparkskins/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/textLayout/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/wireframe/.actionScriptProperties

  • [svn:fx-trunk] 11602: Fix for Button tooltips.

    Revision: 11602
    Author:   [email protected]
    Date:     2009-11-09 22:35:11 -0800 (Mon, 09 Nov 2009)
    Log Message:
    Fix for Button tooltips. TextBase dispatches an event when _isTruncated is set through the setIsTruncated() function. This allows ButtonBase to listen for the event and set the tooltip as necessary. If an explicit tooltip is set, then ButtonBase will not set a tooltip.
    QE notes: No
    Doc notes: No
    Bugs: SDK-22260, SDK-23474, SDK-23657
    Reviewer: Evtim
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22260
        http://bugs.adobe.com/jira/browse/SDK-23474
        http://bugs.adobe.com/jira/browse/SDK-23657
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Label.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichText.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.a s
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as

  • [svn:fx-trunk] 5386: * Fix for Flex Builder JUnit tests.

    Revision: 5386<br />Author:   [email protected]<br />Date:     2009-03-18 08:03:11 -0700 (Wed, 18 Mar 2009)<br /><br />Log Message:<br />-----------<br />* Fix for Flex Builder JUnit tests.<br /><br />tests Passed: checkintests, performance testsuite<br /><br />Needs QA: YES<br /><br />Needs DOC: NO<br /><br />API Change: NO<br /><br />Reviewer: Pete F.<br /><br />Code-level description of changes:<br /> <br />  compiler/CompilerAPI.java<br /><br />    Changed the deleted Map used in validateCompilationUnits() and<br />    some of it's helper methods from <String, Source> to <QName,<br />    Source>.  This allows us to track when a definition is deleted<br />    from one SWC in the library path and then added by another SWC in<br />    the library path.  All the definitions dependant on the definition<br />    need to be recompiled and we were missing this before.<br />    Specifically, the Flex Builder JUnit tests were switching from<br />    airglobal.swc to playerglobal.swc midstream.  As a result, we<br />    weren't recompiling classes that depended on<br />    flash.display.DisplayObjectContainer, because it looked like it<br />    hadn't been deleted.<br /><br />Modified Paths:<br />--------------<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerAPI.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Library.java

  • [svn:fx-trunk] 12653: Fix for ASDoc for moduleFactory showing up in Skin' s MXML files as "overridden"

    Revision: 12653
    Revision: 12653
    Author:   [email protected]
    Date:     2009-12-08 07:31:03 -0800 (Tue, 08 Dec 2009)
    Log Message:
    Fix for ASDoc for moduleFactory showing up in Skin's MXML files as "overridden"
    QE notes: None.
    Doc notes: None
    Bugs: SDK-24443
    Reviewed By: Paul
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24443
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java

    I appear to be talking to myself
    After looking up some of the posts it appears BitmapImage has changed and the you would now need to Embed the image?
    I changed the component from a Spark BitmapImage to a MX Image control:
    <s:Graphic>
              <ns:Image id="icon" x="{ ( this.width / 2 ) - ( icon.width / 2 ) }" y="{ ( this.height / 2 ) - ( icon.height / 2 ) }"
                          includeIn="disabled, disabledAndSelected, down, downAndSelected, over, overAndSelected, up, upAndSelected" />
              <!--
         <s:BitmapImage id="icon"
                           includeIn="disabled, disabledAndSelected, down, downAndSelected, over, overAndSelected, up, upAndSelected" />
              -->
         </s:Graphic>
    Now what worries me about this is I would imagine the Image control is a heaview component than the humble BitmapImage? not so comfortable using this in my appz to be honest.
    Any thoughts very welcome
    Tyrone

  • [svn:fx-trunk] 9328: Fixing SDK-22462: Event dispatched is not as expected in Tree

    Revision: 9328
    Author:   [email protected]
    Date:     2009-08-14 17:02:35 -0700 (Fri, 14 Aug 2009)
    Log Message:
    Fixing SDK-22462: Event dispatched is not as expected in Tree
    For this, the issue is really that TreeItemRenderers assume that no click event can occur on the disclosureIcon.  This is because the discolsureIcon is added and removed each time it goes through invalidation in commitProperties(), so a new discolsureIcon gets created and replaces the old one after they mouseDown (meaning no click event actually occurs).  Automation replays some mouse events on one disclosureIcon only (which is an automation bug because that?\226?\128?\153s not how it actually works in the real world) and when a ?\226?\128?\156click?\226?\128?\157 occurs, that causes an itemClick on the Tree, when it shouldn?\226?\128?\153t.  For Flex 3, this wasn?\226?\128?\153t a problem because the IR was getting invalidated through a different codepath because openDuration did not default to 0.  If you set it to 0, you?\226?\128?\153d see the same problem in Flex 3.  Anyways, the fix is just to block all click events that occur on the disclosureIcon.
    QE notes: -
    Doc notes: -
    Bugs: SDK-22462
    Reviewer: Alex
    Tests run: checkintests, mustella Tree
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22462
        http://bugs.adobe.com/jira/browse/SDK-22462
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/TreeItemRenderer .as

    error dateField not selecion date 27/11/2002 ?
    This is bug flex 3 ?
    thanks

  • [svn:fx-trunk] 10001: Fix for TextGraphicNode and RichTextNode delegated content property.

    Revision: 10001
    Author:   [email protected]
    Date:     2009-09-03 13:03:50 -0700 (Thu, 03 Sep 2009)
    Log Message:
    Fix for TextGraphicNode and RichTextNode delegated content property.  We used to pick up cdata from before and after the content tags and consider them content, this was wrong and the new line and tabs threw TLF for a loop.
    This change will need to be communicated to and integrated with, CoreTech.
    QE notes: None
    Doc notes:  None
    Bugs: SDK-22851
    Reviewer: Paul
    Tests run: Checkin
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22851
    Modified Paths:
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/RichTextNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/TextGraphicNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/sax/FXG_v1_0_Handler.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/sax/FXG_v2_0_Handler.java
    Added Paths:
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/ContentPropertyNode.j ava

  • [svn:fx-trunk] 13169: * Fixes for two FB issues and two regressions caused by recent fixes.

    Revision: 13169
    Revision: 13169
    Author:   [email protected]
    Date:     2009-12-22 14:39:59 -0800 (Tue, 22 Dec 2009)
    Log Message:
    Fixes for two FB issues and two regressions caused by recent fixes.
    QE notes:
    Doc notes:
    Bugs: SDK-24708, SDK-24668, SDK-24827, SDK-24829
    Reviewer: Corey
    Tests run: checkintests, com.adobe.flexbuilder.project JUnit tests
    Is noteworthy for integration: Yes, fixes two FB issues
    Code-level description of changes:
      modules/compiler/src/java/flex2/tools/oem/Library.java
      modules/compiler/src/java/flex2/tools/Compc.java
      modules/compiler/src/java/flex2/tools/Fcsh.java
      modules/compiler/src/java/flex2/compiler/asdoc/AsDocAPI.java
        Modified calls into SwcAPI's setupClasses() and
        setupNamespaceComponents() to pass in the SourceList.
      modules/compiler/src/java/flex2/tools/VersionInfo.java
        Added null check to getBuild().
      modules/compiler/src/java/flex2/compiler/CompilerAPI.java
        Modified compile() to only add elements of "classes" to "sources"
        if not already contained.  This covers the case of a Source being
        in the SourceList and the manifest.
      modules/compiler/src/java/flex2/compiler/swc/SwcAPI.java
        Modified setupClasses() and setupNamespaceComponents() to check the
        SourceList before the SourcePath when looking up sources.
      modules/compiler/src/java/flex2/compiler/SourceList.java
        Made getPaths() public.
      modules/compiler/src/java/flex2/compiler/CompilationUnit.java
        Modified setState() to skip disconnecting the root's Logger.  This
        fixes SDK-24827 and SDK-24829.
      modules/compiler/src/java/flex2/tools/oem/internal/OEMReport.java
        Added sourceList variable, modified procressSources() to
        initialize it, and modified init() to recursively store a
        timestamp for each path in the SourceList.  This fixes SDK-24708.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24708
        http://bugs.adobe.com/jira/browse/SDK-24668
        http://bugs.adobe.com/jira/browse/SDK-24827
        http://bugs.adobe.com/jira/browse/SDK-24829
        http://bugs.adobe.com/jira/browse/SDK-24827
        http://bugs.adobe.com/jira/browse/SDK-24829
        http://bugs.adobe.com/jira/browse/SDK-24708
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilationUnit.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerAPI.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/SourceList.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/SignatureExtension.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocAPI.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcAPI.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/tools/Compc.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/tools/Fcsh.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/tools/VersionInfo.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Library.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/OEMReport.java

Maybe you are looking for