/*
**	This is a barebone script for supporting Flash Streaming Export to a streaming Server.
**	Using this script you can easily integrate any Flash Streaming Server to Flash Streaming Export 
**	workflow in Encore. This script does nothing but you can fill in the various places with your code 
**	to make it work for you. Please take a look at other functional export scripts for an example.
**	Remember to change the extension of this file to "jsx" if you want this script to start appearing in 
**	the Streaming Server list.
*/


/*
**	Called at the beginning of Flash Export. This is the only place where the script should show any UI. 
**	If things don't go well here you can return false and the export will stop.
*/
function Init()
{
	var success = false;
	// Your code here
	
	return success;
}

/*
**	This function is called everytime a file is to be replaced with a URL in Flash Export.
**	This function will recieve filesystem filepath of a file. Here one should be uploading 
**	the file to a streaming server using FTP or any other mechanism and return the URL of
**	the uploaded file. 
*/
function Call( inFilePath)
{
	var URL = "";
	// Your code here
	
	return URL;
}


/*
**	Called at the end of Flash Export. 
**	Any clean-ups can be done here.
*/
function Close()
{
	
}
