1 person found this helpful
On the following webpage, there is a 'headless-server' option for compiling Flex applications. Other then that, since I never had the need to build a headless app, I wouldn't be able suggest anything else at this time.
Thanks for the reply.
It looks like the link you posted would allow you to compile headlessly which really doesn't solve our problem. We need to be able to execute a flex app headlessly so we can output the same PDF we get from AlivePDF.
Doing my own research this doesn't appear to be possible right now. My PM is not going to be happy.
Yes, I also just researched and believe executing a Flex app in headless mode isn't possible. Here is Labriola's reply to a similar question someone had:
Let me address the headless one. Neither Fluint, FlexUnit nor Flex itself works in a headless environment. That is because Flash Player will not work headless. On Linux, it is possible to run a virtual framebuffer which fools the Flash Player into starting even without appropriate video display.
You can find instructions about how that might work here:
Did you come across this post in your search? Are you running Linux on your server? Anyways, goodluck.
An AIR app can listen on a socket. The server will have to be running an OS
that supports AIR.
An AIR app can be launched with parameters, execute and quit and never show
Yes, I came across that post when trying to find the answer. The issue we have is that the software can be distributed on a number of platforms. Guaranteeing a video display isn't currently part of our requirements. The whole procedure also just feels like a hack.
Can this be done without a display device?