Hello,

This is my first post to this group. I was directed here by a commenter on 
my related StackOverflow 
question.<http://stackoverflow.com/questions/8216294/maven-flexmojos-produces-empty-air-app-final-product-has-no-window-creates-swf>
  
I have Googled quite a bit and also searched through this group's history. 
 I'm having the WORST time trying to solve this problem!

Problem:
I am compiling an AIR application with Flexmojos.  It produces a functional 
SWF (located, after install, at: 
/Applications/MyApp.app/Contents/Resources/MyApp.swf) but it doesn't run. 
 That is, when I click on the application, no window appears.  I see my 
application name in the Mac OS title bar (the same way I see "Safari" right 
now while typing this) but nothing else. No window. No errors. I used a 
system file monitor to verify that the SWF is being accessed by the AIR 
app.  So what gives?!

Incidentally, I get the same results when I package with ADT (I even tried 
putting ALL dependent SWCs in the /libs directory):


adt -package -storetype pkcs12 -keystore sign.p12 -storepass secretPassword 
MyApp.air air/MyApp-descriptor.xml MyApp.css MyApp.swf com -C libs .


However, when I run the application from Flash Builder, it works perfectly. 
 The same is true when I "Export a Release Build."


My best guess is this has something to do with the Flex modules we are 
using.  I assume these are being compiled into the SWF since they appear in 
the size-report.xml and the link-report.xml.


Questions:

Why doesn't our application "show up" when compiled from Flexmojos (then 
installed), yet it works perfectly from Flash Builder?

Is there a way to convert what flash builder is doing into an ADT command 
to run in the shell or into configuration for Flexmojos?

Surely when this thing fails, some kind of error is occurring, what's the 
simplest way to view that error?


A few more details can be found in my StackOverflow question, linked above. 
Thanks to any and all advice!


-gMale

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to