[Extendflash] Exploring XMLUI's colorchip in Flash 8
Jarrad Hope
jhope at lungshrimp.com
Wed May 17 15:15:29 BST 2006
<colorchip id="mycolor" color="#000000" />
sets the color chips identify to mycolor and in theory should show black
as its default.
However, it does not.
I have tried as many things as I could think of including
value="#000000" , <colorchip>#000000</colorchip>
If this isnt the case, lets see what the colorchip really contains...
Note: it does not return anything if the chip is not set, even with value
or color defined in the xml.
fl.trace(myXML.mycolor+' '+typeof(myXML.mycolor));
for(var i in myXML.mycolor) {
fl.trace(i+' '+typeof(i)+' 'myXML.mycolor[i]);
}
//Output
#3300CC string
0 string #
1 string 3
2 string 3
3 string 0
4 string 0
5 string C
6 string C
//
... 0_0 !! What the nelly?!
Where do we go from here? You cant set 0="" 1="" in the tag =/
More information about the Extendflash
mailing list