# beginGradientFill dynamic color array

**URL:** <https://forum.kirupa.com/t/begingradientfill-dynamic-color-array/219690>\
**Category:** flash\
**Created:** [March 19, 2007, 3:08pm UTC](https://forum.kirupa.com/t/begingradientfill-dynamic-color-array/219690 "2007-03-19T15:08:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rtFlash](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@rtFlash](https://forum.kirupa.com/u/rtFlash)\
**Post date:** [March 19, 2007, 3:08pm UTC](https://forum.kirupa.com/t/begingradientfill-dynamic-color-array/219690/1 "2007-03-19T15:08:50Z")

</div>

I am using actionscript to create a gradient fill which works beautifully until I try to load the colour variables from an XML. The variables load successfully, when I trace the dynamic variables they show whats in the XML file (0xf6e3ba, 0xe9c98d) but the gradient appears white to black. When I use the HEX colour values in the code directly (the gradient works) but the trace returns (15321485, 16180154).

If I use these values in the XML file I still get white to black.

So what am I doing wrong?!
