In case Flash no longer exists; a copy of this site is included in the Flashpoint archive's "ultimate" collection.

Dead Code Preservation :: Archived AS3 works from wonderfl.net

XMLが直接書けるのはうれしい

Get Adobe Flash player
by taisukef 08 Jul 2009

    Tags

    xml
    Embed
/**
 * Copyright taisukef ( http://wonderfl.net/user/taisukef )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/6wzL
 */

package {
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            var xml:XML = <test param="abc">XMLタグがこんな風に書けるなんて感激</test>;
            trace(xml.toXMLString());
        }
    }
}