Macromedia Flash Server - Server side recording fails

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > April 2005 > Server side recording fails





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Server side recording fails
Rishi

2005-04-07, 5:56 pm


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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com