|
|
Hi
I am trying to merge two videos into a new one using server side
actionscript. Many times it fails to produce a single file. The newly
created file is of 13 bytes. Can anyone tell why is it so. If I reload the
application from admin panel on server, its working fine.
Below is the server side code
Client.prototype.addBeforeAfter = function (beforeAfter,video1,video2) {
s = Stream.get("foo");
s.onStatus=function(infoObj)
{
trace(infoObj.code)
}
trace(beforeAfter + typeof beforeAfter)
if (s) {
if(beforeAfter=="after") {
trace("after called");
s.play(video1,0,-1,false);
s.play(video2,0,-1,false);
s.record();
}
else {
trace("before called");
s.play(video2,0,-1,false);
s.play(video1,0,-1,false);
s.record();
}
}
}
Regards
Rishi
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
|
|