deo
04-27-2004, 02:34 PM
Hi,
Well im nearing the completion of my movie but am totally stumped now.
Heres the deal:
I have a bunch of movieclips set on the first frame (just basic mouse over animations) with some actionscript to handle a few functions (importing an xml doc and color changing functions).
Now, I tried adding a list box on a seperate layer and populating it with the data from the xml document.
example:
myList.addItem("blah", blah);
But when I run the movie, the listbox shows up as empty with a 1px black border around it. I even tried populating it with static info within the movie and it returns the same result. I debuged and the info IS comming in from the xml properly.
So I said screw it and created an empty movie clip and imported the listbox (which was working in a seperate fla) and it works, but the stylesheet im applying to it is not being applied and cannot get it to apply all the styles properly.
Here is how im appling the styles:
_global.style.setStyle("themeColor", 0xF0F0F0);
_global.style.setStyle("color", 0x798699);
_global.style.setStyle("rollOverColor", 0xD9DFE8);
_global.style.setStyle("textRollOverColor", 0x798699);
_global.style.setStyle("fontFamily", "Tahoma,sans-serif");
_global.style.setStyle("fontSize", "11");
_global.style.setStyle("textSelectedColor", 0xFFFFFF);
_global.style.setStyle("selectionColor", 0x798699);
If anyone can help, I would deeply appreciate it.
~Deo
Well im nearing the completion of my movie but am totally stumped now.
Heres the deal:
I have a bunch of movieclips set on the first frame (just basic mouse over animations) with some actionscript to handle a few functions (importing an xml doc and color changing functions).
Now, I tried adding a list box on a seperate layer and populating it with the data from the xml document.
example:
myList.addItem("blah", blah);
But when I run the movie, the listbox shows up as empty with a 1px black border around it. I even tried populating it with static info within the movie and it returns the same result. I debuged and the info IS comming in from the xml properly.
So I said screw it and created an empty movie clip and imported the listbox (which was working in a seperate fla) and it works, but the stylesheet im applying to it is not being applied and cannot get it to apply all the styles properly.
Here is how im appling the styles:
_global.style.setStyle("themeColor", 0xF0F0F0);
_global.style.setStyle("color", 0x798699);
_global.style.setStyle("rollOverColor", 0xD9DFE8);
_global.style.setStyle("textRollOverColor", 0x798699);
_global.style.setStyle("fontFamily", "Tahoma,sans-serif");
_global.style.setStyle("fontSize", "11");
_global.style.setStyle("textSelectedColor", 0xFFFFFF);
_global.style.setStyle("selectionColor", 0x798699);
If anyone can help, I would deeply appreciate it.
~Deo