Here is my problem:
I’m building an AIR package, using the mxmlc and adt command line tools.
I run the following command in a /bin/stagging directory
mxmlc +configname=air -compiler.library-path+=..\..\my_project\libs\,
..\..\Modeles\libs,..\..\Service\libs,..\..\sflexlib\libs
-define+=CONFIG::appMode,"'staging'" ..\..\my_project\src\my_project.mxml
-o my_project.swf
So I create a file called my_project.swf including all the libs I need and the mxml application is the my_project.mxml file.
A my_project.swf file is created but I cannot test it at that moment because it is an AIR application. So I launch this command:
adt -package -storetype pkcs12 -keystore "..\..\certificat.p12"
-storepass "mypass" my_project.air my_project-app.xml my_project.swf
-C ..\..\my_project\src\assets\ .
If I understood the adt command, this should create an .air package described by the my_project-app.xml file and including the my_project.swf file and assets directory. I install the app and launch it but no pictures are displayed… I look in the installation folder and there is an assets folder containing all the pictures 🙁
If I launch the app directly via the FlashBuilder IDE, the pictures are well displayed.
Has anybody a solution to that? As said, the pictures are correctly extracted from the package and installed but not displayed… The paths are correct too =(
Thank you in advance
I found the solution! The halo theme was not included in the compilation line!
So I added it and launched that command:
%FLEX45_FRAMEWORK%is theFLEX_4.5_PATH\frameworksdirectoryI found the solution when I got an error by changing Embed to url() in the css file. Before that it was only a warning! =)
Thank you guys!