Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Apr 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    help with changing font color through xml

    i have an xml flash video gallery.

    the video, the gallery's title and description are being read by the xml.
    the text fields in the FLA are dynamic text.

    i want to be able to control and change the font color by this xml as well...
    any ideas on how to do this?

    the xml is attached

    thank you

    roni
    Attached Files Attached Files

  • #2
    New to the CF scene
    Join Date
    Jun 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up re: help with changing font color through xml

    I had this same issue and did not find the required help I need. After getting help with code and pinging around I tried somethings simple and this is what I did

    I created a function for to access the color

    function changeColor () {
    colorVal = slghexcol[p]; //variable passed from XML
    var newSolganColor = new Color("currentSlogan.slogan_txt");
    newSolganColor.setRGB(colorVal);
    }

    [ slogan_txt ] is my dynamic text containing embedded font

    That's it! Just make sure you set the field in your XML and call the function. It was less complicated than I thought.

    Good luck....

  • #3
    New to the CF scene
    Join Date
    Jun 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Psd html

    That was nice well i guess keep trying guys.
    PSD HTML


  •  

    Posting Permissions

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