1 Reply Latest reply on Feb 1, 2011 4:12 AM by Gurdeep Singh

    SWF changed blink occurs

    RafaelMCunha

      Hi,

       

      I want to change from one SWF to a new one.

       

      [Embed(source="assets/animations/eating.swf")]
      [Bindable]
      public var eat:Class;

       

      [Embed(source="assets/animations/drinking.swf")]
      [Bindable]
      public var drink:Class;

       

      <mx:Image id="myCartoon" visible="true" />

       

      ...

      somewhere on the code I do:

       

      myCartoon.source = eat;

       

      and sometimes I do:

       

      myCartoon.source = drink;

      ...

       

      The animation changes successfuly, however, this causes a blink very rapidly.

       

      How can I eliminated the blinking ?

       

      []'s.