Set the the isStyle property to true in your AnimateProperty tag. 

 

-deepa

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dorkie dork from dorktown
Sent: Monday, December 04, 2006 5:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Fade from one color to another

 

I need to fade my application background color from 0xC47D31 to 0x67DEF9
and I have no idea where to start. I've seen AS2 actionscript around
that I can try to convert but what I'm looking for is a already built
MXML component Effect, similar to mx:Fade or Dissolve. 

I tried this and received errors:
    creationCompleteEffect="{fadeColor}">
    <mx:AnimateProperty id="fadeColor" property="backgroundColor"
toValue="#000000" target="{Application.application}" duration="5000"/> 

ReferenceError: Error #1069: Property backgroundColor not found on
TestApplication and there is no default value.
    at
mx.effects.effectClasses::AnimatePropertyInstance/::getCurrentValue()

dorkie mood changing dork from dorktown 
 

Reply via email to