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()
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...
Ah - that is because AnimateProperty is just cycling through all the RGB values between your fromValue color and your endValue color. What you may want to do...
@dustin - that worked for simple colors that are close by but not for pure white to pure black #FFFFFF, #000000 @deepa - i could not get that to work after one...
@dustin - Do you know if there is a way to get around the grayish color in the middle of the transition? It looks like it fades from white to the grayish color...
Dorkie, I had done something like this before and I used a fade effect in combination with the Color change. Try this and let me know if this is what you want...
Dorkie, Here is a better example that fixes the problem with fading the children... <mx:Sequence id="fadeToBlack"> <mx:AnimateProperty target="{this}" ...
Dorkie, this one's for you: http://www.darronschall.com/weblog/archives/000251.cfm I see from your sample color values that you found my old ActionScript 1 ...
Dorkie, Sorry I didn't get back to you earlier, been away from email. The reason that grayish color appears is because of the way I am doing the fade. It...
Darron, Thank you. Yes, I found your site. I was wondering if you'd notice that. ;) ... Darron, Thank you. Yes, I found your site. I was wondering if you'd...