Launching AIR application(MAC)

<MAC ONLY>
I created a 'hello world' AIR app. using Flex builder 3 and I
click the debug button and the somehow helloWorld-app.xml launches
in Dreamweaver. Does anyone know how to fix this? all i'm trying to
do is create a simple AIR app. and click the debug buttons.
Thanks for your help

Hi. I don't think we've seen this before. The engineer who
handles this area is out on vacation this week, so I apologize if
it takes us a bit to follow up.. In the meantime, would you mind
posting your exact steps? I.e. are you literally just running the
AIR project wizard, adding some code to the default application it
generates, and clicking the debug button? Anything else? You're not
double-clicking the -app.xml file directly by any chance, are you?
If you could also note the version of Dreamweaver you have
installed that'd be great.
Thanks,
Tom

Similar Messages

  • Launching air application like adobe connect desktop

    I will like to launch my adobe air application like adobe connect meeting room launches the desktop app

    Thanks.
    reinstalling and clearing my temp dir appears to have worked !
    Awesome.

  • Launch air application from browser like adobe connect pro

    I will like to install and launch my adobe air application from the browser, just like adobe connect pro does. Any help on this?

    Did you try ...
    location.href = url

  • Launching AIR application When Operating system starts

    Hi
    I want to lauch my AIR application automatically when windows operating system starts. How can i solve this problem.
    Thanks in advance to all
    Regards
    sss

    I found some information about this here:
    http://www.adobe.com/devnet/air/flex/quickstart/startup_options.html

  • Error launching AIR application, Debug works

    Hello!
    I just tried to develop an air application that grabs current actions from our local intranet. While developing with aptana everything worked fine. Then i created the .air package and installed the new program.
    But everytime i want to start the program an windows error occurs. Testing the project with aptana or directly with the adt-file throws up NO error. Everything works fine.
    Has anyone an ideo of what is happening here?
    I cant run the program after creating with aptana, same with creating directly with the Air SDK command line tool.
    Here's a jing video of what i mean: http://www.mypoo.de/tmp/adobeair_error.swf
    Thank you

    Hi. I don't think we've seen this before. The engineer who
    handles this area is out on vacation this week, so I apologize if
    it takes us a bit to follow up.. In the meantime, would you mind
    posting your exact steps? I.e. are you literally just running the
    AIR project wizard, adding some code to the default application it
    generates, and clicking the debug button? Anything else? You're not
    double-clicking the -app.xml file directly by any chance, are you?
    If you could also note the version of Dreamweaver you have
    installed that'd be great.
    Thanks,
    Tom

  • Unable to launch air application after installing air application

    Hi All,
    I Am able to install air desktop appication but when ever I click on desktop Icon or from installed directory appication is not launching even I Am not getting any alert.
    Please help me.
    Thanks and Regards
    Ataulla S H

    Same for me on my Mac.  I have reinstalled and even uninstalled and reinstalled. IT DOES NOT WORK

  • Packaging an AIR application in a native installer

    Hi! I'm trying to create a native installer of my AIR Application,  because (I think) it's the only way make the native processes working.  But I have a problem: I used the following command to pack: "adt  -package -storetype pkcs12 -keystore myCert.pfx -target native  -storetype pkcs12 -keystore myCert.pfx myApp.exe myApp-app.xml", but I get  the error: "File myApp-app.xml is not a valid AIRI or AIR file". In the  Flash Builder I use as additional compiler arguments:  "-locale=pt_PT,en_UK,fr_FR,de_DE,ro_RO,es_ES  -allow-source-path-overlap=true -source-path=assets" and I add the  source path "src/locale/{locale}/". What is the sintax for packing my  AIR application in a native installer? Thanks in advance.

    Hi again! Thanks for the reply. I based myself on the link to see what command syntax I should use to pack my Air Windowed Application and it was the command that I presented in the previous post.
    adt version "2.0.1.12090"
                                                  My Descriptor File
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <application xmlns="http://ns.adobe.com/air/application/2.0">
    <!-- Adobe AIR Application Descriptor File Template.
        Specifies parameters for identifying, installing, and launching AIR applications.
        xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0
                The last segment of the namespace specifies the version
                of the AIR runtime required for this application to run.
        minimumPatchLevel - The minimum patch level of the AIR runtime required to run
                the application. Optional.
    -->
        <!-- A universally unique application identifier. Must be unique across all AIR applications.
             Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
        <id>com.MyCompany.Application</id>
        <!-- Used as the filename for the application. Required. -->
        <filename>Production Control System</filename>
        <!-- The name that is displayed in the AIR application installer.
             May have multiple values for each language. See samples or xsd schema file. Optional. -->
        <name>Production Control System</name>
        <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
        <version>2.1.3</version>
        <!-- Description, displayed in the AIR application installer.
             May have multiple values for each language. See samples or xsd schema file. Optional. -->
        <!-- <description></description> -->
        <!-- Copyright information. Optional -->
        <!-- <copyright></copyright> -->
        <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
        <!-- <publisherID>My Company</publisherID> -->
        <!-- Settings for the application's initial window. Required. -->
        <initialWindow>
            <!-- The main SWF or HTML file of the application. Required. -->
            <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
            <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
            <!-- The title of the main window. Optional. -->
            <!-- <title></title> -->
            <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
            <systemChrome>none</systemChrome>
            <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
            <transparent>true</transparent>
            <!-- Whether the window is initially visible. Optional. Default false. -->
            <!-- <visible></visible> -->
            <!-- Whether the user can minimize the window. Optional. Default true. -->
            <!-- <minimizable></minimizable> -->
            <!-- Whether the user can maximize the window. Optional. Default true. -->
            <!-- <maximizable></maximizable> -->
            <!-- Whether the user can resize the window. Optional. Default true. -->
            <!-- <resizable></resizable> -->
            <!-- The window's initial width in pixels. Optional. -->
            <!-- <width></width> -->
            <!-- The window's initial height in pixels. Optional. -->
            <!-- <height></height> -->
            <!-- The window's initial x position. Optional. -->
            <!-- <x></x> -->
            <!-- The window's initial y position. Optional. -->
            <!-- <y></y> -->
            <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
            <!-- <minSize></minSize> -->
            <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
            <!-- <maxSize></maxSize> -->
        </initialWindow>
        <!-- We recommend omitting the supportedProfiles element, -->
        <!-- which in turn permits your application to be deployed to all -->
        <!-- devices supported by AIR. If you wish to restrict deployment -->
        <!-- (i.e., to only mobile devices) then add this element and list -->
        <!-- only the profiles which your application does support. -->
        <!-- <supportedProfiles>desktop extendedDesktop mobileDevice extendedMobileDevice</supportedProfiles> -->
        <supportedProfiles>extendedDesktop</supportedProfiles>
        <!-- The subpath of the standard default installation location to use. Optional. -->
        <!-- <installFolder></installFolder> -->
        <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
        <!-- <programMenuFolder></programMenuFolder> -->
        <!-- The icon the system uses for the application. For at least one resolution,
             specify the path to a PNG file included in the AIR package. Optional. -->
        <!-- <icon>
            <image16x16></image16x16>
            <image32x32></image32x32>
            <image48x48></image48x48>
            <image128x128></image128x128>
        </icon> -->
        <!-- Whether the application handles the update when a user double-clicks an update version
        of the AIR file (true), or the default AIR application installer handles the update (false).
        Optional. Default false. -->
        <customUpdateUI>true</customUpdateUI>
        <!-- Whether the application can be launched when the user clicks a link in a web browser.
        Optional. Default false. -->
        <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
        <!-- Listing of file types for which the application can register. Optional. -->
        <!-- <fileTypes> -->
            <!-- Defines one file type. Optional. -->
            <!-- <fileType> -->
                <!-- The name that the system displays for the registered file type. Required. -->
                <!-- <name></name> -->
                <!-- The extension to register. Required. -->
                <!-- <extension></extension> -->
                <!-- The description of the file type. Optional. -->
                <!-- <description></description> -->
                <!-- The MIME content type. -->
                <!-- <contentType></contentType> -->
                <!-- The icon to display for the file type. Optional. -->
                <!-- <icon>
                    <image16x16></image16x16>
                    <image32x32></image32x32>
                    <image48x48></image48x48>
                    <image128x128></image128x128>
                </icon> -->
            <!-- </fileType> -->
        <!-- </fileTypes> -->
        <!-- iPhone/iPad -specific capabilities -->
        <!-- <iPhone> -->
            <!-- A list of plist key/value pairs to be added to the application Info.plist -->
            <!-- <InfoAdditions>
                <![CDATA[
                    <key>UIDeviceFamily</key>
                    <array>
                        <string>1</string>
                        <string>2</string>
                    </array>
                    <key>UIStatusBarStyle</key>
                    <string>UIStatusBarStyleBlackOpaque</string>
                    <key>UIRequiresPersistentWiFi</key>
                    <string>YES</string>
                ]]>
            </InfoAdditions> -->
        <!-- </iPhone> -->
    </application>

  • AIR Application Silent install

    Is it possible to start AIR application immediately after Silent install.
    We have already signed up Adobe AIR Runtime Distribution Agreement.
    and i am using below command line for silent install.
    Airinstaller.exe -silent -eulaAccepted -location "C:/Program Files/Abcd"  abcd.air
    It works fine. But i want to launch AIR application immediately after install. Is it possible?
    Thanks!

    Thanks for posting the log.  It appears that the install is failing during the MSI portion of the install.
    Microsoft has just released a brand new tool that should help you resolve this problem.  Would you mind giving it a try and let us know how it works for you?  When running the new tool, go through the uninstall process and try to remove AirWrite from your system.  Once that's done, give your command line another try.
    http://support.microsoft.com/mats/Program_Install_and_Uninstall/en-us
    Thanks,
    Chris

  • Unable to export AIR application in FlashBuilder 4

    Hi,
    I have just finished an AIR application created in Flash Builder 4 / SDK 4.1.
    But  I have systematically a problem while exporting the application with  the Flash Builder wizard / button Export to a validated version.
    When I double click on the generated .air file, I've got the error :
    'This application cannot be installed because the installation program has not be configured correctly'.
    Thanks in advance for your help.
    Sophie

    Hi,
    First of all, thanks for your answer.
    I am working on a Windows XP server - Version 2002 - SP2.
    To avoid the following error message, Could not generate timestamp: Connection timed out: connect
    I set java.net.useSystemProxies=true in [Adobe Flash Builder 4 folder]\jre\lib\net.properties
    Here's my Application-app.xml file :
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <application xmlns="http://ns.adobe.com/air/application/2.0">
    <!-- Adobe AIR Application Descriptor File Template.
        Specifies parameters for identifying, installing, and launching AIR applications.
        xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0
                The last segment of the namespace specifies the version
                of the AIR runtime required for this application to run.
        minimumPatchLevel - The minimum patch level of the AIR runtime required to run
                the application. Optional.
    -->
        <!-- A universally unique application identifier. Must be unique across all AIR applications.
             Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
        <id>com.akka.dgac.ClientLourdNA</id>
        <!-- Used as the filename for the application. Required. -->
        <filename>ClientLourdNA</filename>
        <!-- The name that is displayed in the AIR application installer.
             May have multiple values for each language. See samples or xsd schema file. Optional. -->
        <name>Client Lourd NA</name>
        <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
        <version>1.0</version>
        <!-- Description, displayed in the AIR application installer.
             May have multiple values for each language. See samples or xsd schema file. Optional. -->
        <!-- <description></description> -->
        <!-- Copyright information. Optional -->
        <copyright>Copyright 2011, Akka Technologies</copyright>
        <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
        <!-- <publisherID></publisherID> -->
        <!-- Settings for the application's initial window. Required. -->
        <initialWindow>
            <!-- The main SWF or HTML file of the application. Required. -->
            <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
            <content>ClientLourdNA.swf</content>
            <!-- The title of the main window. Optional. -->
            <title>Outil de rédaction d'un rapport d'audit Navigation Aérienne</title>
            <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
            <!-- <systemChrome></systemChrome> -->
            <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
            <!-- <transparent></transparent> -->
            <!-- Whether the window is initially visible. Optional. Default false. -->
            <!-- <visible></visible> -->
            <!-- Whether the user can minimize the window. Optional. Default true. -->
            <!-- <minimizable></minimizable> -->
            <!-- Whether the user can maximize the window. Optional. Default true. -->
            <!-- <maximizable></maximizable> -->
            <!-- Whether the user can resize the window. Optional. Default true. -->
            <!-- <resizable></resizable> -->
            <!-- The window's initial width in pixels. Optional. -->
            <!-- <width></width> -->
            <!-- The window's initial height in pixels. Optional. -->
            <!-- <height></height> -->
            <!-- The window's initial x position. Optional. -->
            <!-- <x></x> -->
            <!-- The window's initial y position. Optional. -->
            <!-- <y></y> -->
            <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
            <!-- <minSize></minSize> -->
            <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
            <!-- <maxSize></maxSize> -->
        </initialWindow>
        <!-- We recommend omitting the supportedProfiles element, -->
        <!-- which in turn permits your application to be deployed to all -->
        <!-- devices supported by AIR. If you wish to restrict deployment -->
        <!-- (i.e., to only mobile devices) then add this element and list -->
        <!-- only the profiles which your application does support. -->
        <!-- <supportedProfiles>desktop extendedDesktop mobileDevice extendedMobileDevice</supportedProfiles> -->
        <!-- The subpath of the standard default installation location to use. Optional. -->
        <installFolder>bin-release</installFolder>
        <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
        <!-- <programMenuFolder></programMenuFolder> -->
        <!-- The icon the system uses for the application. For at least one resolution,
             specify the path to a PNG file included in the AIR package. Optional. -->
        <!-- <icon>
            <image16x16></image16x16>
            <image32x32></image32x32>
            <image48x48></image48x48>
            <image128x128></image128x128>
        </icon> -->
        <!-- Whether the application handles the update when a user double-clicks an update version
        of the AIR file (true), or the default AIR application installer handles the update (false).
        Optional. Default false. -->
        <!-- <customUpdateUI></customUpdateUI> -->
        <!-- Whether the application can be launched when the user clicks a link in a web browser.
        Optional. Default false. -->
        <!-- <allowBrowserInvocation>true</allowBrowserInvocation> -->
        <!-- Listing of file types for which the application can register. Optional. -->
        <!-- <fileTypes> -->
            <!-- Defines one file type. Optional. -->
            <!-- <fileType> -->
                <!-- The name that the system displays for the registered file type. Required. -->
                <!-- <name></name> -->
                <!-- The extension to register. Required. -->
                <!-- <extension></extension> -->
                <!-- The description of the file type. Optional. -->
                <!-- <description></description> -->
                <!-- The MIME content type. -->
                <!-- <contentType></contentType> -->
                <!-- The icon to display for the file type. Optional. -->
                <!-- <icon>
                    <image16x16></image16x16>
                    <image32x32></image32x32>
                    <image48x48></image48x48>
                    <image128x128></image128x128>
                </icon> -->
            <!-- </fileType> -->
        <!-- </fileTypes> -->
    </application>
    Thanks in advance for your help.
    Sophie

  • Flex 3.3 can't launch AIR apps on Mac

    When using the 3.3 SDK if I try to debug an application I get
    this error:
    Process terminated without establishing connection to
    debugger.
    If the program is already running, close it before attempting
    to debug.
    I have tried all manner of restarting down to my full system.
    Flex/Flash Player works fine, its just launching AIR. If I try to
    run the AIR app (rather than debug) nothing happens at all --
    nothing launches, no errors, nothing.
    I'm using a MacBook Pro, Intel Core2Duo, OSX 10.5. The
    problem has been replicated on a coworkers' Mac as well. I haven't
    tested on Windows.

    https://bugs.adobe.com/jira/browse/SDK-19707

  • Desktop AIR Application installs fine on Mac... crashes on PC

    Hey guys,
    I ran into an issue that has be pulling my hair out. I have a very simple AIR application that was built with Flash CS6 on a Mac. The published app installs and runs perfectly on my Mac. Installation goes just fine on a PC, but the app will not launch! The window starts to come up and immediately crashes. I just finished making a desktop app in the last version of AIR and it ran perfect on PC.
    Has anyone else experienced this issue? So much fun using a Mac when most clients use PC lol!

    It's actually quite a tiny app. Tiny enough that I'm just coding in Flash CS6 in the first frame noob style LOL. I published another AIR app like this recently and it worked just fine on PC.
    Here is literally all of the code that runs the app. I am using the File class to access the desktop directory for some files, but my understanding is that it should access the desktop the same on PC and Mac.
    Thanks for the time and help... I could have a friend publish on a PC, but it would be much more convenient if I could get it to work correctly .
    import flash.display.MovieClip;
    import flash.display.SimpleButton;
    import flash.events.MouseEvent;
    import flash.filesystem.File;
    import flash.display.Loader;
    import flash.ui.MouseCursor;
    // START VARIABLE DECLARATION
    var XMLDirectory:File = File.desktopDirectory;
    XMLDirectory = XMLDirectory.resolvePath("missing_person/results.xml");
    var myXML:XML;
    var imageDirectory:File = File.desktopDirectory;
    imageDirectory = imageDirectory.resolvePath("missing_person/images/");
    var screen_saver:MovieClip;
    var part1_mc:MovieClip;
    var part2_mc:MovieClip;
    var rightBtn:SimpleButton = part2_mc.right_btn;
    var leftBtn:SimpleButton = part2_mc.left_btn;
    var heightOpt:MovieClip = part1_mc.height_options_mc;
    var heightBtn:SimpleButton = part1_mc.height_btn;
    var genderOpt:MovieClip = part1_mc.gender_options_mc;
    var genderBtn:SimpleButton = part1_mc.gender_btn;
    var ageOpt:MovieClip = part1_mc.age_options_mc;
    var ageBtn:SimpleButton = part1_mc.age_btn;
    var searchBtn:SimpleButton = part1_mc.search_btn;
    var resetBtn:SimpleButton = header_mc.restart_btn;
    var searchingDB:MovieClip = part1_mc.searching_mc;
    var startArray:Array = [[],[]];
    var ageStr:String = "";
    var heightStr:String = "";
    var genderStr:String = "";
    // KEEPS OVER STATES FOR BUTTONS
    var heightState = heightBtn.upState;
    var genderState = genderBtn.upState;
    var ageState = ageBtn.upState;
    var searchState = searchBtn.upState;
    // LOAD AND PARSE XML
    var myLoader:URLLoader = new URLLoader();
    myLoader.load(new URLRequest(XMLDirectory.url));
    myLoader.addEventListener(Event.COMPLETE, processXML);
    function processXML(e:Event):void
        myXML = new XML(e.target.data);
        for (var i:int = 0; i < myXML.result.length(); i++)
            startArray[i] = [(imageDirectory.url + "/" + myXML.result[i].image), myXML.result[i].name, myXML.result[i].age, myXML.result[i].gender, myXML.result[i].height, myXML.result[i].description, myXML.result[i].features];
            trace(startArray[i][0]);
    //CODE FOR BUTTON RESET
    resetBtn.addEventListener(MouseEvent.MOUSE_DOWN, resetAll);
    function resetAll(event:MouseEvent):void
        enableButtons();
        heightOpt.visible = false;
        genderOpt.visible = false;
        ageOpt.visible = false;
        searchingDB.visible = false;
        part1_mc.height_txt.text = "";
        part1_mc.gender_txt.text = "";
        part1_mc.age_txt.text = "";
        part2_mc.visible = false;
        part2_mc.removeChild(resultContainer);
    //BEGIN INITIALIZATION ;
    function init():void
            part1_mc.height_txt.text = "";
        part1_mc.gender_txt.text = "";
        part1_mc.age_txt.text = "";
        part1_mc.visible = false;
        part2_mc.visible = false;
        screen_saver.visible = true;
        heightOpt.visible = false;
        genderOpt.visible = false;
        ageOpt.visible = false;
        searchingDB.visible = false;
    init();
    heightBtn.addEventListener(MouseEvent.MOUSE_DOWN, showHeights);
    genderBtn.addEventListener(MouseEvent.MOUSE_DOWN, showGenders);
    ageBtn.addEventListener(MouseEvent.MOUSE_DOWN, showAges);
    function showHeights(event:MouseEvent):void
        heightOpt.visible = true;
        disableButtons();
        //ADD EVENT LISTENERS FOR HEIGHT OPTIONS
        heightOpt.opt_1.addEventListener(MouseEvent.MOUSE_DOWN, setHeight1);
        heightOpt.opt_2.addEventListener(MouseEvent.MOUSE_DOWN, setHeight2);
        heightOpt.opt_3.addEventListener(MouseEvent.MOUSE_DOWN, setHeight3);
        heightOpt.opt_4.addEventListener(MouseEvent.MOUSE_DOWN, setHeight4);
        heightOpt.opt_5.addEventListener(MouseEvent.MOUSE_DOWN, setHeight5);
        heightOpt.opt_6.addEventListener(MouseEvent.MOUSE_DOWN, setHeight6);
    function showGenders(event:MouseEvent):void
        genderOpt.visible = true;
        disableButtons();
        //ADD EVENT LISTENERS FOR HEIGHT OPTIONS
        genderOpt.opt_1.addEventListener(MouseEvent.MOUSE_DOWN, setGender1);
        genderOpt.opt_2.addEventListener(MouseEvent.MOUSE_DOWN, setGender2);
        genderOpt.opt_3.addEventListener(MouseEvent.MOUSE_DOWN, setGender3);
    function showAges(event:MouseEvent):void
        ageOpt.visible = true;
        disableButtons();
        //ADD EVENT LISTENERS FOR HEIGHT OPTIONS
        ageOpt.opt_1.addEventListener(MouseEvent.MOUSE_DOWN, setAge1);
        ageOpt.opt_2.addEventListener(MouseEvent.MOUSE_DOWN, setAge2);
        ageOpt.opt_3.addEventListener(MouseEvent.MOUSE_DOWN, setAge3);
        ageOpt.opt_4.addEventListener(MouseEvent.MOUSE_DOWN, setAge4);
        ageOpt.opt_5.addEventListener(MouseEvent.MOUSE_DOWN, setAge5);
        ageOpt.opt_6.addEventListener(MouseEvent.MOUSE_DOWN, setAge6);
    function disableButtons():void
        heightBtn.upState = heightBtn.downState;
        heightBtn.enabled = false;
        genderBtn.upState = genderBtn.downState;
        genderBtn.enabled = false;
        ageBtn.upState = ageBtn.downState;
        ageBtn.enabled = false;
        searchBtn.upState = searchBtn.downState;
        searchBtn.enabled = false;
    function enableButtons():void
        heightBtn.upState = heightState;
        heightBtn.overState = heightState;
        heightBtn.hitTestState = heightState;
        heightBtn.enabled = true;
        genderBtn.upState = genderState;
        genderBtn.overState = genderState;
        genderBtn.hitTestState = genderState;
        genderBtn.enabled = true;
        ageBtn.upState = ageState;
        ageBtn.overState = ageState;
        ageBtn.hitTestState = ageState;
        ageBtn.enabled = true;
        searchBtn.upState = searchState;
        searchBtn.overState = searchState;
        searchBtn.hitTestState = searchState;
        searchBtn.enabled = true;
    //ASSORTED FUNCTIONS TO SET THE TEXT FOR THE HEIGHT OPTION
    function setHeight1(event:MouseEvent)
        part1_mc.height_txt.text = "135-145cm";
        enableButtons();
        heightOpt.visible = false;
    function setHeight2(event:MouseEvent)
        part1_mc.height_txt.text = "145-155cm";
        enableButtons();
        heightOpt.visible = false;
    function setHeight3(event:MouseEvent)
        part1_mc.height_txt.text = "155-165cm";
        enableButtons();
        heightOpt.visible = false;
    function setHeight4(event:MouseEvent)
        part1_mc.height_txt.text = "165-175cm";
        enableButtons();
        heightOpt.visible = false;
    function setHeight5(event:MouseEvent)
        part1_mc.height_txt.text = "175-185cm";
        enableButtons();
        heightOpt.visible = false;
    function setHeight6(event:MouseEvent)
        part1_mc.height_txt.text = "Unknown";
        enableButtons();
        heightOpt.visible = false;
    function setGender1(event:MouseEvent)
        part1_mc.gender_txt.text = "Male";
        enableButtons();
        genderOpt.visible = false;
    function setGender2(event:MouseEvent)
        part1_mc.gender_txt.text = "Female";
        enableButtons();
        genderOpt.visible = false;
    function setGender3(event:MouseEvent)
        part1_mc.gender_txt.text = "Unknown";
        enableButtons();
        genderOpt.visible = false;
    function setAge1(event:MouseEvent)
        part1_mc.age_txt.text = "20-30 years old";
        enableButtons();
        ageOpt.visible = false;
    function setAge2(event:MouseEvent)
        part1_mc.age_txt.text = "31-40 years old";
        enableButtons();
        ageOpt.visible = false;
    function setAge3(event:MouseEvent)
        part1_mc.age_txt.text = "41-50 years old";
        enableButtons();
        ageOpt.visible = false;
    function setAge4(event:MouseEvent)
        part1_mc.age_txt.text = "51-60 years old";
        enableButtons();
        ageOpt.visible = false;
    function setAge5(event:MouseEvent)
        part1_mc.age_txt.text = "71-80 years old";
        enableButtons();
        ageOpt.visible = false;
    function setAge6(event:MouseEvent)
        part1_mc.age_txt.text = "Unknown";
        enableButtons();
        ageOpt.visible = false;
    screen_saver.addEventListener(MouseEvent.CLICK, hideScreenSaver);
    function hideScreenSaver(event:MouseEvent):void
        screen_saver.visible = false;
        part1_mc.visible = true;
    //START EXECUTING SEARCH
    searchBtn.addEventListener(MouseEvent.MOUSE_DOWN, startSearch);
    var resultContainer:MovieClip;
    var resultCount:int = 0;
    var position:int = 1;
    function startSearch(event:MouseEvent):void
        resultContainer = new MovieClip;
        part2_mc.addChild(resultContainer);
        disableButtons();
        ageStr = part1_mc.age_txt.text;
        heightStr = part1_mc.height_txt.text;
        genderStr = part1_mc.gender_txt.text;
        searchingDB.visible = true;
        part2_mc.visible = true;
        rightBtn.visible = false;
        leftBtn.visible = false;
        createResults();
    rightBtn.addEventListener(MouseEvent.MOUSE_UP, moveRight);
    leftBtn.addEventListener(MouseEvent.MOUSE_UP, moveLeft);
    function moveRight(event:MouseEvent):void
        if (position < Math.ceil(resultCount/3))
            resultContainer.x = resultContainer.x - 1680;
            position++;
        else
        checkRight();
    function moveLeft(event:MouseEvent):void
        if (position > 1)
            resultContainer.x = resultContainer.x + 1680;
            position--;
        else
        checkLeft();
    function checkRight():void
        if (position < Math.ceil(resultCount/3))
        else
            rightBtn.visible = false;
            if (position > 1)
                leftBtn.visible = true;
    function checkLeft():void
        if (position > 1)
        else
            leftBtn.visible = false;
            if (position < Math.ceil(resultCount/3))
                rightBtn.visible = true;
    function createResults():void
        var resultY = 250;
        var startX = 175;
        resultCount = 0;
        trace(ageStr.substr(0,2), ageStr.substr(3,2));
        trace(startArray[i][2]);
        for (var i:int=0; i < startArray.length; i++)
            if ((parseInt(startArray[i][2]) >= parseInt(ageStr.substr(0,2)) && parseInt(startArray[i][2]) <= parseInt(ageStr.substr(3,2))) || ageStr == "" || ageStr == "Unknown")
                if ((startArray[i][4] >= heightStr.substr(0,3) && startArray[i][4] <= heightStr.substr(4,3)) || heightStr == "" || heightStr == "Unknown")
                    if (genderStr == "" || genderStr == startArray[i][3] || genderStr == "Unknown")
                        var resultItem = new result_item();
                        resultItem.name = "r_" + i;
                        resultItem.name_txt.text = startArray[i][1];
                        resultItem.gender_txt.text = "Gender: " + startArray[i][3];
                        resultItem.height_txt.text = "Height: " + startArray[i][4] + "cm";
                        resultItem.age_txt.text = "Age: " + startArray[i][2];
                        resultItem.description_txt.text = "                                " + startArray[i][5];
                        resultItem.features_txt.y = (resultItem.description_txt.y + resultItem.description_txt.height) + 20;
                        resultItem.features_txt.text = "Distinguishing Features: " + startArray[i][6];
                        var l=new Loader();
                        l.x = l.y = 0;
                        l.load(new URLRequest(startArray[i][0]));
                        resultItem.image_holder.addChild(l);
                        resultItem.y = resultY;
                        resultItem.x = startX;
                        if ((resultCount+1)%3 == 0)
                            startX = startX + 780;
                        else
                            startX = startX + 450;
                        resultContainer.addChild(resultItem);
                        resultCount++;
                        if (resultCount > 3)
                            rightBtn.visible = true;

  • Hi, I have just loaded Lightroom 5 from the disc onto my Mac.  every time i try and launch the application, it goes to the registration/licence window.  i have input the data five times already.  When Lr5 launches the update window appears, when i try to

    Hi, I have just loaded Lightroom 5 from the disc onto my Mac.  every time i try and launch the application, it goes to the registration/licence window.  i have input the data five times already.  When Lr5 launches the update window appears, when i try to do anything the following message comes up: - An error occrred when attempting to change modules.  What do i need to do to fix this?

    Masher please use the uninstaller located in the Applications/Utilities/Adobe Installers folder.  Once Photoshop Lightroom is removed then please download Lightroom 5.5 from Adobe - Lightroom : For Macintosh : Adobe Photoshop Lightroom 5.5 and reinstall.

  • How to embed icon in dmg of MAC OS in air application?

    hi
    How to embed icon in dmg of MAC OS in air application? while in windows application it working file if  i set <icon> tag in windows application's .xml file.....
    Please reply

    solution ::
    add this code in windows app of AIR
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication 
    xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%" creationComplete="init()" layout="absolute" xmlns:local="*">
    <mx:VBox>
    <mx:Label text="Jay Mahadev" fontSize="32" />
    </mx:VBox>
    <mx:Script>
    <![CDATA[
    private function init():void
    if(NativeApplication.supportsDockIcon){ 
    var dockIcon:DockIcon = NativeApplication.nativeApplication.icon as DockIcon;NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE,undock);
    //dockIcon.menu = createIconMenu();
    else if (NativeApplication.supportsSystemTrayIcon){ 
    var sysTrayIcon:SystemTrayIcon = NativeApplication.nativeApplication.icon as SystemTrayIcon;sysTrayIcon.tooltip =
    "Stopwatch";sysTrayIcon.addEventListener(MouseEvent.CLICK,undock);
    //sysTrayIcon.menu = createIconMenu();
    public function undock(event:Event = null):void{stage.nativeWindow.visible =
    true;NativeApplication.nativeApplication.icon.bitmaps = [];
    ]]>
    </mx:Script>
    </mx:WindowedApplication>
    and also in windowapplication.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <application xmlns="http://ns.adobe.com/air/application/1.0">
     <icon>
    <image128x128>/icons/128x128.png</image128x128>
    <image48x48>/icons/48x48.png</image48x48>
    <image32x32>/icons/32x32.png</image32x32>
    <image16x16>/icons/16x16.png</image16x16>
    </icon>
    </application>
    Reference Link :::
    http://www.adobe.com/devnet/air/flash/quickstart/articles/stopwatch_dock_system_tray.html

  • Launching VLC application from AIR 2.0

    Hi,
    I am creating a Video Library wherein if a user click on any listed video file, same needs to be played in their default player.
    I have used File.openWithDefaultApplication() method but with no success. However if the default application for the selected video is Window media player or quick time then default application launches and plays selected video but in case if default application for the selected video is VLC player then there is no responce form AIR application.
    Is there any way by which i can launch video in VLC player.
    Thanks in advance
    - Gaurav

    Hi Gaurav,
    you could play most of your video content directly on VLC player (except of DRM-protected content that could require WMP for instance) directly interfacing with VLC executable using NativeProcess I think.
    Here is Adobe's example of interacting with VLC:
    http://www.adobe.com/devnet/air/flex/articles/air_screenrecording.html
    While it discusses features like screen recording - it shows how to control/interact with VLC tool directly. The VLC has command line interface on all platforms:
    http://wiki.videolan.org/VLC_command-line_help
    To just playback audio via native process only single argument is requred: URL (file//....) to local video that is to be played with VLC I think.
    Using VLC directly would offer you much more control on how it can be used to playback your content I think (and you could ship executables as command line tools with your application too I think),
    regards,
    Peter

  • Air application full screen error in Mac OSX 10.7 Lion

    Hi
       We have an air application built using Flash Builder 4.5 with 4.5 SDK.
       The air application no problem to run on Windows and Mac OSX 10.6 Snow Leapard. However it has full screen issue on Mac OSX 10.7 Lion. When change to full screen mode, the whole screen disappear, press ESC and turn back to normal stage without any issue.
       We then use Flash Builder 4.5 with SDK 4.6 to compile and release, install the air application to Lion OS but still no luck.
       Air 3.1 installed on Lion OS
       Can some one please help?

    Is this still a problem?

Maybe you are looking for

  • Upload Excel file to itab with more than 255 chars

    I want to upload an excel file to internal table with more than 255 characters in one of the field. However it restricts the upload to only 255 characters. Currently I am using the code   CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'   EXPORTING i_field_se

  • Oracle Database 10g Express Edition & linux Fedora

    Hi guys How are you doing? I want to ask about my problem which is I can't access to the home page of Oracle Database 10g Express Edition when I press on "Go To Database Home Page" it's open firefox but does not do any thing by the way I try to write

  • Download OC4J broken

    I have tried to download OC4J, but have not been able to do so. I found the download on the page http://www.oracle.com/technology/software/products/ias/index.html After accepting the license agreement and clicking the link OC4J standalone, it gives m

  • My redemption code for photoshop elements 12 does not work

    I purchased Elements 12 from Best Buy. When trying to load to load the software on my iMac (osx10) the installer will not accept my redemption code. I have tried support and trolling through internet without success. does anyone have a solution?

  • Help, iPhoto in the menu bar but...

    The is no main window when I launch iPhoto. It says iPhoto in the menu bar, shows me it is running, but there is no main window to be seen. Nor can I even choose any options from the pull downs... I have repaired disk permissions and restarted, but i