Adobe Air - Packaging external local files with application?
I'm new to Air. I'd like my application to be pretty light so it loads quickly. So i'd like to place all my assets (XML files, graphics, etc) outside from the main Air file and when the main Air file is loaded into memory, I'd like it to load in the asset files at runtime.
So how do I go about telling Flash builder to save my asset files locally when it packages my Air Application and also ensure I can access these files while debudding my application?
I recently worked with this same problem. The answer is to use the adt command-line tool that comes with the SDK to explicitly include everything you want into your .air package.
http://livedocs.adobe.com/flex/3/html/help.html?content=CommandLineTools_5.html
Also, I haven't tried this tool, but it sounds promising:
http://www.webkitchen.be/package-assistant-pro/
Steve
Similar Messages
-
Is the Adobe Air Packager for Desktop or Web Application Apps?
Is the Adobe Air Packager for desktop or web applications?
I'm testing the RoboHelp Adobe Air packager and noticed that
it produces an *.exe file that must be launched locally. This makes
it seem like it's only an alternative to the *.CHM format for
desktop applications?
Is there a way to link to webhelp topics packaged using Adobe
Air to provide context-sensitive help (CSH) for a web application
running on a remote server? Supposedly the Adobe Air packager has
CSH capabilities, but I've found zero documentation on how to set
this up.Hi Dirk.
Peter Grainge has an article on Air's use on his
site. -
Every time I try to install new product through adobe air I get this message: The application could not be installed because the installer file is damaged. Try obtaining a new installer file from the application author. Kiran Kumar: May I have the product name and version you are referring to? I've looked over the online suggested repair which indicates to search for and delete Adobe Muse but when go looking for it, it doesn't seem to exist. How can I get this resolved?
Finally found a fix on my own....Wasted like 3 hours today. Hope this helps for anyone struggling with that stupid error message:
-
Adobe Air Packager for RoboHelp
Hello! I have been experimenting with the RoboHelp Packager
for Adobe Air. I really like the many extra features using Adobe
Air allows for Help Files and of course, I also like that you can
finally do a Help File that looks and feels more up-to-date than
the normal boring chm files.
My question is, since I am about to suggest to my company for
us to begin doing our Help Files with Adobe Air Packager, can
someone tell me how to find out if Adobe will continue offering the
RoboHelp Packager for the next versions of RoboHelp? I don't want
to suggest using Adobe Air to then have to revert to the old
fashioned chm's later on...
Thanks for any help...When you are comparing this to Flash, does this comparison
extend to the requirement for each end user to install the Air
runtime on their PCs before they can access our RoboHelp system?
And that they will also get reminders to update to the latest
version of Air runtime? -
Is there a way to deploy Adobe Air package via Group Policy or SCCM?
Is there a way to deploy Adobe Air package via Group Policy or SCCM?
hi,
I guess you can try the following options
Remove the all the entry from the TOC of your project or create a new blank TOC and select that while AIR file generation
Remove the all the entry from the index of your project or create a new blank index and select that while AIR file generation
Remove the all the entry from the glossary of your project or create a new blank glossary file and select that while AIR file generation
THis will ensure that TOC/Index/Glossary page is not shown,
There is no way to hide Favorite or RSS from the AIR Help. Again, you can try looking at the Unipane Template provided in the AIR SSL Dialog.
Hope this helps
-Praful Jain -
What to do when local file with serial number has been removed?
what to do when local file with serial number has been removed?
Please describe your problems and symptoms in more detail. Please include system (eg Windows 7) and name + version of Adobe software.
-
How To Run An External .exe File With Command Line Arguments
Hiya, could anyone tell me how I can run an external .exe file with command line arguments in Java, and if possible catch any printouts the external .exe file prints to the command line.
Thanks.Using the Runtime.exec() command. And read this:
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html -
What the name of the Adobe Flash package I can install with yum .
Hello,
What the name of the Adobe Flash package I can install with yum . I am using oracle linux 6.4 x86_64.
Thanks GlennAdmin1001 wrote:
You will need to install the flash-plugin package.
# yum install flash-pluginThere is no such installation package:
# yum repolist
Loaded plugins: security
repo id repo name status
ol6_UEK_latest Latest Unbreakable Enterprise Kernel for Oracle Linux 6Server (x86_64) 169
ol6_latest Oracle Linux 6Server Latest (x86_64) 21,382
repolist: 21,551
# yum list flash-plugin
Loaded plugins: security
Error: No matching Packages to list -
How can I set connection to external XML file with Dreamweaver to buiild AIR app?
Hello,
I try to do simple AIR app in dreamweaver. It's not problem
to use static data. But I'd like to use dynamic data from external
XML file. I try to use Spry and evrything works fine in web browser
but i have problem with loading external XML data into my app in
AIR. Can I simply transform my spry based html app into AIR?
What should I add to do this?
PawelDaniel Lichtenwald wrote:
What are the requirements and steps for arranging to receive this large file using File Transfer Protocol (FTP)?
Usually, we don't speak of "receive" when using FTP, since the file is transferred from server to client, so it's more of a case of "download".
At your end, it's simple. You use an FTP client; under SL, that includes Finder and Safari, so you don't even need to get any additional software.
At the other end, it's more complicated; the 'sender' must set up an FTP server on his machine.
Alternatively, you can set up your own Mac as an FTP server, and have the 'sender' connect to you with an FTP client and upload the file; but, if your Mac lives behind a router, then you have more work to do with the router settings.
That's why it's much easier to use the file sharing services mentioned above -- if they are available in both sender's and receiver's locations. (Keep in mind that some countries block access to all those mentioned -- except perhaps <www.transfer.ro>, of which I know absolutely nothing.) -
Good evening all,
I think this is a complex issue.
I have adobe air application which loads a SWF I made.
Inside this SWF I have used the "component LOADER" to load
something with "ContentPath=image.jpg" for example.
But the swf loaded in the Adobe air works, but does not load
the "ContentPath image"...
(it does load and display it when it this swf is run outside
adobe Air)
I need it to be dynamic like this, so if eventually I Include
it in the package it won't help much...
I just intend to replace an image background from this loaded
swf file!
Thanks!
Edit:
At this time of the editing, I fear and realize
something....I have been using Actionscript2 for the .SWF file,
could it be why it does not works???
If its problematic, is there a simple way like telling it to
read actionscript2, rather than transforming everything??
edit2:
I found this on the official AIR FAQ:
Will Flash version 8 and below SWF files run in Adobe AIR?
Yes. However, the Adobe AIR APIs are only exposed to Flash
content via ActionScript 3 / AVM2, and thus Flash 8 / AVM1 SWFs
will be able to run, but they will not have direct access to the
Adobe AIR APIs.
source:
source
faq Adobe
it seems it should works!!??
Edit3:
nope I confirm at least some code made in Actionscript2
works.
I am sure this code needed to be changed for working in
actionscript3, so "actionscript2" code works in Adobe Air.
The problem of not loading my image must come from something
else!!??Good Morning all!
Hilarious....
I tried so much to think maybe Adobe Air does not like a SWF
using actionscript2, or it does not load any "external image from a
swf", etc...
None of that!
I just in FLASH in the ComponentLoader....I did put simply
the ContentPath at "myimage.jpg"....
Of course I had to use the absolute path like
"c:\\myfolder\\myimage.jpg"
Of course aswell it works now!!! -
Adobe Air package damaged -problem
Hi!
I packaged my Adobe Air HTML/JavaScript -application with Dreamweaver CS 5.5 AIr Extension. Packaging with homemade signature went without any problems, but installing the application doesn't work. I get the error #1000 during installation. I suspect that problem relates to same bug that has been discussed in this thread: http://forums.adobe.com/thread/778613#3405543 (internal bug number 1674848). I thought that the bug has been resolved, but the installation works if I remove large (420MB) sqllite-db-file from package. The package's compressed size is ~ 95MB.
My developing enviroment:
Windows 7 x64 (4GB RAM)
Adobe Dreamweaver CS5.5
Latest Adobe Air Extension for Dreamweaver
Latest Adobe Air runtime / SDK (2.7; I have also tried building from command line with same results)
Is the bug still there or should I try something else?The only idea that comes to mind is to keep the file on the dvd, then have your app install (copy) it on first launch.
Thanks for adding the bug. For others affected by this, please visit the bug and add your vote. All feedback is appreciated!
https://bugbase.adobe.com/index.cfm?event=bug&id=2938315
Chris -
I have a subscription to Adobe Story Plus. I have been attempting to download the desktop version for over a week with no luck. I've read every forum I can find and attempted every suggested solution with no luck.
Things I have done:
- downloaded adobe air directly from website.
- refreshed adobe story after air download and retried story download.
- restarted computer
- attempted download on multiple internet browsers.
***One thing that I have noticed is that I cannot actually find the adobe air application on my pc. The installer is present and every time I try to open it I am told that air is already installed and updated.
Any help would be greatly appreciated. I'm no computer expert, but I am capable enough to usually troubleshoot my own problems. This one has gotten away from me though and I'm out of ideas.
Thank you in advance.
AdamDoes these steps help?
- Download Adobe AIR from https://get.adobe.com/air
- Double click on the downloaded file and install it.
- After installation, download the Adobe Story installer directory from https://story.adobe.com/AIR/AdobeStory.air
- Double click on the downloaded installer to install it. -
Adobe AIR Android + MediaPlayer: Video Plays with no Audio
I am trying to play a video in my Adobe AIR Android App. I can't seem to get the video to play with audio in the application. I can get the audio to play in the native players on both my Samsung Galay and my Asus Transformer outside of my app, but when I load the video using StageVideo, the audio doesn't play at all.
I tried just launching the video into the navtive browser or using StageWebView but that doesn't work either.
I am a bit at a loss and need some advice.
Here's the code below.
MediaPlayerExample:
var resource:URLResource = new URLResource(videoPath);
container = new MediaContainer();
addChild(container);
container.y = this.headerHeight;
videoElement = new VideoElement(resource);
videoElement.smoothing = true;
container.addMediaElement(videoElement);
container.width = this.stage.stageWidth;
container.height = this.stage.stageHeight;
mediaPlayer = new MediaPlayer();
mediaPlayer.media = videoElement;
mediaPlayer.addEventListener(TimeEvent.CURRENT_TIME_CHANGE, this._onProgress);
this.videoHeader = new VideoHeader(this.stage.stageWidth);
this.addChild(this.videoHeader);
Any help would be great!Quicktime or Quicktime Pro (both of which iTunes uses) does not convert "muxed" ( muxed means multiplexed where the audio and video are stored on the same track) video files properly. It only plays the video and not the audio.
See:iPod plays video but not audio.
You need a 3rd party converter to convert the file with both audio and video.
See this for help: Guide to converting video for iPod (Mac/Windows). -
Uninstall of Adobe Air leaves folders and files
We have a server which had Adobe Air installed. This was removed but there are still program file folders with files inside. Why hasn't the uninstall removed these files ?
Is there a tool or a way to do it properly or do we just have to delete the folder paths as I know Registry entries will also be existing.So, from my understanding of uninstallers, there is an install log which documents all the files that was installed. When the uninstaller runs, it removes all of these files and then deletes the folder. However, in this case, it does not remove the bin file and so does not remove it, and then when it checks the folder it sees there is a file still located in it so it does not remove the folder.
I was unable to locate a way to change this in the LabWindows/CVI distribution. An option might be to include the bin file in the installer. However, I'm not sure exactly what this bin file does and if this would cause any future issues. Another option would create a bat file that is distributed with the uninstaller that uninstalls the program and then deletes the folder.
Jesse S.
Applications Engineer
National Instruments -
I have updated Adobe AIR and unable to open previous applications Getting Error
I have updated Adobe AIR and unable to open previouly instalkled applications which works on adobe AIR.
While updating the application iam getting an ERROR # 16824 and iam unable to run the software as well.
iam not a coder, so plz help me reactify the issue: URGENTWhat application are you having problems with? Can you uninstall the AIR update and reinstall an older version (AIR 4 or 13) located here: Archived Adobe AIR SDK versions
Maybe you are looking for
-
Mail Shuts Down when trying to Open Email with movie
Just recently Mail is shutting down when I try to open an email with attached movie. When I mail again, the email is still there with the blue dot. I found one document suggesting a Java..Cocoa plug in may be the culprit but no luck. Any ideas? Any a
-
How do I set up the customer with a sign on into beehive team collab?
I need to have the customer view our documents in our workspaces. How do they get a sign on and what is the https site they do this at? Is there an instruction manual for the customer/client? How do they get a sign on if they never had one into iproj
-
Made a huge mistake....bought two separate copies of Tiger OSX.
I lost one copy of Tiger OSX. So instead of calling apple care, I bought another copy. When I did the install, I changed my username. I had no clue it would affect my IDISk forever. Now when I am trying to save to IDisk, it asks for the password for
-
Hii guys, I am inserting data from table INCR_DP_SALES_SUM_SRS in to INCR_DP_SALES_SUM. The count has increased from 1,460,878 to 2,242,934. what i am doing is I am pulling item id based on div_nbr and ITM_NBR. I am have looked at few records with IT
-
G-day. I have been having problems compiling most programs. After running the ./configure as per instruction... then make. It will start compiling but will always seems to halt and display make: Fatal error: Command failed for target `all-recursive'