Results 1 to 7 of 7

Thread: Template monster & xml

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2008
    Posts
    353

    Template monster & xml

    Hi guys, wanted to ask something about monster templates...that are in flash...


    well when i edit the main XML file...and i write chars like Č Ć Ž Š .. example :

    TestČTEST

    i get only Test


    i cant find a way to make it accept and show those chars...

    any idea why?

    cheers
    Thanks for helping me out.

  2. #2
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: Template monster & xml

    Do those characters appear if you access the xml file outside of flash?
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2008
    Posts
    353

    Re: Template monster & xml

    well i have a premade flash thing...

    what i do is just edit the xml file to change the text..but i cant put chars like Č Š Đ Ž Ć

    i can write them correctly in notepad when editing the xml...but when i start the swf file...no luck :S
    Thanks for helping me out.

  4. #4
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: Template monster & xml

    Have you tested it with a html page accessing the xml? I am not sure but I don't think the textbox can support special characters.

    Edit:

    I just tested it by writing character such as:

    ÿ¶PÌ

    The characters accessible via the num pad while pressing alt work as the normal letters/numbers do.

    What code are you using to access the xml file?
    Last edited by Nightwalker83; Oct 2nd, 2009 at 08:48 PM. Reason: Adding more!
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2008
    Posts
    353

    Re: Template monster & xml

    well i just have a premade template monster..and all i did is edit the xml file and put my own text instead of teh sample one..but strange chars are not visible
    Thanks for helping me out.

  6. #6
    Frenzied Member
    Join Date
    Apr 2009
    Location
    CA, USA
    Posts
    1,516

    Re: Template monster & xml

    Ugh. Character encoding...

    Does your XML file have an encoding type set? In other words, something like this at the top of the file:
    Code:
    <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
    If not, try adding that line to the top. That might help if Flash is looking for an encoding, can't find one, and picks a default one that doesn't include your characters.

    Otherwise, try using the HTML equivalents of your special characters, like this: & #268; (but remove the white space between & and # - if I remove it, it turns into the character: Č) Reference list of codes.

    It might also be a problem that Flash is loading into a text field with an embedded font set that doesn't include your characters - if that's the case, I don't think you can do anything without editing the source (Flash) file.
    Last edited by SambaNeko; Nov 3rd, 2009 at 03:30 PM.

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2008
    Posts
    353

    Re: Template monster & xml

    thank you very much..i will try taht in the morning and let you know

    it has that writing at the top yea...something similar...

    will check in the morning...thanks again man!

    speak to you later
    Thanks for helping me out.

Posting Permissions

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



Click Here to Expand Forum to Full Width