Adobe Air HelloWord Application Problem

I build a app by referring the devappshtml.pdf instructions.
The problem is when i use command "adt helloworld-app.xml", the cmd prompt says
app:/HelloWorld.html:5 HTML ERROR: Unmatched </head> encountered.  Ignoring tag.
app:/HelloWorld.html:6 HTML ERROR: Extra <body> encountered.  Migrating attribut
es back to the original <body> element and ignoring the tag.
E:\Team\ALog\2011.03.18\HelloWorld>adl HelloWorld-app.xml
app:/HelloWorld.html:5 HTML ERROR: Unmatched </head> encountered.  Ignoring tag.
I am make sure there is nothing wrong with the html script. Is there something wrong with the "adt" debugger?

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

Similar Messages

  • Change Encore Project into a adobe air desktop application with password

    Good afternoon,
    I am trying to find a a way that i can change or inport a Encore project into a adobe air desktop application so that a can password protect it. I have a training simulator built in Encore that has a large number of menus and videos that i would like to tern into a tesk top application that i can password protect. Encore out puts this as a swf file. Is there any way to do this? I have bin looking around an the web and can't seem to find any information on this kind of problem. Any help would be greatly appreciated.
    Many thanks,
    Justin

    Hi Justin,
    ok, assuming that your external SWF tries to access some hosting application context (methods/properties) you could try:
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                                xmlns:s="library://ns.adobe.com/flex/spark"
                                xmlns:mx="library://ns.adobe.com/flex/mx"
                                applicationComplete="applicationCompleteHandler(event)">
         <fx:Script>
              <![CDATA[
                   import mx.controls.Alert;
                   import mx.events.FlexEvent;
                   private var loader:URLLoader = null;
                   protected function applicationCompleteHandler(event:FlexEvent):void
                        loader = new URLLoader();
                        loader.dataFormat = URLLoaderDataFormat.BINARY;
                        var url:String = "MyApplication.swf";
                        loader.load(new URLRequest(url));
                        loader.addEventListener(Event.COMPLETE, loaderCompleteHandler);
                        loader.addEventListener(IOErrorEvent.IO_ERROR, loaderErrorHandler);                   
                   protected function loaderCompleteHandler(event:Event):void
                        // allow cross-scripting in case loaded content tries to access
                        // that context properties or methods
                        var context:LoaderContext = new LoaderContext();
                        context.allowCodeImport = true;
                        swfLoader.loaderContext = context;
                        swfLoader.load(loader.data);
                        cleanup();
                   protected function loaderErrorHandler(errorEvent:IOErrorEvent):void
                        mx.controls.Alert.show(errorEvent.text, "ERROR");
                        cleanup();
                   private function cleanup():void
                        loader.removeEventListener(Event.COMPLETE, loaderCompleteHandler);
                        loader.removeEventListener(IOErrorEvent.IO_ERROR, loaderErrorHandler);
                        loader = null;
              ]]>
         </fx:Script>
         <!-- ui -->
         <s:SWFLoader width="100%" height="100%" id="swfLoader"/>
         <!-- -->
    </s:WindowedApplication>
    See that doc for some details "allowCodeImport":
    http://www.adobe.com/devnet/flashplayer/articles/fplayer10_1_air2_security_changes.html
    note: I'm not sure if that would 100% work. I don't know what Encore authored .swf really do, for that you could ask on Encore forum:
    http://forums.adobe.com/community/encore/encore_general
    regards,
    Peter

  • Connecting between two Adobe air mobile applications (On Android)

    Hi There,
    Does an Adobe AIR application can connect and pass parameters somehow (Directly or by http) with another android application?
    Can Adobe AIR mobile application open a listening socket?

    Um, I'm pretty sure this is wrong. You cannot use SocketServer on a mobile app platform for some stupid reason.
    From the doc
    "AIR profile support: This feature is supported on all desktop operating systems, but is not supported on mobile devices or AIR for TV devices"

  • Adobe Air+ Flex applications to build from database

    Hi,
    I know how to create a Flex application from database.But
    when we are developing a flex application from database using Adobe
    AIR,i'm not able to run the application.It is throwing an error
    saying .xml file is missing.Can anyone help me out with
    this?

    In Flex, an application can be created from database by
    following the steps as follows:
    STEP 1. Create a new Flex Project and name it as for example,
    “FLEXDB”. Select the
    application type as “Web Application (runs in Flash
    Player)” and Application server type as
    “ASP.Net”.
    STEP 2. Go to Data->Create application from database.
    Select the project as
    FLEXDB”.Create a new Connection to SqlServer 2005 and
    specify the database and name that connection
    as”TestConn”. Then select any table (for example
    DashboardRegion) from the list of tables and click
    “Next” button.
    STEP 3. Select the Server language as “C# with Web
    Services”. Click “Finish”.
    STEP 4. Then the following files and folders will be created
    under the project “FLEXDB”
    automatically.
    • DashboardRegion.mxml -- is a design page.
    • DashboardRegionScript.as -- defines web service
    object and capture the results and assigns the results to the
    corresponding UI Component.
    • DashboardRegionConfig.as -- calls the Web Service
    file.
    • DashboardRegion.asmx -- calls the Class Files
    (DashboardRegion.cs file).
    • Web.config – defines the Connection string
    • App_Code is a folder which contains the following
    files
    o DashboardRegion.cs that interacts with SQL Server 2005 and
    return the results.
    o TestConn.cs that defines connection to SQL Server 2005.
    STEP 5. Run the application “DashboardRegion.mxml
    ”.We can see the Database results
    Fetched and displayed in the corresponding UI Component in
    the output.
    Now we are trying to create a Similar Flex Application using
    Adobe AIR.
    For this, we have to follow similar steps mentioned as above
    with a slight modification in STEP 1. It will be as follows:
    STEP 1. Create a new Flex Project and name it as for
    example, “FLEXDB”. Select the
    application type as”Desktop Application (runs in Adobe
    AIR)” and Application server type as “ASP.Net”.
    The remaining steps are same as above.
    When we try to run the application
    “DashboardRegion.mxml”, it is throwing an error saying
    “DashboardRegion-app.xml” file is missing. To solve
    this issue we tried creating “DashboardRegion-app.xml”
    file manually, the application is running but, again throwing an
    error saying “Unable to load WSDL. If currently online,
    please verify the URI and/or format of the WSDL
    (../DashBoardRegion.asmx?wsdl)”.
    Can any one please suggest a solution for this?
    Or Help me how to connect sql server 2005 in the Adobe AIR
    application that are buid using Flex builder.

  • Adobe AIR Flash application - fill login and password

    Hi,
    I have Adobe AIR desktop application, which show login form. It is necessary to fill login and password after execute. I would like prepare external application in C# or in Adobe AIR Desktop. My application should executed Adobe AIR Desktop application and fill login and password to text input and press button "Login". I try to use Win32 Api but it is not possible to get handler on input elements. I am nowbie in AIR Desktop. It is possible to get handler to external Adobe AIR Flash application in Adobe AIR application and fill text? I try to find any function for communication with window of external application, but I can not find anything. Can you please help me?

    64bit support will be in the next (v. 16) sdk release and is currently available in beta:
    http://labsdownload.adobe.com/pub/labs/flashruntimes/shared/air16_flashplayer16_releasenot es.pdf

  • 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

  • HELP! - Can't update Adobe Air Apps - Application Install Error

    I have several Adobe Air Apps on my Mac OSX (10.9.4) MackBook Pro. They won't update due to the following Install Error.
    "The application cannot be installed due to a certificate problem. The certificate does not match the installed application certificate, does not support application upgrades, or is invalid. Please contact the application author."
    Following the above instructions, I've been contacting the authors of my Adobe Air Apps and they are telling me that it is not their problem. The Apps should simply update without difficulty.
    I searched the "Google" and found no fix other than uninstall and reinstall Adobe Air. Did this and the problem persists.
    If you can help me get beyond this issue and back to productivity, I'd be very appreciative.
    Thanks!
    David

    I had a similar problem when trying to install Zinio.air. I have made it all work out. What i did was remove Adobe Air 15 entirely from the Utiliites and Library/ accounts and preferences. I then downloaded Adobe Air 13 and installed and then clicked on Zinio .air and it all installed ok. I also had to temporarily change security settings from Apple approved to Anywhere. All functioning now.

  • Java.lang.NullPointerException is thrown when packaging Adobe AIR 3 application for iOS

    I just update my AIR project for iOS from Adobe AIR 2.6 to Adobe AIR 3.1 (that comes with Flash Builder 4.6), than I always got an exception when packaging my application:
    Error occurred while packaging the application:
        Exception in thread "main" java.lang.NullPointerException
            at adobe.abc.Nsset.match(Nsset.java:263)
            at adobe.abc.Name.match(Name.java:555)
            at adobe.abc.Symtab.getEntry(Symtab.java:37)
            at adobe.abc.Symtab.get(Symtab.java:55)
            at adobe.abc.Type.setNeedsArgumentsUpInheritanceHierarchy(Type.java:343)
            at adobe.abc.Type.setNeedsArgumentsUptoRoot(Type.java:269)
            at adobe.abc.GlobalOptimizer$InputAbc.resolveType(GlobalOptimizer.java:558)
            at adobe.abc.GlobalOptimizer$InputAbc.resolveType(GlobalOptimizer.java:448)
            at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:327)
            at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler.java:472)
            at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:82)
        Compilation failed while executing : ADT
    What is the cause of this error, so I can avoid it in my project before AIR team fix this?
    Thank you.

    Hi Everyone,
    I'm getting basically the same error. Are there any rules or guidelines that we are suppose follow when writing an app for iOS? Is there a way to know exactly where it is crashing? My apps are not MXML, only actionscript. Also I made sure I have no errors not even warnings in my SWF file, but still no go! 
    Getting the same error.
    Exception in thread "main" java.lang.NullPointerException
            at adobe.abc.GlobalOptimizer.sccp_eval(GlobalOptimizer.java:6944)
            at adobe.abc.GlobalOptimizer.sccp_analyze(GlobalOptimizer.java:5909)
            at adobe.abc.GlobalOptimizer.sccp(GlobalOptimizer.java:4628)
            at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:3514)
            at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:2215)
            at adobe.abc.LLVMEmitter.optimizeABCs(LLVMEmitter.java:526)
            at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:336)
            at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler
    .java:472)
            at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:82)
    Compilation failed while executing : ADT
    regards,
    Keith

  • Adobe AIR Desktop Application - HD Video Playback

    Hello everyone,
    I am new to the forums. Hope I am posting in the correct one.
    I have been doing AS3 development for last 2 years. But recently I had to implement a HD Video playback in windows. I was happy to know that StageVideo helps in that case. So I started coding and created projector (not with Adobe AIR , but to play with Flash StandAlone player). Was working great , playing 3840*1080 video with ease, awesome performance. But the problem came when I had to switch to fullscreen in that program. We were using 2 Monitors with extended desktop to give 3840x1080 resolution. The Flash could switch only to one screen. I leanred a new thing , Flash just can not switch fullscreen on two screens, be it standalone/web.
    Then I came across AIR , saw on some forums that with NativeWindow class you can pretty easily run a AIR app fullscreen on 2 different monitors. I thought awesome ! I installed Flash Develop and got started with AIR 3.7 SDK. when I ported my AS3 code for AIR app , came to know that the stageVideo does not work here (that was completely unexpected!). So Now I am confused which path to take as Flash can not go fullscreen on dual monitors, and AIR can not use stageVideo.
    Any help will be appriciated. Thanks in advance.
    Edit -
    The StageVideo Class seems available , but it returns the stage.stageVideos.length as 0. Attached a StageVideoAvailabiliityEvent to stage but seems it never is available. Any other way to play HD Video ? Native flash.media.Video is not able to handle such big video.
    Message was edited by: amitsarangi

    Hello everyone,
    I am new to the forums. Hope I am posting in the correct one.
    I have been doing AS3 development for last 2 years. But recently I had to implement a HD Video playback in windows. I was happy to know that StageVideo helps in that case. So I started coding and created projector (not with Adobe AIR , but to play with Flash StandAlone player). Was working great , playing 3840*1080 video with ease, awesome performance. But the problem came when I had to switch to fullscreen in that program. We were using 2 Monitors with extended desktop to give 3840x1080 resolution. The Flash could switch only to one screen. I leanred a new thing , Flash just can not switch fullscreen on two screens, be it standalone/web.
    Then I came across AIR , saw on some forums that with NativeWindow class you can pretty easily run a AIR app fullscreen on 2 different monitors. I thought awesome ! I installed Flash Develop and got started with AIR 3.7 SDK. when I ported my AS3 code for AIR app , came to know that the stageVideo does not work here (that was completely unexpected!). So Now I am confused which path to take as Flash can not go fullscreen on dual monitors, and AIR can not use stageVideo.
    Any help will be appriciated. Thanks in advance.
    Edit -
    The StageVideo Class seems available , but it returns the stage.stageVideos.length as 0. Attached a StageVideoAvailabiliityEvent to stage but seems it never is available. Any other way to play HD Video ? Native flash.media.Video is not able to handle such big video.
    Message was edited by: amitsarangi

  • Adobe air on mac problem.

    Hello,
    I have an older version of adobe air. I downloaded from adobe.com a new one, but after install i get this message, look my print screen:
    I also tried to delete the old one but the folders are staying and the app folder in Utilities. Tell me how to download the new version and
    to delete the old one. If you know also the terminal code for that even better. 
    I

    Never mind. I have fix it by going to system preferences > energy saver > and switching automatic graphics off.

  • New Adobe AIR  + Flex Application

    Hey Folks,
    We are excited about the launch of our app built on Adobe AIR. The Public Beta of it was launched yesterday.
    It's a backup software/service with free local backups to your disk/drives and online backups to the Amazon Cloud.
    Check it out at http://home.vembu.com/
    The UI is Flex-based and Adobe AIR
    -Dhamu

    Hi,
    Try setting myhtml.htmlText = "" before doing the removeAllChildren.

  • Adobe AIR  + Flex Application

    Hey Folks,
    We are excited about the launch of our app built on Adobe AIR. The Public Beta of it was launched yesterday.
    It's a backup software/service with free local backups to your disk/drives and online backups to the Amazon Cloud.
    Check it out at http://home.vembu.com/
    The UI is Flex-based and Adobe AIR
    -Dhamu

    Is there any other way to install PDT?
    Thanks.

  • Adobe AIR Event Dispatcher Problem

    I have created an AIR application, I have removed an component and  again i added the same component. That time the event dispatcher of the removed component is been called again and again.How to resolve this problem. Urgent Reply ASAP......

    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

  • Adobe air iOS touch problem

    In my air projects I am using MouseEvents (MouseEvent.CLICK)  for touch functions.
    It is working well on Android devices but, it is not working on iOS devices properly.
    here are the videos for Android and iOS:
          android: http://youtu.be/ccWdsoqCY80
          ios    : http://youtu.be/5NERQbO7DJM

    Did this ever get resolved?  I have an app waiting to go to the app store right now but I can't release it until I get this figured out.  I'm noticing that the MouseEvent firing isn't consistent.  The ActionBar is the problem area for me.  My application is using RobotLegs and FB 4.6 (MXML based app)  but I don't think that has anything to do with my issue.
    Here are my trace statements from testing which actions get fired and if the action I am trying to take was successful or not.
    1 - Works
    mouseOver
    mouseDown
    focusIn
    buttonDown
    click
    mouseOut
    touchTap
    2 - Works
    mouseOver
    mouseDown
    focusIn
    buttonDown
    click
    mouseOut
    touchTap
    3 - Works
    mouseOver
    mouseDown
    focusIn
    buttonDown
    click
    mouseOut
    touchTap
    4 - nothing happening, no click or touchTap event
    mouseOver
    mouseDown
    focusIn
    buttonDown
    mouseOut
    5 - nothing happening, no click or touchTap event
    mouseOver
    mouseDown
    buttonDown
    mouseOut
    6 - nothing happening, no click or touchTap event
    mouseOver
    mouseDown
    buttonDown
    mouseOut
    7 - Working, repeated actionbar clicks
    mouseOver
    mouseDown
    buttonDown
    click
    mouseOut
    touchTap
    Partial code block:
    <s:navigationContent>
      <s:Button id="btnList" skinClass="spark.skins.mobile.BeveledActionButtonSkin" includeIn="map" width="40" height="40"
                                                        click="trace('click');dispatchEvent(event);"
                                                        touchTap="trace('touchTap')"
                                                        buttonDown="trace('buttonDown')"
                                                        focusIn="trace('focusIn')"
                                                        focusOut="trace('focusOut')"
                                                        mouseDown="trace('mouseDown')"
                                                        mouseOut="trace('mouseOut')"
                                                        mouseOver="trace('mouseOver')">
      <s:icon>
                                                      <fxg:iconList width="17" height="17" />
      </s:icon>
      </s:Button>
    </s:navigationContent>
    Any help or suggestion will be greatly appreciated!!!
    Also, the TouchEvent.TOUCH_TAP doesn't solve the issue we are having.
    Markus

  • Adobe AIR HTML Application with Window Shadow

    I have been building a HTML based AIR application that uses a transparent window. I want the window to have a drop-shadow effect which using a combination of JavaScript and CSS3 I make the shadow change depending on window focus.
    The application looks like the following (wireframe diagram):
    The red area is the <html> container itself. The blue box is the application content area (a simple <div>) and the black border with green shadow is a container <div> that is positioned absolute on the page. This black container is the application itself in my design.
    As you can see the black border (around the blue box) has a subtle green shadow in the outer edges of the <html> page.
    The problem is that because the <html> is the application in AIR it means that the application can never touch the edge of the screen due to the fact that AIR is treating the <html> as the application edge rather than the container <div> for the black border.
    Any ideas on how to get around this? The only thing I could think of was some crazy JavaScript that could offset the application somehow.... Anyone else had this problem?

    I use this function to center the window on the screen. Could I use any parts of this to perhaps always offset the window to handle the spacing around the chrome div?
    function centerWindow(instance){
                        //default bounds of nativeWindow
                        var applicationBounds = instance.nativeWindow.bounds;
                        //determine which screen we're located on
                        var screens = air.Screen.getScreensForRectangle(instance.nativeWindow.bounds);
                        var screenBounds = (screens.length > 0) ? screens[0].visibleBounds : air.Screen.mainScreen.visibleBounds;
                        //get initial position
                        x = (screenBounds.width - applicationBounds.width) / 2;
                        y = (screenBounds.height - applicationBounds.height) / 2;
                        //adjust for offset x or offset y (multi monitors)
                        x = screenBounds.x + x;
                        y = screenBounds.y + y;
                        instance.nativeWindow.x = x;
                        instance.nativeWindow.y = y;

Maybe you are looking for

  • V240 ALOM resets every time it requests an IP address through DHCP

    I'm encountering an issue with an ALOM configured to DHCP. Every time it requests an IP address (tracked by watching messages on the DHCP server, which is running Red Hat EL4 update 4), the ALOM resets. All the POSTs pass. If it's configured for a st

  • Is it normal for CHASE to ask for documentation before giving a decision on their Southwest card?

    I applied for the Southwest card by CHASE and I received a letter in the mail this week asking for verification of my date of birth to be mailed to them before a decision can be made on rather they will approve or deny my application. Is this normal?

  • FAGLB03 Total does not match Drilldown total

    Hi Everyone, We are a Candian Company, so when I run FAGLB03 for a certain account in a US Company Code, and change the view to Document Currency (Canadian), I get a total equal to $0.00. However, when I drill down on that total, the line item displa

  • Adobe Camera Raw 6.1 RC build available on Adobe Labs

    Please check out http://labs.adobe.com/wiki/index.php/Camera_Raw_6.1. Release Notes Newly supported camera models include: Canon EOS 550D (Digital Rebel T2i/ EOS Kiss X4 Digital) Kodak Z981 Leaf Aptus-II 8 Leaf Aptus-II 10R Mamiya DM40 Olympus E-PL1

  • Sorting of recent photos taken by n900 camera

    when i take new pix from n900 camera, these pix goes at the bottom of photos....means photos sorting z by default in descending order. so when i need to open my most recent pic in any 'Classic Print Application', i've to scroll all pix till end.....i