Automate print2flash from flex
-
- Posts:15
- Joined:Tue Jan 22, 2008 5:09 am
i am now building an application in flex. i need to automate print2flash from my application. is it possible in flex or i need to do it in php or vbscript and to call that appln from flex, if it is like that then please help in doing that.
Re: Automate print2flash from flex
Do you want to convert documents to Flash from Flex? If so, it cannot be done directly from Flex as Flex does not allow executing external programs from it. The solution is to send a file to convert to an external server, make it convert the file and get the converted file back from the server. For example, this can work as follows:
1. Flex application sends a request to a web service (using WebService Flex components) running on a server and sending it the original document to convert
2. Web service running on ASP.NET converts the document and sends back the resulting Flash file
3. Flex application receives the file
Print2Flash SDK includes a sample of such a web service in ASP.NET (which is located in Automation\Samples\ASP.NET folder of SDK archive)
1. Flex application sends a request to a web service (using WebService Flex components) running on a server and sending it the original document to convert
2. Web service running on ASP.NET converts the document and sends back the resulting Flash file
3. Flex application receives the file
Print2Flash SDK includes a sample of such a web service in ASP.NET (which is located in Automation\Samples\ASP.NET folder of SDK archive)