Between each effect there is a flicker when the next effect started.

I try to use flex3.4 but the problem is still there. I really confused ~~

 

<s:Application ..
      transitions="{[bm_tran]}" >
 <s:states>
  <s:State name="state1" />
  <s:State name="state2" />
 </s:states>
 <fx:Declarations>

  <s:Transition id="bm_tran">
   <s:Sequence target="{bitmapimage1}" duration="500">
    <s:Resize />
    <s:Pause/>  <!-- seem isn't available -->
    <s:CrossFade />
   </s:Sequence>
  </s:Transition>
 </fx:Declarations>
 
 <s:BitmapImage height.state2="113"  height.state1="149" id="bitmapimage1"  
       source.state2="@Embed('Image_0002.png')" 
       source.state1="@Embed('Image_0001.png')"
       width="429" /> 


 <s:Button label="Click Me!"  click="{currentState = (currentState == 'state1') 
? 'state2':'state1';}"/>


 

Reply via email to