malioboro's Forum Posts

  • 10 posts
  • Thank you! I just realized that the server had been restricted all this time.

  • So I have a simple GET API that returns a JSON: gapoera.com/damdaman/start (it's running, you can check)

    And I try to get this API using the following steps:

    but when I preview it AJAX last data didn't give anything

    Why? can somebody help me, please

    Thank you

    Tagged:

  • okay, it was solved, I created another xml object in every layout, xml in level 1, xml2 in level 2, ...

  • Hi All,

    I have a project that needs to include 2 kinds of XML file,

    first XML, is will use in every level,

    and ssecond is only use in single level,

    but there a problem

    my first XML only works in level 1,

    I use include event sheet to make it simple for this first XML,

    and I use Ajax to load the XML file,

    but in level 2, this XML is like not Loading, I can't get any result from this level different with level 1,

    different with second XML, its working well, I use another XML object (called XML2)

    so, anybody can help me?

    thanks,

  • I'm sorry if the subject is not match with my question.

    so, I have 3 event sheet

    -esmain (event sheet for main level)

    -esmain2 (next level of esmain)

    -esglmain

    esglmain included in esmain and esmain2

    <img src="http://3.bp.blogspot.com/-MLwr_TDGnJ8/UZ6qC0OAlMI/AAAAAAAAAo4/dNatKvEQMM0/s1600/tmp1.png" border="0" /><img src="http://1.bp.blogspot.com/-uWZ-7iy2zhY/UZ6qDcR_KII/AAAAAAAAApE/EvpoLlWndco/s320/tmp2.png" border="0" />

    in esglmain I load xml using ajax

    <img src="http://1.bp.blogspot.com/-dnLmK1Eig9g/UZ6qDT3sL-I/AAAAAAAAApA/pVNK1BhxeOw/s320/tmp3.png" border="0" />

    when I run the project, in main level, xml working well,

    XML.NodeCount("/d/t[c='kota']/c") give a result 1 and this is correct

    but when I'm in main level 2 (esmain2), that xpath give a result 0,

    I don't really know where is my problem, because esmain and esmain2 have a same event, can somebody help?

  • Magistross, wow, it's work thanks,

    but to increase my knowledge, I still hope there are someone answer my second question...

  • Hello World,

    I'm malioboro, I'm starting learn game development, and I like construct, this is simple way to create amazing game without spend a lot of money..

    thank you scirra

  • hmm.. but sorry I'm pretty unclear with dictionary,

    may be you or someone could help me

    this is my JSON after I convert the Last XML using PHPmyAdmin

    [{"id": 1,"word": "a"}, {"id": 2,"word": "ab"}, ... I was try or dictionary.get("id") or dictionary.get("word") or dictionary.get("a") but the result is always 0 is it possible to find that "a" is exist (my case)? how to do that?
  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • is there any nice tutorial to use dictionary?

    I know there are many method to store data like this, but when I search here, I just find tutorial to use XML,

  • Hello all, this is my first post in this forum, sorry if my english is bad

    I want to create a simple word program, when you type a word, and click a button, give a result "YES" if that word is in the dictionary (in XML) and "NO" if not

    And, How to find a word in XML? is there any XPath-like to find a word?

    my xml structure:

    <dict>

       <word>AB</word>

       <word>AC</word>

       <word>AD</word>

          .

          .

          .

    </dict>

    thanks for all answer

  • 10 posts