Results 1 to 2 of 2

Thread: change the color of title in .xml

  1. #1
    Join Date
    Jul 2010
    Posts
    228
    Thanks
    18
    Thanked 0 Times in 0 Posts

    Default change the color of title in .xml

    The flash that i download has a gallery.xml file and here is the code:

    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

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    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.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. The Following User Says Thank You to djr33 For This Useful Post:

    rhodarose (08-11-2010)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •