salve a tutti ho questo problema..il mio action script è il seguente:
Il trace da il valore corretto preso da XMLcodice:my_xml = new XML(); my_xml.load("test.xml"); my_xml.onLoad = my_function; my_xml.ignoreWhite = 1; function my_function() { this.createTextField("prova", this.getNextHighestDepth(), 40, 100,360, 300); prova.multiline = true; prova.wordWrap = true; prova.embedFonts = true; contentFormat = new TextFormat(); contentFormat.font = "Font_1"; contentFormat.size = 15; contentFormat.color = 0x333333; prova.text= my_xml.firstChild.childNodes[0].attributes.product_name; trace(my_xml.firstChild.childNodes[0].attributes.product_name); prova.setTextFormat(contentFormat); fordisplay_txt._x = 3000; if (prova.maxscroll<=1) { Scroller._x = 3000; } }
invece prova.text non da nulla...
come mai? dove sbaglio?
grazie in anticipo

Rispondi quotando