# Syntax Problems

**URL:** <https://forum.kirupa.com/t/syntax-problems/199049>\
**Category:** Uncategorized\
**Created:** [August 30, 2006, 7:16pm UTC](https://forum.kirupa.com/t/syntax-problems/199049 "2006-08-30T19:16:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![saveth](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@saveth](https://forum.kirupa.com/u/saveth)\
**Post date:** [August 30, 2006, 7:16pm UTC](https://forum.kirupa.com/t/syntax-problems/199049/1 "2006-08-30T19:16:45Z")

</div>

Hello,

I’m having problems with the syntax of this. I’m asking this question because off hand I don’t see why I would be getting this and haven’t found a solution or example that is relevant.

Thanks,  
Saveth

**Error** Scene=Scene 1, layer=Actions, frame=1:Line 9: Syntax error.  
holder\_mc.keyword\*\_mc.createTextField(“keyword” + \* + “\_txt”, getNextHighestDepth());

**Error** Scene=Scene 1, layer=Actions, frame=1:Line 10: Syntax error.  
holder\_mc.keyword\*\_mc.keyword\*\_txt.text = “” + keyword\* + “”;

```auto

function loadXML(loaded) {
    if (loaded) {
        xmlNode = this.firstChild;
        keyword = [];
        total = xmlNode.childNodes.length;
        for (i=0; i<total; i++) {
            keyword* = xmlNode.childNodes*.childNodes[0];
            holder_mc.createEmptyMovieClip("keyword" + * + "_mc", getNextHighestDepth());
            holder_mc.keyword*_mc.createTextField("keyword" + * + "_txt", getNextHighestDepth());
            holder_mc.keyword*_mc.keyword*_txt.text = "" + keyword* + "";
        }
    } else {
        content = "file not loaded!";
    }
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("keywords.xml");

```
