Mika,

Are you trying to access remote objects/web services etc (anything that essentially leaves the client)?  Or is your app not getting past the initial progress screen?  Is your compiled swf the expected byte size?  Mxmlc as far as I am aware can produce zero byte swfs if compilation is a problem.  But it sounds to me like your swf doesn’t know how to get back to the flex server and a dependency can’t be located.  Are you using the correct gateway path within your mxmlc command or within flex-config.xml?  Post what you have.

HTHs

Leon

 

 


From: [email protected] [mailto:[email protected]] On Behalf Of Mika Kiljunen
Sent: 10 January 2006 08:08
To: [email protected]
Subject: RE: [flexcoders] mxml compile fails

 

I solved it so forget the previous post (my bad) J

 

But I ran into another weird behaviour: My app does not compile properly when compiled with mxmlc!! It reports some errors (all valid errors so far) and fails. The funny thing is that it does compile when compiled on flex server!! This is really strange, why does flex server compile it without errors, but it fails with mxmlc?!?!?

 

-Mika

 


From: [email protected] [mailto:[email protected]] On Behalf Of Mika Kiljunen
Sent: 10. tammikuuta 2006 8:51
To: [email protected]
Subject: [flexcoders] mxml compile fails

 

Hi,

Does anyone have a clue what causes this error or is there any output anywhere? It occurs always when I try to compile a simple mxml file with mxmlc.

 

The error is: “Failed to compile testApp.mxml” and that’s all. Not much help there?

 

I *think* my params are correct for mxmlc but who knows, since I never got it to compile anything, I just get that error…

 

I’m using jdk1.5.0_06

 

This is the command:

***********

java -jar "C:\Program Files\Macromedia\Flex15\lib\mxmlc.jar"

-flexlib "C:/Program Files/Macromedia/Flex15/lib"

-configuration C:/INPUT/resources/WEB-INF/flex/flex-config.xml

-webroot C:/INPUT/resources

-o c:/OUTPUT/testApp.swf

C:/INPUT/resources/testApp.mxml

***********

 

 

The scenario is that I have C:\INPUT folder that has following structure

--resources [folder]

-----testApp.mxml [file]

----WEB-INF {folder]

-----…all the flex stuff….[files & folders, ie flex folder etc.]

 

           

Any help is appreciated!

 

-Mika





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to