Hi, There's a way to dynamically create swf files from mxml files if you also use Flex Data Services
I cite: C 2006 Adobe Systems Incorporated. All rights reserved. Building and Deploying FlexT 2 Applications Deploy phase You have two options for how to deploy your Flex Data Services application: you can compile and deploy a single SWF file, or you can deploy your application as a collection of MXML and ActionScript files. In the second scenario, you use the integrated web compiler built into Flex Data Services to compile your application upon an HTTP request. In most cases, you deploy your application as a SWF file so that you are not putting source code on your deployment server If you want to test this, there's a trial of FDS2 on the Adobe site. -----Original Message----- From: Christofer Dutz [mailto:[EMAIL PROTECTED] Sent: woensdag 18 april 2007 8:42 To: [email protected] Subject: Re: Adobe Flex(MXML)/Flash apps via Cocoon? Hi Lincoln, interesting news :) I allready thought of building a Cocoon Flex Serializer and had a look at the flex compilers code in order to be inspired. Unfortunately It was far to complex to do this at home, after work. And there were some leagal doubts preventing me from continuing after a first courious look. I would guess, that a Apache integration would be nothing else than a servlet configured to handle flex source files and compile them to swfs. You could simply generate flex source files dynamically and let the Flex servlet serve the content. The other way would be to ... well ... have a look at the code and create your own component. The problem is, that I doubt having a component like this would be legal, because it reqires decompiling the servlets code and AFAIK this is BAD. If I am wrong with this (Decompiling beeing bad or the code is freely available), please correct me, It would certainly reignite my effort to creating a FlexSerializer. Christofer Lincoln Mitchell schrieb: > Hi all, > > Adobe has recently released a beta "Flex Module for Apache and IIS" > http://labs.adobe.com/wiki/index.php/Flex_Module_for_Apache_and_IIS > > Snippet from site: > "The Flex module for Apache and Microsoft IIS provides web-tier compilation > of MXML and ActionScript files on Apache and IIS web servers. This module > lets you rapidly compile, test and deploy an application by simply > requesting the main application file from a web browser..." > > Now MXML is XML. The format served to the browser is Flash/SWF. So this is > about creating Flash based Rich Internet Applications from XML. > > I am wondering if it's use on the Apache server means we could see it become > available one day in Apache Cocoon. > > I don't know much about the Apache server, and I assume Flex applications > generation via MXML would be vastly more powerful in Cocoon rather than > Apache server. > > Any thoughts, anyone? > > Linc > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
