A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Include all files in bundle

  1. #1
    Junior Member
    Join Date
    Jun 2010
    Posts
    9

    Question Include all files in bundle

    hello, i have developed an actionscript 3 app and deployed it on air, now when i compile it, it fails to add to the bundle the import classes i have used...

    How can i add all imports to the compiled .air bundle ?

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    Go to publish settings, click on the button next to Actionscript 3, then on the button library path and add your library to the path. If you have xml files or external movies click on the button next to Adobe air and add the files where it says include files.
    - The right of the People to create Flash movies shall not be infringed. -

  3. #3
    Junior Member
    Join Date
    Jun 2010
    Posts
    9
    Quote Originally Posted by cancerinform View Post
    Go to publish settings, click on the button next to Actionscript 3, then on the button library path and add your library to the path. If you have xml files or external movies click on the button next to Adobe air and add the files where it says include files.
    Hi CancerInform, thanks for your reply, but i'm on Flash Builder 4, and there are no such options, what are my options?

  4. #4
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    Try to drag the files into the lib folder of your application. i didn't know you are using Flash builder.
    - The right of the People to create Flash movies shall not be infringed. -

  5. #5
    Junior Member
    Join Date
    Jun 2010
    Posts
    9
    Quote Originally Posted by cancerinform View Post
    Try to drag the files into the lib folder of your application. i didn't know you are using Flash builder.
    No lib folder. proyect was created as mxml and then changed main class to .as

  6. #6
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    When you create a new mxml file you need to have a project, in which this file will be located and there is a lib folder. You cannot create a standalone mxml file.
    - The right of the People to create Flash movies shall not be infringed. -

  7. #7
    Junior Member
    Join Date
    Jun 2010
    Posts
    9
    hi, i tried to create a new project, and it did create a libs folder, then i tried adding my libs (org com etc) to that folder, and after compiling they appeared on the installation folder, but they were empty! no AS files so app crashed badly, this has been happening since the beginning of my development, this app has been worked through allmost a month now, and well, now i would really like to add those files so people can deploy it one click install, and not by manually adding the libs as we are now

    what i was hoping for, was for some command line options that i may add to the compiler dialog, which maybe will add all files to bundle

    thanks for your assistance.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center