import flash.utils.ByteArray; trace("Content-type: text/html\n\n"); var bytes:ByteArray = new ByteArray(); bytes.writeUTFBytes('hogehoge fugafuga'); bytes.writeStdout();