AIR application using actionscript

How to create an AIR application using only actionscript(without mxml)?

This is a forum for users of Adobe RoboHelp outputting to Adobe AIRHelp format. I think you need help from the Adobe AIR developers forum.
  The RoboColum(n)
  @robocolumn
  Colum McAndrew

Similar Messages

  • Developing AIR application using actionscript only

    How to create an AIR application using only actionscript(without mxml)?

    There are many ways to do this. As long as you can compile the Actionscript code to a SWF file, you can then package it into an AIR file.
    If you ask how to do this in Flex Builder, at least in 4.0, when you create a desktop app. project. In the last dialog, there is a row says
    main application file, change the default file extension .mxml to .as, then FB automatically create the project with an actionscript package.
    Then you can start to code in actionscript without using Flex.
    Hope this answers your question.
    -ted

  • Adding native menus to an AIR application using ActionScript

    Hi,
    I'm working on Mac and PC with Air application.
    I'd creates a class extends Menu witch goal is to create a nativeMenu.
    My class is
    package
        import flash.desktop.DockIcon;
        import flash.desktop.NativeApplication;
        import flash.desktop.SystemTrayIcon;
        import flash.display.BitmapData;
        import flash.display.Loader;
        import flash.display.NativeMenu;
        import flash.display.NativeMenuItem;
        import flash.display.NativeWindow;
        import flash.display.NativeWindowDisplayState;
        import flash.display.NativeWindowSystemChrome;
        import flash.display.Screen;
        import flash.display.Sprite;
        import flash.events.Event;
        import flash.events.MouseEvent;
        import flash.events.NativeWindowDisplayStateEvent;
        import flash.geom.Rectangle;
        import flash.net.URLRequest;
        import flash.sampler.NewObjectSample;
        import mx.controls.Alert;
        import mx.controls.Menu;
        import mx.core.Application;
        import mx.core.FlexGlobals;
        import mx.core.WindowedApplication;
        import spark.components.Application;
        import spark.components.WindowedApplication;
        public class createMenuBar extends Menu
            public function createMenuBar()
             * Initializes the app after loading
            public function initWindow():void{
                // Create root menu
                var rootMenu:NativeMenu = new NativeMenu();
                // Create root submenus
                rootMenu.addSubmenu(creerMenuFichier(),"Fichier");
                rootMenu.addSubmenu(creerMenuEdition(),"Edition");
                // Attach event listener routine to root menu
                rootMenu.addEventListener(Event.SELECT, dispatchMenuCommand);
                // Assign application menu (Mac OS X)
                if(NativeApplication.supportsMenu){
                    NativeApplication.nativeApplication.menu = rootMenu;
                // Assign window menu (MS Windows)
                if(NativeWindow.supportsMenu ){
                    stage.nativeWindow.menu = rootMenu;
             * createMenuCommand()
             * Creates a menu command based on parameters
            public function createMenuCommand(menuContainer:NativeMenu,
                itemLabel: String, itemKey:String,itemModifiers:Array,
                itemMnemonic:int, selectHandler:Function):NativeMenuItem{
                var cmd:NativeMenuItem = NativeMenu(menuContainer).addItem(new NativeMenuItem(itemLabel));
                cmd.mnemonicIndex = itemMnemonic; // index de la lettre de rappel du raccourci par dŽfaut 0
                cmd.keyEquivalent = itemKey;
                if(itemModifiers !=null){
                    cmd.keyEquivalentModifiers = itemModifiers;
                if (selectHandler !=null){
                    cmd.addEventListener(Event.SELECT, selectHandler);
                return cmd;
             * createMenuSeparator()
             * Creates a menu separator
            private function createMenuSeparator(menuContainer:NativeMenu):NativeMenuItem{
                var sep : NativeMenuItem = NativeMenu(menuContainer).addItem(new NativeMenuItem("sep", true));
                return sep;
             * Creates the File menu for app
            private function creerMenuFichier(): NativeMenu{
                var mnu:NativeMenu = new NativeMenu();
                createMenuCommand(mnu, 'Changer Utilisateur','k',null, 0, hChangeUser);
                createMenuCommand(mnu, 'Verrouiller/DŽverrouiller','', null, 0, hLock);
                createMenuCommand(mnu, 'Maintenance','', null, 0, hMaintenance);
                createMenuSeparator(mnu);
                // If Mac OS X, then use Quit label
                if (NativeApplication.supportsMenu) {
                    createMenuCommand( mnu, 'Quitter', 'q', null, 0, hExit); 
                // If Windows, then use Exit
                else {
                    createMenuCommand( mnu, 'Fermer', 'x', null, 0, hExit);
                return mnu; 
            public function creerMenuEdition() : NativeMenu{
                var mnu:NativeMenu = new NativeMenu();
                createMenuCommand( mnu, 'Annuler', 'z', null, 0, null); 
                createMenuCommand( mnu, 'RŽpŽter', 'y', null, 0, null);
                createMenuSeparator(mnu);   
                createMenuCommand( mnu, 'Couper', 'x', null, 2, null); 
                createMenuCommand( mnu, 'Copier', 'c', null, 0, null); 
                createMenuCommand( mnu, 'Coller', 'v', null, 0, null); 
                return mnu;
             * Catch-all menu dispatcher for all menus
            public function dispatchMenuCommand(evt: Event):void {
                var menuItem:NativeMenuItem = evt.target as NativeMenuItem;
                if (!menuItem.hasEventListener('select')) { 
                    Alert.show(menuItem.label + " a ŽtŽ selectionnŽ!");
             * Simple handlers for certain menu commands
            public function hChangeUser(evt: Event):void {
                Alert.show( "Vous allez changer d'utilisateur");
    On main air app.mxml file I create menu with
    var menu : createMenuBar = new createMenuBar();
      menu.initWindow();
    application menu appear but when I work on Windows system, windows menu is not visible.
    Can you help me to solve that?
    Thanks

    I believe you ran into an AIR limitation.  In the class header for NativeMenu it mentions:
    A native menu is a menu that is controlled and drawn by the operating system rather than by your application.       AIR supports the following types of native menus:
    Application menus are supported on OS X. Use the NativeApplication.supportsMenu property to test whether        application menus are supported on the host operating system. An  application menu is displayed on the Menu bar at the top of the        Mac desktop. OS X provides a default menu for every application, but  many of the menu commands are not functional. You can add       event listeners to the default items, replace individual menus and  items, or even replace the default menu entirely.       Access the application menu object using the NativeApplication menu property.
    Window menus are supported on Windows and Linux. Use the NativeWindow.supportsMenu property to       test whether window menus are supported on the host operating system. A  window menu is displayed below the window title bar. The area       occupied by the menu is not part of the window stage. Applications  cannot draw into this area. Assign a menu to a window using the        NativeWindow menu property.
    -ref: http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/flash/display/Nati veMenu.html
    Use the NativeMenu.isSupported property to check if OS supports it.  There is also NativeWindow.supportsMenu property that may help you.  I hope that helps.

  • Silenting Installing AIR applications using Altiris

    I was wondering if anyone can provide some guidance or
    recommendations on how to silently install an AIR application using
    Altiris. We are not able to package the .air installer and proceed
    with the setup without prompting the user for the options screens.
    Any help or assistance that can be provided would be greatly
    appreciated.
    Thanks!

    If you have signed up for Adobe AIR Runtime Distribution Agreement, you should be able to use Silent Installation of AIR Runtime and App. We use that in our msi installer.
    Usage is:
    -silent {-eulaAccepted ( -location <loc> ) -desktopShortcut -programMenu} path_to_air_file
    Details of the options are included in the adobe_air_runtime_redistribution.pdf that you will get when you sign the agreement.
    -Jeesmon

  • Problem signing AIR application using migrate option

    I have a pkcs12 certificate (certificate.p12) which expired on 2014-09-16.
    Looking at Adobe AIR * Signing an updated version of an AIR application it should be in range of the 180 days/365 days after expiration, so it should be usable to sign for migration purposes.
    But using it like this:
    adt -migrate -storetype pkcs12 -keystore certificate.p12 test.air migrated_test.air
    Produces the following error:
    The signer's certificate chain contains a revoked certificate
    Questions:
    a) Does anybody have an idea what the problem could be or possible solutions?
    b) Is the error-message really caused by the expiration of the certificate, or would that error message be different, like for example: The signer's certificate chain contains an expired certificate?
    c) My thinking in b) is in regard to that the certificate was issued by TC TrustCenter GmbH which no longer issues certificates. Could this be the cause here?

    Okay, i just learned further infos. It really seems to be the case that the certification entries of TC TrustCenter GmbH were set to revoked state.
    Wahy was that done, should they be allowed to do this at this time?
    Can i still somehow do the migration?

  • Can worker created/packaged/executed into a Air application use Air features(like File?

    Hello,
    I have compiled "successfully" a Worker swf that uses some Air classes (like File, FileStream etc).
    Then i have embedded it into an AIR desktop application, but when i execute the application (with ADL or even installing and then executing it),
    i receive a Security Error from the worker, like if it's context doesn't support that type of operations. Is it correct?
    Can't workers use Air features like file write/access even if they are embedded in a Desktop Air Application?
    It means that can't workers open o write a file in every scenarios?
    Thank you
    Daniele

    Sorry. This is the answer:
    http://forums.adobe.com/message/4688380#4688380

  • How to Play/Pause All for Adobe Air Application using AS3 in Flash CS4?

    I am new to Flash and I'm creating an educational application in AS3 in Flash CS4 for Adobe Air. I want to use buttons to play and pause all content (movieclips AND sound).
    I have created play and pause buttons that worked by switching the frame rate between 0 and 20, unfortunately I've realised that it's never really 0fps but rather 0.01fps and so it continues playing, albeit very very slowly. Also this doesn't affect the audio; I have set sound files to Stream which are synced to movieclips on their timelines, but even when the application is set to 0fps the audio continues.
    Since I have various levels with numerous movieclips each with synced audio, what i'd like is to be able to do is pause absolutely everything within each movieclip with one button and to be able to resume from the same place using another button. Is this possible? If not, is there a global function to pause/resume the entire application/program?
    Thanks in advance for your help!

    Its possible but you would need to tell each movieclip and audioclip to play/pause. You can create a for loop inside your mouse event function to find each movieclip and pause/play its timeline and a separate for loop for audio clips. Also instead of setting fame rate to 0 for pause just use a stop() command.

  • How to display data from local csv files (in a folder on my desktop) in my flex air application using a datagrid?

    Hello, I am very new to flex and don't have a programming background. I am trying to create an air app with flex that looks at a folder on the users desktop where csv files will be dropped by the user. In the air app the user will be able to browse and look for a specific csv file in a list container, once selected the information from that file should be displayed in a datagrid bellow. Finally i will be using Alive PDF to create a pdf from the information in this datagrid laid out in an invoice format. Bellow is the source code for my app as a visual refference, it only has the containers with no working code. I have also attached a sample csv file so you can see what i am working with. Can this be done? How do i do this? Please help.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="794" height="666">
        <mx:Label x="280" y="19" text="1. Select Purchase Order"/>
        <mx:List y="45" width="232" horizontalCenter="0"></mx:List>
        <mx:Label x="158" y="242" text="2. Verify Information"/>
        <mx:DataGrid y="268" height="297" horizontalCenter="0" width="476">
            <mx:columns>
                <mx:DataGridColumn headerText="Column 1" dataField="col1"/>
                <mx:DataGridColumn headerText="Column 2" dataField="col2"/>
                <mx:DataGridColumn headerText="Column 3" dataField="col3"/>
            </mx:columns>
        </mx:DataGrid>
        <mx:Label x="355" y="606" text="3. Generated PDF"/>
        <mx:Button label="Click Here" horizontalCenter="0" verticalCenter="311"/>
    </mx:WindowedApplication>

    Open the file, parse it, populate an ArrayCollection or XMLListCollection, and make the collection the DataGrid dataProvider:
    http://livedocs.adobe.com/flex/3/html/help.html?content=Filesystem_08.html
    http://livedocs.adobe.com/flex/3/html/help.html?content=12_Using_Regular_Expressions_01.ht ml
    http://livedocs.adobe.com/flex/3/html/help.html?content=dpcontrols_6.html
    http://livedocs.adobe.com/flex/3/langref/mx/collections/ArrayCollection.html
    http://livedocs.adobe.com/flex/3/langref/mx/collections/XMLListCollection.html
    If this post answered your question or helped, please mark it as such.

  • What is Solution for error number 16822 in auto updating in AIR application using flash professional  cs6

    I follow the https://www.youtube.com/watch?v=CXKpw1HNoUA but its giving an error as
    There was an error downloading the update. Error# 16822

    manually download and update, Adobe - Adobe AIR

  • Unable to send file in binary mode to ftp server using AIR application

    Hi,  Can any one help me. i am trying to send local files to ftp server  in binary mode from AIR application using sockets.
    I cant use PASV mode for this FTP server because security restrictions. when i am trying to send Binary command i am always getting
    error code 500 which is unrecognized command. I googled for solutions but i cant find any one using Binary mode to send data every example is using PASV mode to send
    file.
    code example:
    private function upload():void{
    sendCommand("binary ");
    private function sendCommand(arg:String):void {
                                            arg +="\n";
                                            s.writeUTFBytes(arg);
                                            s.flush();
    in response i am getting unrecognized command.

    I'm successfully using an ftp example from http://http://projects.maliboo.pl/FlexFTP/
    that I converted to spark and uses a popup progress window.
    If you don't need to use sockets I can post a sample project.
    I believe I still connect with PASV, but have no problems sending Binary files.
    I don't think they're commands that are dependent on each other

  • AIR Application stopping the MAC OS to Shutdown if event.preventDefault() is used

    Hi all,
    I have a issue that adobe air application is stoping the shutdown of the MAC,This issue arises only when
    AIR application uses event.preventDefault();
    Even I figureout the same thing when the TourDeFlex's AIR version was open on the MAC then also it is
    not allowing the shutdown to be allowed.Although the MAC gives the Alert message for the same and tell us
    to explicitly close the Application. So should this be treated as a bug or not?
    I have already checked the below mentioned link long ago in which it is told that this is not possible to find the solution for this.
    http://blogs.adobe.com/cantrell/archives/2011/07/when-air-applications-prevent-shutdown-or -restart-on-mac-os-x.html
    Still if anyone here is having any solution on this then any help will be appriciated.
    Also if it is not possible then also I will like that some one from Adobe AIR team to confirm me on this that this is not possible and this
    is know to you people.
    Thanks in advance
    Shardul

    Are the workarounds in the link you provided not sufficient?

  • AIR Intrinsic Classes-Tried and Proven Approach to building AIR applications   in the Flash CS3 IDE

    Hi everyone,
    For all of you out there who would like to develop AIR
    applications
    from the Flash CS3 IDE but aren't sure how to get those pesky
    intrinsic
    classes working, I have a technique that you can work with to
    create
    your classes and make fully functional AIR applications.
    First of all, those solutions out there that list
    "intrinsic" functions
    in their class definitions won't work. That keyword has been
    taken out
    and simply won't work. The "native" keyword also doesn't work
    because
    Flash will reject it. The solution is to do dynamic name
    resolution at
    runtime to get all the classes you need.
    Here's a sample class that returns references to the "File",
    "FileStream", and "FileMode" classes:
    package com.adobe{
    import flash.utils.*;
    import flash.display.*;
    public class AIR extends MovieClip {
    public static function get File():Class {
    try {
    var classRef:*=getDefinitionByName('flash.filesystem.File');
    } catch (err:ReferenceError) {
    return (null);
    }//catch
    return (classRef);
    }//get File
    public static function get FileMode():Class {
    try {
    var
    classRef:*=getDefinitionByName('flash.filesystem.FileMode');
    } catch (err:ReferenceError) {
    return (null);
    }//catch
    return (classRef);
    }//get FileMode
    public static function get FileStream():Class {
    try {
    var
    classRef:*=getDefinitionByName('flash.filesystem.FileStream');
    } catch (err:ReferenceError) {
    return (null);
    }//catch
    return (classRef);
    }//get FileStream
    }//AIR class
    }//com.adobe package
    I've defined the package as com.adobe but you can call it
    whatever you
    like. You do, however, need to import "flash.utils.*" because
    this
    package contains the "getDefinitionByName" method. Here I'm
    also
    extending the MovieClip class so that I can use the extending
    class
    (shown next) as the main Document class in the Flash IDE.
    Again, this is
    entirely up to you. If you have another type of class that
    will extend
    this one, you can have this one extend Sprite, Math, or
    whatever else
    you need (or nothing if it's all the same to you).
    Now, in the extending class, the Document class of the FLA,
    here's the
    class that extends and uses it:
    package {
    import com.adobe.AIR;
    public class airtest extends AIR{
    public function airtest() {
    var field:TextField=new TextField();
    field.autoSize='left';
    this.addChild(field);
    field.text="Fileobject="+File;
    }//constructor
    }//airtest class
    }//package
    Here I'm just showing that the class actually exists but not
    doing much
    with it.
    If you run this in the Flash IDE, the text field will show
    "File
    object=null". This is because in the IDE, there really is no
    File
    object, it only exists when the SWF is running within the
    Integrated
    Runtime. However, when you run the SWF as an AIR application
    (using the
    adl.exe utility that comes with the SDK, for example), the
    text field
    will now show: "File object=[object File]". Using this
    reference, you
    can use all of the File methods directly (have a look here
    for all of
    them:
    http://livedocs.adobe.com/labs/flex/3/langref/flash/filesystem/File.html).
    For example, you can call:
    var appResource:File=File.applicationResourceDirectory;
    This particular method is static so you don't need an
    instance. If you
    do (such as when Flash tells you the property isn't static),
    simply
    create an instance like this:
    var fileInstace:File=new File();
    fileInstance.someMethod('abc'); //just an example...read the
    reference
    for actual function calls
    Because the getter function in the AIR class returns a Class
    reference,
    it allows you to perform all of these actions directly as
    though the
    File class is part of the built in class structure (which in
    the
    runtime, it is!).
    Using this technique, you can create references to literally
    *ALL* of
    the AIR classes and use them to build your AIR application.
    The beauty
    of this technique is its brevity. When you define the class
    reference,
    all of the methods and properties are automatically
    associated with it
    so you don't need reams of code to define each and every
    item.
    There's a bit more that can be done with this AIR class to
    make it
    friendlier and I'll be extending mine until all the AIR
    classes are
    available. If anyone's interested, feel free to drop me a
    line or drop
    by my site at
    http://www.baynewmedia.com
    where I'll be posting the
    completed class. I may also make it into a component if
    there's enough
    interest. To all of you who knew all this already, I hope I
    didn't waste
    your time.
    Happy coding,
    Patrick

    Wow, you're right. The content simply doesn't show up at all.
    No
    JavaScript or HTML parsing errors, apparently. But no IE7
    content.
    I'll definitely have to look into that. In the meantime, try
    FireFox :)
    I'm trying to develop a panel to output AIR applications from
    within the
    Flash IDE. GSkinner has one but I haven't been able to get it
    to work
    successfully. Mine has exported an AIR app already so that's
    a step in
    the right direction but JSFL is a tricky beast, especially
    when trying
    to integrate it using MMExecute strings.
    But, if you can, create AIR applications by hand. I haven't
    yet seen an
    application that allows you to change every single option
    like you can
    when you update the application.xml file yourself. Also, it's
    a great
    fallback skill to have.
    Let me know if you need some assistance with AIR exports.
    Once you've
    done it a couple of times, it becomes pretty straightforward.
    Patrick
    GWD wrote:
    > P.S. I've clicked on your link a few times over the last
    couple of days to
    > check it out but all I get is a black page with a BNM
    flash header and no way
    > to navigate to any content. Using IE7 if that's any
    help.
    >
    >
    >
    http://www.baynewmedia.com
    Faster, easier, better...ActionScript development taken to
    new heights.
    Download the BNMAPI today. You'll wonder how you ever did
    without it!
    Available for ActionScript 2.0/3.0.

  • Deployment of an Adobe AIR application in an enterprise environment

    Dear Team members,
    first of all my apologies for posting this thread in more than one forum (see Installations Issues) but the argument is very important to us and I don't know where discuss it.
    I would like to post a question to you regarding deployment doubts that we are trying to address.
    My company is working on the new version of our primary application previously built as a J2EE application with some reporting functions with Flex, and we want to use AIR in order to leverage its possibilities:
    Seamless integration with existing application functionalities (implemented as standard JEE web application pages) thanks to the integrated HTML capabilities
    Improved integration of the user interface with the desktop
    Native processes to provide additional functionalities
    Our application is targeted to pharmaceutical industry, subject to FDA regulations, and it affects more than 5000 users for each customer, so we have some specific requirements affecting the deployment and distribution of the software:
    Allow to run multiple versions of the software on the same client machine (to support test and acceptance activities in addition to the production environment)
    Minimize the effort of the initial setup on each client
    Manage the version upgrades without manual activities on each client
    Keep the test/acceptance and production environments strictly aligned to improve effectiveness of formal validation (ideally, an application once validated should be transported in production without any source code modification, recompilation or repackaging)
    The current browser-based strategy is perfectly fit to these requirements, and in the shift towards a desktop-based strategy we need to continue satisfying them as much as possible. We evaluated the standard distribution strategy of Adobe AIR applications, and noticed several attention points in this scenario.
    The first issue we encountered is the back-end services endpoint discovery problem. Simply hardcoding a server URL in the packaged application could be a viable solution for public internet-accessible applications, but we need to support multiple customers in their intranet, and each one typically requires multiple environments for the application (acceptance, production, etc.). Maintaining dozens of different packages of the AIR application to support all these customer environments clearly is not the solution. Neither we want to force thousands of different users to enter and maintain the correct server location in their local preferences.
    So, we thought to use a badge hosted in the back-end application to run the local AIR application: using the underlying API, we could activate the application specifying also the network location of the back-end services. We could also rely on the badge to install the application (and the AIR runtime if necessary)… however, application packaged as native installers cannot be installed, upgraded, or launched by the badge API (and we need to package ours as native to use native processes).
    We also noticed that multiple versions of an AIR application cannot be installed side-by-side in a client machine, and that the installation and upgrade of the application can be performed only when the local user has administrative rights on the machine (using standard or native packages), forcing us to rely on external software distribution systems in some customer scenarios (introducing additional complexities in the release cycle).
    At this point, in our opinion the standard deployment strategies of Adobe AIR applications are unfit for enterprise environments. In the enterprise world, many of the applications have migrated to a completely browser-based solution, while others enhanced their client layer to comply with the requirements, for example installing only a thin portion of the client code and allowing to connect to multiple server versions/environments with it (e.g. the SAP GUI universal client). Without smarter deployment and distribution tools, AIR applications currently are a step back compared to web applications in terms of manageability.
    So, we are trying to develop a solution to address these problems, with some concepts similar to JStart: install on the client machine a launcher application capable of being activated from a web page, dynamically locate, download and run the actual client bytecode, transparently enforce client software updates, and supporting multiple applications (and multiple versions of the same application). However, we are facing many technical problems due to internal architecture of AIR and we already spent a considerable amount of effort trying to find a solution. We are now thinking to return on the choice of AIR, going back to Flex.
    What is the position of Adobe on this argument? Is Adobe aware of these issues and are there any plans on this topic? Any advice?
    Thank you in advance

    For those following along, Oliver Goldman will be answering this post in future articles on his blog.
    Many great comments and questions here. I’m working on some follow-up posts to address these; nothing I could cram into this comment field would really do your query justice. - Oliver Goldman
    Pursuit of Simplicity
    Chris

  • AIR application with Flex 4.5 will not render content. What gives?

    OK,
    So I've upgraded to Flash Builder 4.5 Premium and I am unable to develop desktop AIR applications with the 4.5 Flex SDK. I start by simply creating a brand new AIR application using the default SDK (Flex 4.5). I set the title property on WindowedApplication and include a simple Label component. The project compiles fine but when I run the application all I see is the adl window in the dock but that's it. If I modify the Main-app.xml file to set the visible attribute to true, I will get a small window but there is no content although the output window shows the application swf being loaded. Checking the release version of the Main-app.xml file shows the correct path location to the swf.
    Here is what I've tried so far:
    Install/reinstall Flash Builder, 4+ times
    Downloaded the trial installation twice
    Downloaded the SDK's for 3.6, 4.1 and 4.5.0. I then copied each SDK folder and merged the AIR 2.6 SDK with each copy. So now I have 6 SDK versions; one pristine and the other with the AIR 2.6 SDK merged. I then added each SDK individually and created an AIR desktop application for each. Each and every one works fine with the exception of the two 4.5 SDK's. They will not render content.
    I created a simple creation complete handler for the application that declares a simple variable and assigns a value to it. I then put a break point on the assignment and it never gets caught. More evidence that the swf isn't getting loaded.
    The computer I'm running on is a Mac Book Pro with Snow Leopard 10.6.7. If I create a web project in each of the 6 SDK's, those will work just fine. What the heck is it with Flex 4.5 and the AIR 2.6 SDK on this machine? I have the AIR 2.6 runtime installed as well as a number of AIR applications that work just fine. I also tried my 4.5 test on my windows machine and that worked like a champ.
    I am completely out of ideas. Finding information has been difficult because everyone is all about mobile so searching for desktop issues is a losing battle. I realize this is a long email but I'm desperate for help. There must be someone out there that knows more about the low level interaction between Flex 4.5/AIR 2.6 and the OS.

    Well, I finally found the issue, a corrupted mm.cfg file in /Library/Application Support/Macromedia. I deleted the file and then adl ran just fine.

  • How to embed and play mp4 video in HTML AIR application?

    Adobe Air HTML / JS application compiled from SDK command line.  I am not using flash pro or flash builder to create the application.
    I was using dreamweaver but the dw air plugin seems to have stopped being developed so I switched to using the command line tools.
    I am creating desktop air application that has embedded mp3 audio and also I want to embed mp4 video.
    Using jQuery and the AIR js plugin I am able to play audio via buttons hooked up via jQuery and the AIR js plugin from the SDK.
    What I am doing is creating proofs for clients in AIR and sending link to the client to download the application.  I embed the media because I do not want to place them on a website where it could possibly be seen by non-clients and get picked up in the SE's.
    I am finding it hard to understand the AIR process for playing video.  I read that it is the same procedure as audio but it does not work.
    If it was hosted on youtube or somewhere embedding the web player would be simple, just copy paste some code and it works.  When actually embedding the video say mp4, f4v, mov, wmv or similar file formats I can't get AIR to play the video.  Audio, not a problem it works great.
    I would like to do the following with video.
    Embed the actual file in the AIR app.  I can do this, it gets embedded.
    Play, pause and stop the video - Can't get this to work
    Get the current stop point and be able to start the video by sending a start point - This is all working with audio I just want to do it with video.
    I have searched the forums, the search engines, youtube and read through the documentation on Air but the video does not work at all.
    I need code samples and direction on how to make an embedded video play inside of a desktop air application using the HTML / JS air model. I am using the command line tools to create the air package and test the air app.
    Please help if you have figured this out.
    Thank you.
    Not sure if this matters but I am using Windows 7 Pro 64bit as my development machine.

    In addition I also can not get html5 video to play in the adobe air app.  Would this issue be tied to the above?

Maybe you are looking for

  • Mini with dual monitors

    Hi, I'd like to set up a mini using two monitors, both VGA , and both running different resolutions and different apps. Can this be done? Thanks, Carl

  • Double vendor for invoicing

    Dear SAP Expert, I have a little question about SAP. Here is the root case : My client (Z) have a contract with vendor X while several service in contract was perform by vendor Y. In Contact paper documentation, it was writen. But in SAP data, contra

  • Launch Adobe from within LabVIEW

    I have 6 years experience drawing code in LabVIEW but very little experience using Active-X; if there is some sample code showing the how to launch an Adobe document from a LabVIEW GUI, it would be extremely helpful. I am running LabVIEW 6.0.2 on a W

  • Mapping arrangement and code efficiency

    Hi all, I have a general question about how best to structure and OWB mapping. Take the example where I have multiple source tables (Table A, B and C) which are referenced multiple times in one mapping. Is it best to bring in these tables multiple ti

  • Met with a white screen after installing Snow Leopard on Macbook (mid 2007)

    After installing Snow Leopard on my Mid 2007 mac book pro I was prompted to restart. I restarted and the computer turned on but only got as far as a white screen that stays white with no further activity for an indefinite amount of time. I've restart