Advice please for creating a preloader for an AIR app

Hi.
I've developed an AIR app in flex and all I want is a preloader for when the app is opened.
I've ready plenty of the tutorials online - but most of the tutorials are geared towards <mx:Application> not <mx:WindowedApplication> and I
can't seem to get them working using the <mx:WindowedApplication preloader=" ">.
Coding the actual preloader isn't the issue i'm just having problems running it from the AIR app.
If anyone has any tips for me that would be great!
Thanks.

you could use a mx:Window in order to create a splash window.
http://livedocs.adobe.com/flex/3/html/help.html?content=WorkingWithWindows_2.html

Similar Messages

  • Any solution for Launching Air Apps from Sandboxed Chrome and Safari Browsers?

    Before we go and build our own plug-in (Ugh!)...
    As of early this year, we could no longer launch our Air application from Chrome. Now Safari (with Mavericks) has Sandboxed Flash with their browser and it will no-longer launch our application.
    Does anyone have any helpful advice (beyond building our own plug-in)?
    Thanks,
       Leo

    For the Chrome issue, I added instructions on how to manually enable an exception so that the plugin could run. The easier way to get it working is to have them install an Air app from the browser using a Flash badge. This didn't work for us since our app needs a native installer. Another option is to have our user install another Air app from our site. The exception is created for the site and the Air plugin so even though it would be a different app, once they allowed the plugin on our site, we could launch the natively installed app after that.
    I just discovered the Safari sandbox issue on Mavericks. I haven't tried either of these approaches on Safari yet. Is it the AdobeAAMDetect plugin in Safari settings that needs to be allowed?
    http://support.trainerroad.com/entries/22547739-How-do-I-allow-TrainerRoad-to-be-launched- from-the-website-

  • Admin Rights for Adobe AIR apps

    Which Admin rights are needed on a system to install a .AIR file on a system? In our Enterprise scenario users do not have Admin rights on the system. And whenever user tries installing an AIR app an error is thrown for the same. I want to know what are the least (Admin) rights that we need to give to a user on a WindowsXP system so that he can install air apps?

    Hello,
    Unfortunately, there isn't a simple answer to this question because AIR isn't in complete comtrol over the full set of files and registry keys touched during an install - we rely on Windows Installer for that.  However you can find additional information about this at:
    Does Installing an AIR Application Require Admin Rights?
    What are Administrative Rights, Anyway?
    You might also want to vote for this idea: Installation of Adobe AIR apps without having administrative privileges
    Hope this helps,
    Chris

  • CustomeUpdateUI for native AIR app installer

    Hi,
    We have a native installer for a windows and Mac AIR app.
    For updates, we use the NativeApplicationUpdater code from:
    http://code.google.com/p/nativeapplicationupdater/
    After an update has been downloaded and launched, AIR shows a dialong prompting the user to "Replace" or "Cancel"
    the update.
    I would like to get rid of the dialog as this seems to include a redundant question for the user who chose to update from the first place.
    I believe setting the <customUpdateUI> tag at the application decriptor file would hide the dialog, but that causes the update to just launch the existing app. How can I come up with custom logic that will cause the update to actually replace the existing app?
    Thanks,
    Eilon

    It does have half an answer. SWFs can request loading AIR applications so they suggested embedding a SWF on the page which would be able to launch your AIR application. Your link would need to fire off some JavaScript to use the ExternalInterface with the SWF to relay your request inside the SWF. 
    If you really want it on Windows for example then you'll need to register your URI, the example should be self explainatory:
    http://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx

  • Using Packager for Existing AIR App

    Hi,
    (I'm a total newbie to Flash and almost a newbie to development.)
    What are the considerations when planning to re-package an existing AIR app into an .ipa?  How do I even know what files to include for publishing?
    Thanks,

    One thing to consider is if using Flash CS5 your app might not publish properly or may publish with errors and bugs.  It depends on how you coded the app/flash site.  But if you are using Loader() method in your FLA make sure to include all of the swfs that your swf container file accesses.  If they are not in a subfolder you will have to add them one-by-one to your list of included files.

  • Advice Please for Sapphire HD 7950  Mac Edition Video Card

    Hello.
    I have a mid 2010 Mac Pro (5,1).
    Was wondering if anyone out there in 'Mac Land' has had personal experience with the
    Sapphire HD 7950  Mac Edition Video Card?
    In particular:
    Did you install it yourself?
    Did you have any issues  after installing?
    Does it live up to its hype?
    Do you think it was worth the price?
    Will it freak out when using BootCamp?
    I'm thinking about upgrading from the installed HD 5870 card.
    I run BootCamp with Windows 8 and Windows 7. My current Mac OS is 10.9.5.
    Thanks for your help.

    Dear Paul S, John B here. I have a 2008 Mac Pro, single Quad Core-not state of the art  at all. I bought my sapphire radeon HD 7950 to replace an nVidia 8800, so that I could play Bio shock infinite on Steam. Yes, I installed it myself, it's a piece of cake.  I had no issues after installing. Some have...might have been that gpu switch on the side was defective, but not for me. to the right for mac, left for PC, as far as I know.  As for the hype, can't say.  It does the job quite well.  I now have a Mac that can use Display Port and HDMI for output rather than DVI (very handy for buying monitors- you can use a small LCD tv as one). I guess it was worth the price, to me it was, anyway.  I learned my lesson on older graphics cards: when they go, try to not have a fit, and see if you can replace them with something a bit better, and don't take your Mac in to your local Fruit PC store, cuz they don't have a clue about such things, and the Fruit PC company's policy is to replace like with like-period.  You can ask them to, but they won't put a better video card into your Mac Pro, even though you are willing to pay the difference to upgrade. Also, you are on their turf, so you will be paying their prices for that old video card. $360 for an 8800GT mac version? I don't think so, at least not again ! Freak out with Bootcamp? I don't think so.  I've never used it with bootcamp, but I did mention the switch, so I think you're covered there.  Maybe you'd have to download and install Windows drivers for that card but that's be about it.  You might try MacVidCards.com
    but that's a crapshoot, as PC cards flashed to work with Mac may be.
    just my 2 cents
    JB

  • Help and advice please for recurrent evening speed...

    Above is the speed I recorded yesterday at 3pm  - 45 mbps. I am in North London (finchley exchange). All good but....
    Using same wired connection and computer, here is what I am getting at 9.45 pm- down to 10Mbps and BBC iPlayer stutters and starts every few minutes. This happening every evening. It seems impossible to get this sort of problem attended to.. I have sat for hours waiting for a connection to the call centre but they just take me through the standard fixes which don't address the issue. Can anyone help?? Can a Mod offer a route? Many thanks

    Java Web start is a method of distributing an application via the Web. It doesn't magically transform your application into a web-based app; the user still needs to download the entire application; and it is run locally on their machine.
    JSP will run most of the processing load on your server, which might be a better idea.
    J

  • Unicode/glyph/font advice needed for porting WinForms app to Macintosh using AIR

    I've written an application in WinForms/.NET that I'd like to port to the Macintosh platform. I have never developed for the Mac but it seems as though AIR might be a good choice. I'm totally new to AIR. Some advice and info would be much appreciated!
    Can an app be developed in AIR on a PC running Windows and then later be deployed transparently on a Macintosh? Or do I need to be developing on a Mac?
    The app is a search interface for use against text-bases comprised of texts composed in ancient European languages. I pre-index the text-base and store it in SQLite as a fully-normalized (1NF) set of relations:  TITLES, WORDS, WORDOCCURRENCES.  So the app is really nothing more than a (query-only) database application with some specialized glyph-rendering requirements.
    In the WinForms app, I used a custom third-party edit control with  extensive support for the RTF specification, in combination with some third-party fonts that contain the necessary glyphs for rendering the Unicode characters corresponding to RUNES and to some abbreviations found in medieval manuscripts. BTW, these special non-ASCII characters are represented in the database not as unicode codepoints but as entities that can be represented in standard ASCII (e.g. "&thorn;"   ); when rendered to screen, the correct glyph has to be substituted when the Unicode codepoint for the entity supplied -- in this example the codepoint would be [U+00DE] and a thorn glyph  ( Þ) should be rendered.
    Since it might not be possible to find a single omnibus Unicode font that contains a glyph for every codepoint I need to render (what are the most glyph-rich freeware Unicode fonts for Macintosh, btw?)  the text widget must let the programmer "wrap" a Unicode character or series of Unicode characters in whatever font may be required at that point in the text. Is there a rich-text widget for AIR that can do this?  A widget that can render HTML and supports CSS stylesheets would be ideal (inline-CSS-only would be OK too). If the widget had CSS stylesheet support, the string of Unicode codepoints could be wrapped with a <span class='rune'>.....</span> and  the font-name for the .rune class could be specified in the CSS stylesheet.
    Thanks very much if you've taken the time to read through this tedious stuff !

    Flash Professional started as an animation tool and was expanded with a programming language that became ActionScript (now ActionScript 3.0). Content creators began using Flash to develop applications rather than just animation, so a lot of developer-centric and application-centric functionality was added to Flash, including pre-built user interface components (written in ActionScript). All that functionality and those components are still available in Flash Pro today. However, many developers who came from a traditional programming background had trouble getting into Flash Pro because it is really an animation design tool -- so it uses a timeline, layers, visual drawing canvas, and it required some figuring out to learn how to structure an application in that type of tool.
    In response to this, Macromedia (now Adobe of course) created Flex. Flex uses ActionScript just like Flash Pro. Flex also includes numerous user interface controls, written in ActionScript. Flex also adds advanced, flexible layout control and many utilities for common programming tasks like loading data from or sending data to a server, formatting values, validating user input, and more. With Flex, you can define your user interface using an XML markup language (MXML); the compiler then turns the MXML into ActionScript code before turning it into your compiled application. As far as tooling, an eclipse-based IDE called Flex Builder was created that gives you a code editor, a workable but not designer-oriented design view, and other developer tools like debugging and profiling. (Note that Flex Builder has been renamed to Flash Builder for the next release, which is currently in public beta.)
    So to generalize, Flash Pro favors a more visual design and animation type of working style, whereas Flex favors a more text-based, code-centric working style. (But that's just a generalization -- many people, especially people who "grew up" with Flash before Flex, still prefer Flash Pro even though they're heavy coders.)
    Also, if you want to write everything in code with no pre-drawn visuals (i.e. Flash Pro) and without using MXML or Flex components, you can create your application entirely in ActionScript code. Flex Builder supports ActionScript-only projects for that purpose.
    Here are a few links for getting started with Flex, which I would personally recommend if you haven't used either one and you're building something that's more "application" focused rather than media or animation focused:
    Flex "Quick Starts" -- short articles focused on specific tasks in Flex
    Flex "Getting Started Experience" -- designed as a set of training courses, intended to take 12+ hours to complete (but you can skip around of course)
    "Flex in a week" video training -- a free 5-day video tutorial series on Flex
    Flex Developer Center "Learning Paths"
    As a side note, the link you included actually goes to the JavaScript version of the documentation, which is what you would want if you are going to use HTML/Ajax to build your app. However, if you're wanting to use Flex you would want to use the Flex version of the documentation:
    http://livedocs.adobe.com/flex/3/langref/mx/controls/HTML.html
    http://livedocs.adobe.com/flex/3/langref/flash/html/HTMLLoader.html
    And if you're wanting to use Flash, you can use the Flash Pro version of the documentation:
    http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/html/HTMLLoader.html
    Yes, it's somewhat confusing and overwhelming. We're definitely working on improving things in that regard.

  • How to create a more general install package for an AIR app?

    Hi,
    I have been using the ADT to compile an exe of my AIR app along with some other files I want to distribute. Problem is, I would like to do more general install actions (e.g. copy a bunch of files to the users Documents directory, copy a file to the local store, install fonts etc). Right now I achieve some of these by copying stuff from the application directory on the first run, but that is rather kludgy. Currently I am looking at using InstallShield or InstallAnywhere to do what I want out of the can, but I thought I'd see if anyone has some more AIR-friendly suggestions...
    Thanks!

    In my case I managed to work around the issues we were having by doing a configuration pass on the first run of the app. That means I had to basically put all the data I needed in my assets directory using the ADT compiler, then determine if it is a first run as follows:
    var locationPrefsObj:SharedObject = SharedObject.getLocal("PrefsObj");
    if ( !locationPrefsObj.data.hasOwnProperty("appCreatedDate")
    || ( locationPrefsObj.data.appCreatedDate != File.applicationDirectory.creationDate.toString() ) )
         firstRun();
    else {
         initConfig();
    // initialize an existing config
    The firstRun function will obviously be very bespoke, but you need to set the SharedObject at the end of it to make sure it doesn't get called every time.
    // this function is only run straight after an install
    private function firstRun():void {
         var success:Boolean = false;
         // do your first run stuff here and mark success=true if you are happy   
         if ( success ) {
              // set the appCreatedDate - then a future install can identify dirt left by the previous install
              var locationPrefsObj:SharedObject = SharedObject.getLocal("PrefsObj");
              locationPrefsObj.data.appCreatedDate = File.applicationDirectory.creationDate.toString();
              locationPrefsObj.flush();
    Other gotchas I hit:
    (1) You can copy things from the assets folder no problem, but to move or delete anything (so as not to leave lots of extra stuff hanging around), you need to (a) run with administrator privileges on Vista and w7 (the elevation happens automatically if you leave the "Run after install" box checked on an ADT install), and (b) work around the Flash security model that says you can't delete anything from a subdirectory of Program Files under any circumstances. I got around this by something like:
    // delete a file
    new File(File.applicationDirectory.resolvePath("assets/fileToBeDeleted").nativePath).deleteFi le();
    It's a bit nasty as it violates the security model, but until ADT lets you put stuff in two install locations I can't see another way to clean up the install properly.
    (2) I tried to install fonts (using VB and other stuff), but it is a real mess - the models in all different flavours of Windows seem to be different. I gave up as our software could get around it another way ...
    Hope that helps!

  • Problem with getDefinition method in ApplicationDomain for iOS AIR app

    I was using getDefinition method in ApplicationDomain to get class definition of an exported symbol from an external swf. It used to work fine with debug builds even on iOS. But when i exported a release build and installed the ipa file on iPad it stopped working. I debugged and found out that getDefinition is returning null in case of release builds on iPad.
    Is it a known issue? If yes, is there any workaround present ?

    Fast packaging in Flash Builder internally uses interpreter mode.
    The "Export Release Build" option generates an AOT build which uses ipa-app-store. For more on different target types in AIR iOS, refer:
    http://help.adobe.com/en_US/air/build/WS901d38e593cd1bac1e63e3d128cdca935b-8000.html
    When you export some symbol (in say Flash Pro via AS Linkage), actionscript byte code is inserted in your SWF. As this SWF hasn't been AOTed, you are not able to access the symbols in it in a release build. Presently there is no way to AOT external swfs. Using the currently available tools, your best bet is to create a single SWF and then "export release build"

  • Videos/Audios for Adobe AIR App

    Hi there,
    I'm new to Adobe AIR and I would like to find out if I'm building an app that sells videos/musics . Do I need to store all the video/music samples in the user's computer (part of the app) in order to be viewed offline?
    Thanks in advance!
    cheers.

    You need to store the music and videos somewhere on the user's computer, but not in the application install directory. (The documents directory is possibly a good place for them.)

  • Is Stage3d available for an Air app on Android?

    hello guys~ i have seen some cool videos about Molehill demo on android device ,
    but when i start to learn stage3d and adobe air , i hear someone say stage3d is not available for mobile at this moment (only work on desktop).
    i read adobe air3.0 / air3.1 realease notes and stage3d documents but no information about whether the stage3d hardware accelerated rendering is avaiable right now on android or not .
    could any one tell me ? thanks!!

    As you know Stage3D uses the GPU of the underlying machine. It is therefore a seriously low-level piece of middleware, full of custom assembly language code for every single brand of GPU, of which there are a few in the mobile space.
    Perhaps you consider AIR something other than middleware, that is the best i could do. Anyway Adobe staff are busting their rears making it, but it is not yet released. No one will give a date because until it passes through Quality Assurance it cannot ship. Adobe is loathe to release a buggy version because they will get pounded for it. I have no relationship with Adobe, nor any secret source, but I would venture that it will be June 2012 before we see Android / iOS stage3d availability at the earliest.
    should be great, we haven't seen that many good 3D middleware solutions, and the adobe one looks promising.

  • $99 Digital Cert for Signing Air Apps

    I came across this today when looking @ CAs...
    http://www.globalsign.com/developer/code-signing-certificate/promotion.htm
    I noticed that globalsign is listed in accepted Cert Auths in
    FireFox -- looks to be a good deal...
    (No, I don't work for them and I'm not affiliated with them
    ;o)
    Purchasing mine now...
    Though this might help others...

    I came across this today when looking @ CAs...
    http://www.globalsign.com/developer/code-signing-certificate/promotion.htm
    I noticed that globalsign is listed in accepted Cert Auths in
    FireFox -- looks to be a good deal...
    (No, I don't work for them and I'm not affiliated with them
    ;o)
    Purchasing mine now...
    Though this might help others...

  • License Keys for Adobe Air Apps

    Many software applications require the end user to input a valid license key before proceeding with the installation. I have yet to come across an Adobe AIR application that employs this mechanism.
    The question is how can i integrate such a mechanism into an adobe air app?

    Two options:
    a) Build a licensing verification scheme yourself
    b) Use a 3rd party tool, such as NitroLM or Sharify or Shibuya

  • How to set flex builder profiler for AIR apps ?

    Hi everybody !
    I am trying to profile my AIR app but I can't run the profiler....
    For flex app (in web browser) profiler works fine, for my AIR app, debug works but profiler just display 'socket timeout'.
    I also try to profile my air app as an external application profiler start but crash saying NativeWindow not found (like AIR sdk was not found...)
    SO How I can't set my AIR player or my profiler to work ???
    Thx all and happy christmas !

    Hello,
    I would be glad if someone show me how to accomplish those. I am new to Java so I am not sure how to do those.
    Best Regards.
    1. create a batch file to launch your 'desktop' app - the batch file should set the proper environment (JAVA_HOME,, path, etc)
    2. create a small wrapper application that is launched by Java web start.
    3. the wrapper app will do nothing more use ProcessBuilder to execute the batch file you created which will then launch the app
    That way Java web start can use 1.7 to launch the wrapper app but the batch file will set the environment to 1.5 for the other app.

Maybe you are looking for

  • JBO-26080 - (Repost)

    I am getting the following error while trying to update a record. The error message is as follows: oracle.jbo.DMLException: JBO-26080: Error while selecting entity for MyTableName. I am using JDeveloper 3.2 running on a Windows NT 4.0 platform. I am

  • [svn] 3789: Integrated Build 192 of what used to be called TCAL (and, before that, Vellum).

    Revision: 3789 Author: [email protected] Date: 2008-10-21 12:55:26 -0700 (Tue, 21 Oct 2008) Log Message: Integrated Build 192 of what used to be called TCAL (and, before that, Vellum). The Text Component ActionScript Library (TCAL) has been renamed t

  • Hash marks in Regular Expressions

    Given this example code, what do you expect as output?import java.util.regex.Matcher; import java.util.regex.Pattern; public class HashTest    * @param args   public static void main(String[] args)     String testChar = "#";     String testInput = "t

  • Multi window view missing drag and drop

    The 4.3 update for Note 2 says it will be upgraded to Note 3 version.  Didn't the Note 3 have drag and drop capability?  This option is not available on my now updated Note 2.  Am I missing something?

  • How to get committed date for each component after availability check

    Hi, When I use CO02 to check material availability, I can see committed date in missing part list and missing part overview for each component in production order. I save it and use CO03 to read missing part list again. The committed date is blank?!