The "howToPublish" parameter of NetStream.publish command does not work.
But you can do it client-side by changing the StreamType from the client like this:
Code:
netconnection.call("setStreamType",null, "record"); // or "live-record"
// then create new NetStream object with the NetConnection object
var netstream:NetStream = new NetStream(netconnection);
netstream.publish("myStream");
"append" does have meaning however. If you do not use the "append" flag, subsequent publish commands with the same stream name will cause earlier versions to be versioned:
myStream.flv will be the most recent.
myStream_0.flv will be the previous recording.
myStream_1.flv etc.
If you do it like this myStream.flv will be appended instead:
Code:
netstream.publish("myStream","append");
Richard