Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 03-03-2008, 03:16 PM   #1
SpaceHunter
Registered User
 
Join Date: Oct 2007
Location: Dallas, Texas
Posts: 25
Default Flex 3 States and Transitions

Ok, is it me or has the behavior of states with transitions changed in Flex 3?

I'm in the middle of upgrading/converting my Flex 2 project to Flex 3. The biggest difference I'm seeing is how the states with transitions are behaving. I'm seeing weird things, like my component completely disappears or flashes then it decides to execute the transition code.

For example:
Code:
<mx:Transition fromState="contactPageState" toState="workPageState">
     <mx:Sequence>
          <mx:Parallel>
		<mx:Fade target="{menuContactPage}" alphaFrom="1" alphaTo="0" duration="5500"/>
		<mx:Fade target="{menuWorkPage}" alphaFrom="0" alphaTo="1" duration="5500"/>
	  </mx:Parallel>
          <mx:RemoveChildAction target="{menuContactPage}" />
     </mx:Sequence>
</mx:Transition>
My menuContactPage component flashes off the screen for a brief moment then appears on screen, then finally executes the fade effect. This code runs perfectly in Flex 2 such that the component simply fades out.

Has anyone notice any weird peculiar things going on with states and transitions?

Thanks!
SpaceHunter is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flex 2 (AS3) -- Setting Transitions Programatically? tpaulman Flex 2, 3 & 4 3 04-18-2009 05:45 PM
Transitions & States - question aftershock Flex 2, 3 & 4 1 10-31-2007 08:42 PM
Question about transitions americanloti Flex 2, 3 & 4 4 06-19-2007 06:27 PM
Three basic Flex MXML questions MTempsNH Flex 2, 3 & 4 1 05-18-2007 10:21 AM
How to make navigation buttons!!! BLANCO Flex 2, 3 & 4 3 03-08-2007 10:18 PM


All times are GMT. The time now is 01:01 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.