Jump to content
Search Community

San Kumar

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by San Kumar

  1. Hi,

     

    I have a very simple application where I want to tween the `backgroundAlpha` of a VBox using TweenLite.

     

    I'm using the following code:

    TweenLite.to(box1, 2, {backgroundAlpha:0.4});

    But when I try to run my movie, I get the following error:

    Property backgroundAlpha not found on mx.containers.VBox and there is no default value.

    I'm guessing it is because backgroundAlpha is set using `setStyle` not directly... so that is causing the issue?

     

    So how do you do it in TweenLite or TweenMax to set it?

     

    Thanks for your replies..

     

    San

×
×
  • Create New...