Reg:Customizing titlebar of a window in desktop air applications

I am trying to develop a custom component that has to be embeded into the title bar just beside the maximize, minimize, restore buttons on to the top right hand side in a window (air). Could any one help me out how to approach....
I tried using skins but couldn't succeed.
thanks,
Sukumar.

Hi
I figured it out. Just in case if anyone is looking for the solution...just create a window skin, and in that add a titlebar and use a custom skin for that title bar to customize it.
Regards,
Sukumar.

Similar Messages

  • Can HTML based browsers rotate along with a Desktop AIR application if browser is modular?

    I get a buged out browser module in my Desktop AIR application after doing an application level rotation/orientation-change/flip screen for viewing on other side of monitor .
    Most of the HTML content rotates 180 degrees without any issue, but, it seems some of the "components" aren't getting with the program.
    Dropdown box lists don't rotate, even though the button to initate use of the dropdown list does. So, when viewing the application from the new orientation,
    the dropdown lists are upside down from an end user perspective ( just never rotated properly from a developer perspective )
    I was having to flip my application by sending out a message to a service and recieving the call from a WCF to tell the whole OS to flip via WIN32 API but
    64bit operating systems do this a lot slower, so i'm trying to find a new solution.
    I am wondering if a workaround can be done by replacing the misbehaving things like the dropdown box with native flex components?
    Any thoughts/ideas/conclusions?

    Did you try ...
    location.href = url

  • FLV Playback and Seekbar on different native windows in one Air application

    Hello Everyone.  I'm trying to make a simple video playback AIR application that utilizes the initial native window to house a transport control with a seekbar on it.  Once the application launches, it creates a second (new) window on my second screen and places a FLVPlayback instance on that new window.  Everything works just like it want it to except for one thing.  When the seekbar and FLVplayback instance are not located on the same window stage, the seekbar handle sticks to the mouse when trying to scrub through the video.
    I've added both the transport control and the FLVPlayback instance to the original native window as children and I have also added both of them to the new window as children and everything works just fine.  It's only when they are separated and located on different stages that the seekbar acts up.  When they are on the same stage, I can click on a point on the seekbar and the video jumps to that spot and continues to play and I can also scrub the seekbar, the video updates as I scrub, and when I release the mouse, the seekbar handle stays where I released the mouse.  When they on separate stages, the seekbar handle continues to follow the mouse movement without releasing it.  The video updates as the seekbar handle is moved due to it sticking to the mouse, but if I release the mouse, the handle is still moving with the mouse and the video is still being scrubbed.  Like I said, everything works great except for this and I have reached my limit with time spent on this issue.  Does anyone have any insight into this?
    Here's my code for the project.  This is my first AIR application, so I am coding it as I am learning, please be kind.
    import fl.video.*;
    import flash.display.*;
    import flash.desktop.*;
    import flash.events.*;
    import fl.video.MetadataEvent;
    import flash.geom.*;
    import flash.ui.Mouse;
    import flash.text.*;
    GLOBAL SETUP
    var flvControl:FLVPlayback;
    var MasterWindow = stage.nativeWindow;
    var screen1:Screen = Screen.screens[0];
    var screen2:Screen = Screen.screens[1];
    MASTER WINDOW SETUP
    this.loaderInfo.addEventListener(Event.COMPLETE,maximize);
    transControl.playPauseButt2.addEventListener(MouseEvent.CLICK, PlayButton);
    if (Screen.screens.length > 1){
              createVideoBKG();
              createVideoPlayer();
    GENERAL FUNCTIONS
    //Maximize the initial screen
    function maximize(e:Event) {
              MasterWindow.x = screen1.bounds.left
              MasterWindow.maximize();
              MasterWindow.stage.scaleMode = StageScaleMode.EXACT_FIT;
    //Hide Mouse Behind Video Window On Roll-Over
    function MouseRollOver(e:MouseEvent):void
              {          Mouse.hide()          }
    function MouseRollOut(e:MouseEvent):void
              {          Mouse.show()          }
    //Play-Pause Button Control
    function PlayButton(event:MouseEvent):void
                        if(transControl.playPauseButt2.currentFrame==1 ){
                                  transControl.playPauseButt2.gotoAndPlay(2);
                                  flvControl.play();
                        else {
                                  transControl.playPauseButt2.gotoAndPlay(1);
                                  flvControl.pause();
    function CloseWindow(e:MouseEvent):void
                        NativeApplication.nativeApplication.openedWindows[2].close();
    VIDEO BKG SETUP
    function createVideoBKG(e:Event = null):void{
              var newOptions:NativeWindowInitOptions = new NativeWindowInitOptions();
              newOptions.type = NativeWindowType.LIGHTWEIGHT;
              newOptions.systemChrome = NativeWindowSystemChrome.NONE;
              newOptions.transparent = true;
              var videoBKG:NativeWindow = new NativeWindow(newOptions);
              if (Screen.screens.length > 1){
                        videoBKG.x = screen2.bounds.left;
              videoBKG.maximize();
              chromeSetup(videoBKG);
              videoBKG.activate();
    //Video BKG Chrome Setup
    function chromeSetup(currentWindow):void {
              var vidBKG = new video_bkg();
              vidBKG.name = "video_bkg2";
              vidBKG.addEventListener(MouseEvent.ROLL_OVER, MouseRollOver);
              vidBKG.addEventListener(MouseEvent.ROLL_OUT, MouseRollOut);
              currentWindow.stage.addChild(vidBKG);
    VIDEO Player SETUP
    function createVideoPlayer(e:Event = null):void{
              var newOptions:NativeWindowInitOptions = new NativeWindowInitOptions();
              newOptions.type = NativeWindowType.LIGHTWEIGHT;
              newOptions.systemChrome = NativeWindowSystemChrome.NONE;
              newOptions.transparent = true;
              var videoPlayer:NativeWindow = new NativeWindow(newOptions);
              if (Screen.screens.length > 1){
                        videoPlayer.x = screen2.bounds.left;
                        videoPlayer.y = screen2.bounds.top;
                        videoPlayer.width = screen2.bounds.width;
                        videoPlayer.height = screen2.bounds.height;
                        videoPlayer.stage.scaleMode = StageScaleMode.NO_SCALE;
              videoPlayer.alwaysInFront = true;
              var DVR = new DVR_Player();
              DVR.name = "DVR";
              DVR.x = 0;
              DVR.y = 0;
              DVR.addEventListener(MouseEvent.ROLL_OVER, MouseRollOver);
              DVR.addEventListener(MouseEvent.ROLL_OUT, MouseRollOut);
              videoPlayer.stage.addChild(DVR);
                flvControl = DVR.display2;
              flvControl.width = 1280;
              flvControl.height = 720;
              flvControl.skin = null;
              flvControl.autoPlay=false;   
              flvControl.isLive=false;
              flvControl.fullScreenTakeOver = false;
              flvControl.align = VideoAlign.CENTER;
              flvControl.scaleMode = VideoScaleMode.NO_SCALE;
              flvControl.source = "olympics.f4v";
              flvControl.seekBar = transControl.seekbarContainer2.seeker;
              videoPlayer.activate();

    Does anyone have any ideas about this?

  • 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;

  • Opening a finder/windows explorer window from an AIR application?

    I'm evaluating AIR right now and going through as much
    documentation as I can find. Is there a way to open up an OS file
    browsing window? For instance, after writing a file to an arbitrary
    directory, could you open that director (preferably with the file
    selected) in OS X's Finder or Windows Explorer? Obviously this is
    possible in a native application (Lightroom does it, among others),
    but I can't figure out if it's possible with an AIR
    application.

    Take a look at:
    http://livedocs.adobe.com/air/1/devappsflash/help.html?content=splash.html
    http://livedocs.adobe.com/air/1/devappsflash/Filesystem_01.html
    AND
    http://livedocs.adobe.com/labs/air/1/aslr/flash/filesystem/File.html

  • Protect a desktop air application

    HI
    I currently use Zinc to wrap my swf and then add softlocker copy protection to that
    it all works ok.
    I would prefer to use an air application but need to know if is there is a way
    to prevent users just copying it onto other computers.
    cheers
    KBN

    The method I use will allow you encrpyt most of your source code using a key that is unique to every computer.
    The initial download of my software is a simple air app that does not contain the actual program. It is more like a shell that first retreaves a list of the clients mac addresses and the user entered activation code that is created at time of purchase. This is sent to server and logged.  The activation code is saved to a file client side.  At the server the mac address and activation key are used to create the encryption key.  The bulk of the program code is then encrypted using that key, then divided into parts and sent back to the client.
    The client puts the parts back together and saves the encrypted file.
    At runtime the shell finds the mac address list and the activation key, then using same method as server gets the encryption key and decrypts the program file. Run simple check to make sure it loaded. For encyption i found an aes method that works in php and javascript.
    Next I use this code to load the program
    var loader = air.HTMLLoader.createRootWindow(true, options, true, windowBounds);
    loader.cacheResponse=false;
    loader.placeLoadStringContentInApplicationSandbox=true;
    loader.loadString(page);
    This method makes it very difficult to copy to another computer although since I wrote it i know there are some weeknesses in the security but to make it harder i obv. the shell code. It at least keeps most from pirating.
    However there are issues with this that I have found.
    First i was using networkInfo to get the list of mac address but this failed in a test windows XP computer.  When the wireless was off it did not return the MAC.  I was not able to recreate this in VISTA or 7.  Not sure if it could happen.  Was not tested on a mac computer.  To fix this (at least for windows).  I wrote a simple bat file that gets the MAC list, then converted it to an exe which is included.  This does force you to create native installers.  call the exe with this
    var nativeProcessStartupInfo = new air.NativeProcessStartupInfo();
    var file = air.File.applicationDirectory.resolvePath("findmac.exe");
    nativeProcessStartupInfo.executable = file;
    process = new air.NativeProcess();
    process.start(nativeProcessStartupInfo);
    process.addEventListener(air.ProgressEvent.STANDARD_OUTPUT_DATA, onOutputData);
    process.addEventListener(air.ProgressEvent.STANDARD_ERROR_DATA, onErrorData);
    process.addEventListener(air.NativeProcessExitEvent.EXIT, onExit);
    process.addEventListener(air.IOErrorEvent.STANDARD_OUTPUT_IO_ERROR, onIOError);
    process.addEventListener(air.IOErrorEvent.STANDARD_ERROR_IO_ERROR, onIOError);
    put the list  together in the onOutputData event using array.push
    and continue on the onExit event
    using the findmac.exe will return the same info every time (that i know of)
    beware thought that using the native install will break the standard application update process so you will have to write your own.  my updates are processed the same way as above.
    This is contents of the .bat file to get the mac list
    @Echo off
    SETLOCAL
    SET MAC=
    SET Media=Connected
    FOR /F "Tokens=1-2 Delims=:" %%a in ('ipconfig /all^| FIND "Physical Address"') do @echo %%b
    ENDLOCAL
    using this method makes it simple to implement at try before you by method.  at runtime if no activation code get try me version from server instead of full version.

  • [AIR + AS3] How to restart native desktop AIR application?

    Hello,
    I develop AS3+Air application on desktop. I have problem with restart feature. Is it possible to do it without making externall app which only load a main swf file?
    I found only one code solution.
        var mgr:ProductManager = new ProductManager("airappinstaller");
                                  SmartLogManager.info(NativeApplication.nativeApplication.applicationID);
                                  SmartLogManager.info(NativeApplication.nativeApplication.publisherID);
                      mgr.launch(NativeApplication.nativeApplication.applicationID + " " + NativeApplication.nativeApplication.publisherID);
                                  NativeApplication.nativeApplication.exit();
    but this only close app, no restart.

    document.location.href='';//resets the program
    It seems to be the only quick solution to restart the program.
    It comes with one major downside though.... It can cause memory leaks each time you call that function.

  • URL for Redirecting to a Desktop AIR Application

    Hi,
    I'm developing a Flex Project that runs on ADOBE AIR. This
    project contains two Flex desktop applications that runs in ADOBE
    AIR.Now i need to redirect to one Flex desktop application from
    another Flex desktop application.Can anyone please tell me how the
    URL should look like in the new UrlRequest( ). Thanks in advance
    for any help....................

    You can launch an AIR application from the browser if a few
    requirements are met.
    *Use must have the application already installed.
    *The application must have "allowBrowserInvocation" set to
    true in the application descriptor.
    *Must have AIR installed
    *Application must be launched by some sort of user
    interaction, ie, a mouse click (can't be launch
    automatically)

  • Change desktop air application installer icon

    Hi,
    Im making an application in flashbuilder 4.6, and im exporting it to air desktop. The installer has the default icon, i tried putting the icon for all sizes in the descriptor file, without success:
    <icon>
            <image16x16>assets/16x16-FF.png</image16x16>
            <image32x32>assets/32x32-FF.png</image32x32>
            <image36x36>assets/36x36-FF.png</image36x36>
            <image48x48>assets/48x48-FF.png</image48x48>
            <image57x57>assets/57x57-FF.png</image57x57>
            <image72x72>assets/72x72-FF.png</image72x72>
            <image114x114>assets/114x114-FF.png</image114x114>
            <image128x128>assets/128x128-FF.png</image128x128>
        </icon>
    Any help will be appreciated, thanks

    I had tried the same in my applications.But it didnt work. So I have moved the png files into src folder and given the path in following manner.
    <icon>
            <image16x16>16x16-FF.png</image16x16>
            <image128x128>128x128-FF.png</image128x128>
        </icon>
    Since the app-descriptor file and other application level files are present at application level(src), so I have put the related icons over there and other images in assets folder.You may try this.

  • Add more windows buttons to AIR applications.

    Hello, I was downloading a song with the help of Internet Download Manager and saw this extra button on the border of it, is there any way to add  buttons like this on AIR applications?

    you might be able to do that using a 3rd party tool like zinc.

  • How to read http cookies from adobe desktop Air app using flex/flash builder in AS 3.0 ??

    Im developing Adobe desktop air app where i need to read the session id from the cookie of a http request.
    I have found a property called URLRequest.manageCookies supported by AIR so i Hope there should be a way to read the cookies as well. Im Using Flash Builder 4.5
    Please provide any reference code or guide me for this research;
    searched a lot regarding on this web.
    Most results lead to local shared object or reading cookies fr a webpage using javascript and ExternalInterface.
    I want to read http cookies not Local shared Object and in a desktop AIR application.
    Im using Flash builder 4.5
    Thanks
    Hari

    Sorry, but you are at the wrong forum; this one is only for discussions on the forums themselves. The Air forums are here:
    http://forums.adobe.com/community/air

  • Customizing single user connection via Windows remote desktop

    Hi, 
    I would like to know if its possible to configure Windows Remote Desktop in a way that if a user is already logged on to a particular computer and another user tries logging in, an error message appears on the screen saying that a user is already
    logged on. 
    I can limit the number of connections to 1 via:
    Local Group Policy Editor > Admin Templates > Remote Desktop Services > Remote Desktop Session Host > Connections 
    However, with this option, the error message that comes up on the screen is the following:
    'This computer cant connect to the remote computer, try again or contact the network administrator'.
    Is it possible to configure this in a way to let users know why they cant login so they don't think its an IT fault? 
    We are using Windows 7 on both the clients and the host. 
    Any advice would be much appreciated..
    Thanks,
    Seema 

    Hi Milos,
    No its not a server operating system.
    The PC that we are connecting to is running Windows 7.
    We are connecting to it using Windows Remote Desktop.
    Thanks,
    Seema
    Hi Seema,
    As Licensing agreement said, for Windows 7, you can only has one connection on this PC via RDP.
    If another user wants to connect this PC via RDP, he will be notified you another user who has already logged in.
    Kate Li
    TechNet Community Support

  • Windows 7 desktop and windows 8 desktop connected to router

    I have a windows 7 64 bit desktop and a 7510 e photosmart printer connected wireless, though the desktop is wired, I purchased a windows 8 desktop and connected it to my router and set up my email account and it did pick up my printer and could print but not scan or EFax, now I get a 1625 message and cannot print from it.
    I tried to download the print and scan wizard from HP web site but my PC froze up.
    Do i have to run the disc or set up a home group, not bothered about being able to E Fax or scan to email with it, just need it to print as it did before.
    Also on my windows 7 I can log into HP connected and my printer shows up ok, when I press the icon on the printer for Eprint it shows my HP email address but when I press the Fax icon it says NOT CONNECTED TO ANY NETWORK. Cloud services set up a static IP address for me last year as each time we had a power outage I lost my connection to my printer. If anyone can help I would appreciate it.
    This question was solved.
    View Solution.

    Emma22, welcome to the forum.
    Here is the Win 8 driver for the printer.  Installing them should correct your problem.
    Please click the "Thumbs up + button" if I have helped you and click "Accept as Solution" if your problem is solved.
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • Windows 7 and windows 8 desktop wired and 7510e printer connected to win 7 wireless

    I have a windows 7 64 bit HPavilion Elite 150f desktop set up wired with a 7510e photosmart printer connected to it wireless, now I  have purchased a windows 8 desktop HP envy 700-019 desktop.
    When I set up my new windows 8 desktop I  just plugged it into my wireless router/modem combo and it found my printer and I could just print from it, I did not download any software or drivers for my printer or set up a home group as I was not sure how to set it up but last night I tried to set up a homegroup,
    I used my wireless network key and entered it and pressed connect, then I entered the Homegroup password that was downloaded for me from Microsoft, but my windows 7 says homegroup and my windows 8 shows private network so I am not sure what I have done wrong, I chose to only share music and printers, can anyone tell me how to do this correctly as I am not sure that I have done it properly.
    On my windows 8 I can go to my printers web site by entering the static IP address that cloud support set up for me and it shows as connected but I do not want to enter any printer code as that is already set up on my windows 7, I can also scan to email on my windows 8 but I am not sure what if any security I have on my windows 8. The last time I had a homegroup set up I payed someone to do it for me so I did it by guess work more than anything, if someone can lead me through it step by step I would appreciate it.

    Hi @emma22 
    I would like to do my best to help, but please bear in mind the issue you are expressing is an inquiry for Microsoft not HP. I did find something I think will be most helpful, and I hope it resolves the issue, but if the issue persists, or you have additional questions, it might be best to reach out to the Microsoft community.
    Here is what I found; HomeGroup from start to finish.
    In the top right hand corner of the article, you can change it from WIndows 7 to Windows 8. I hope this helps.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • I have an Epson printer on a Wifi network. Windows 7 desktop and and HP Win 7 laptop (my wifes) print to it just fine. My MacBook Pro running Yosemite won't detect it, and I have the latest driver installed. No problem when I had a Canon...

    I have an Epson printer on a Wifi network. Windows 7 desktop is running the network, and my wife's HP Win 7 laptop prints to it just fine. My MacBook Pro running Yosemite won't detect it, and I do have the latest driver installed. I didn't have a problem when I had a Canon Pixma on the network, but when I replaced it with the Epson nothing seems to work. I go to add a printer to the queue and only the FAX function of the printer shows up - not the WS-4530 print function. Does anyone out there have any suggestions?  Please??? :-)

    Hi Kelly,
    As someone who has to print from my Mac to a networked printer at home all the time, I can certainly understand how frustrating it must be to have that fail to perform as expected. Let's see if we can get you up and running.
    I would suggest that you troubleshoot using the steps in this article -
    OS X Yosemite: Printing troubleshooting
    Start with the section titled Check the network.
    Thanks for using Apple Support Communities.
    Sincerely,
    Brett L 

Maybe you are looking for

  • Sharing iTunes Library with two users on the same computer

    I have all of my music stored on a external hard drive. Both users on the same computer have the iTunes music location folder as the external hard drive. How do I see music added in one persons log-in? For example: I just purchased two albums under o

  • CME and user services

    Can someone please tell me if CME allows users to configure their own speed dials and services using a url like on the CCM? If possible, can you please let me know what I would have to configure to allow this functionality? Thank you.

  • Tracking data laoded into BW

    Hi Gurus,    I want to know when data is loaded into BW for a Particular Record. EX: In BW system we have Info-object ZMATERIAL loaded from XI to BW. For a particular material: ZMATERIAL = 100 i want to how to find when i.e Date and time  its loaded

  • Weblogic Sybase driver from weblogic 8.1 sp2

    This issue involves retrieving multiple resultsets from a CallableStatement. Lets assume by default when executing the CallableStatment I retrieve 3 result sets. The first one has 5 records The second 10 The third 15 If I execute the same CallableSta

  • Why should I choose a T400 over a E6400?

    I'm a graduate student about to start a master's program in a field of engineering. I need something that is sturdy, dependable, non-intrusive, quiet, cool (temperature), light and compact. This is why I'm interested in the T400 and E6400. For around