Log in

View Full Version : change the color of title in .xml



rhodarose
08-10-2010, 03:22 AM
The flash that i download has a gallery.xml file and here is the code:



<gallery thumb_width="120" thumb_height="120" gallery_width="400" gallery_height="375" gallery_x="10" gallery_y="10" full_x="220" full_y="10">
<image thumb_url="thumb1.jpg" full_url="image1.jpg" title="image1" />
<image thumb_url="thumb2.jpg" full_url="image2.jpg" title="image2"/>
<image thumb_url="thumb3.jpg" full_url="image3.jpg" title="image3"/>
<image thumb_url="thumb4.jpg" full_url="image4.jpg" title="image4"/>
<image thumb_url="thumb5.jpg" full_url="image5.jpg" title="image5"/>
<image thumb_url="thumb6.jpg" full_url="image6.jpg" title="image6"/>
<image thumb_url="thumb7.jpg" full_url="image7.jpg" title="image7"/>
<image thumb_url="thumb8.jpg" full_url="image8.jpg" title="image8"/>
<image thumb_url="thumb9.jpg" full_url="image9.jpg" title="image8"/>
<image thumb_url="thumb10.jpg" full_url="image10.jpg" title="image9" />
<image thumb_url="thumb11.jpg" full_url="image11.jpg" title="image10"/>
<image thumb_url="thumb12.jpg" full_url="image12.jpg" title="image11"/>
<image thumb_url="thumb13.jpg" full_url="image13.jpg" title="image12"/>
</gallery>


this code the color of title is black I want the color of text is white

djr33
08-10-2010, 05:04 AM
XML is a way to store data, NOT a way to control layout or colors.
This is something that is determined within flash. If and only if there is a parameter that exists to change the color that is programmed to load from the XML into flash can you do this. And since we don't see one there, we must assume there isn't one.

You can guess about a possible name, maybe it just isn't in the example you found. But I think that is very unlikely.

You probably cannot do this without changing the flash file, and this cannot be done from the swf-- you need the original .fla project file, and you need to know how to use flash (though changing a color isn't that hard).

The easiest way is to just not change this; if it must be different, it may be best to find a new gallery. If you know flash and can find a copy of the project file, you can change this, but I think that's unlikely...

Sorry there isn't a better answer.