flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabio Todaro (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-33392) CLONE - Transition to/fromState do not respect a stateGroup
Date Wed, 13 Feb 2013 15:22:12 GMT

     [ https://issues.apache.org/jira/browse/FLEX-33392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Fabio Todaro updated FLEX-33392:
--------------------------------

    Affects Version/s:     (was: Adobe Flex SDK 4.0 (Release))
                       Apache Flex 4.9.0
    
> CLONE - Transition to/fromState do not respect a stateGroup
> -----------------------------------------------------------
>
>                 Key: FLEX-33392
>                 URL: https://issues.apache.org/jira/browse/FLEX-33392
>             Project: Apache Flex
>          Issue Type: Improvement
>          Components: Transitions
>    Affects Versions: Apache Flex 4.9.0
>         Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Language Found: English
>            Reporter: Fabio Todaro
>            Assignee: Adobe JIRA
>            Priority: Minor
>
> Steps to reproduce:
> 1. Setup a skin for a component
> 2. Include states and stateGroups for a few of the states
> <s:states>
> 		<s:State name="initializing" />
> 		<s:State name="connecting" />
> 		<s:State name="content" stateGroups="playing" />
> 		<s:State name="buffering" stateGroups="playing" />
> 		<s:State name="fallbacksFailed" />
> 		<s:State name="playbackComplete" />
> 	</s:states>
> 3. Setup transitions
> 	<s:transitions>
> 		<s:Transition fromState="*" toState="play">
> 			<s:Fade target="{videoElement}" duration="2000" />
> 		</s:Transition>
> 		<s:Transition fromState="play" toState="*">
> 			<s:Fade target="{videoElement}" duration="2000" />
> 		</s:Transition>
> 	</s:transitions>
> 4. From the component, change the skin state (through a button click or otherwise)
>  
>  Actual Results:
>  Transition does not play.
>  
>  Expected Results:
>  Transition plays.
>  
>  Workaround (if any):
>  
>  Explicitly define the toState.
> The issue with this is I have to apply a transition for multiple states vs doing a simple
* to playing.
> 	<s:transitions>
> 		<s:Transition fromState="connecting" toState="content">
> 			<s:Fade target="{videoElement}" duration="2000" />
> 		</s:Transition>
> 		<s:Transition fromState="content" toState="fallbacksFailed">
> 			<s:Fade target="{videoElement}" duration="2000" />
> 		</s:Transition>
> 		<s:Transition fromState="content" toState="playbackComplete">
> 			<s:Fade target="{videoElement}" duration="2000" />
> 		</s:Transition>
> 	</s:transitions>
> These transitions work perfectly. Change "content" to playing and it all fails. Since
"buffering" is a state similar to "content" it shouldn't be included in the hiding of the
content. If I don't explicitly reference the states, buffering will cause a fade as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message