flash on 2012-12-15
♥0 |
Line 18 |
Modified 2012-12-15 06:13:23 |
MIT License
archived:2017-03-30 22:55:44
ActionScript3 source code
/**
* Copyright mutantleg ( http://wonderfl.net/user/mutantleg )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/qnUp
*/
package {
import flash.text.TextField;
import flash.display.Sprite;
public class FlashTest extends Sprite {
public var deb:TextField;
public function FlashTest() {
deb = new TextField();
deb.width = 400;
deb.height = 400;
addChild(deb);
var xm:XML;
xm = new XML( );
xm = <test k="1" />;
xm.@testing = 0;
deb.text = "Xml: " + xm.toXMLString();
}//ctor
}
}