Hi,
 
1) You don't LCDS to compile stuff, you can pre-compile your Flex application 
by simply using the Flex SDK. It comes with the compiler. You can read about it 
here: http://livedocs.adobe.com/flex/3/html/compilers_01.html
 
2) I dont completly understand this question.... is that in your Flex app you 
are trying to communicate with an HTTPService and you want to pass it the URL?
 
Dimitrios Gianninas
RIA Developer and Team Lead
Optimal Payments Inc.
 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
pankajtandon2003
Sent: Wednesday, July 09, 2008 2:01 PM
To: [email protected]
Subject: [flexcoders] mxml to swf on a J2EE server



Hello,
I'm trying to integrate a Flex app with a J2EE app. After reading up a
little I determined that LifeCycle Data ES is what I would need to
effect this. LifeCycle Data ES is what allows me to get data from the
server and save data etc. However I really don't need that level of
integration. All I need is the ability to compile my .mxml file on the
server so that it is rendered as a .swf file on the client. LifeCycle
Data ES seems like overkill for just this.

How can I achieve above.

Secondly, I need to pass in a file name to my .mxml file dynamically.
Traditionally, since the mxml file is executing on the client, I would
expect a HTTPService call to get the file name. However, if my .mxml
file is dynamically compiled on the server into an .swf (like a .jsp
into a servlet), then I can really place the file name dynamically in
the source code of the mxml file. How can I do so specifically?

So there are two questions:
1. How can I compile .mxml files into .swfs on a J2EE server without
using LifeCycle Data ES.
2. How can I specify a filename dynamically in a .mxml file so that it
compiles int a .swf with the right filename (and executes on the
client as usual)

Thanks in advance,
Pankaj



 

-- 
WARNING
-------
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--------------
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.

Reply via email to