How can I make a movable transparent main window (HTML, not FLEX)?

Hi all-
I'm new to AIR and coming up to speed quickly. I got a sample application up and running right away and was able to give it a transparent main window so that the corners are rounded and there is no window title bar.
However, I can't figure out how to make it so the user can drag the application around their desktop when they click on it.
I've seen a few FLEX examples of this but I have to work in HTML.
Does anyone know how to set this up in HTML?
Thanks,
Nicholas

"Works pretty much as I'd expect, except clicking and dragging one of the child controls in my window (e.g. a button) moves the whole window as well."
Most user interface events (mouse up, down, etc.) "bubble" up from child elements to their parents. Since you are listening on the body element, your handler is called for every mouse down in the page since the body is the highest parent in the document.
You can either:
Attach the event listener directly to the element used to drag the window.
Check the event target property to check whether the target of the event (the element moused) is a drag control.

Similar Messages

  • How can I make two Canvas in one Window ?

    I want in the main window ( that is only window in the module ) press button to appear another canvas.
    but that I can't make it , I just made two window until the another window appear.
    that's all
    I tried with :-
    show_view('canvas_name');
    but didn't work with me Sad
    the another canvas made it stacked Canvas .... but also didn't work Sad
    so please , How can I make two Canvas in one Window only ?
    and thanks in advance

    this code work with me :-
    show_view('canvas name');
    go_block(block_name');
    execute_query;
    for HIDE button u have to write...
    hide_view('canvas_name');
    but
    that not exactly what I want ...... I want the stacked canvas appear like second window , and could control on it like window .... it could be possible ????

  • How can I create more than one main window in a page of SAP SCRIPT?

    How can I create more than one main window in a page of SAP SCRIPT? If anybody helps me I will be obliged.
    Regards,
    Subhasish

    Hi Ganguly,
    It is possible to have more than one main window in a same page.
    You create a main window and simply you copy and past it in the same page.. it will create first main window name as MAIN and other main windows as MAIN01,MAIN02.... up to MAIN99.
    Contets flow from MAIN , MAIN01, MAIN02.......................MAIN99. contents after filling the current window it flows to next window(by default, you skip as well with some keyword not sure could be NEW-WINDOW)
    you want print the main window data twice? or you want to create two main window in the same page ?
    1. give two copies in the no of copies in the output type screen ( Which pop up is coming after excute the program ).
    2. create two page with the same script form.
    3. you can write the coding inside the program to print twice the same page.
    Hope this information use full to you..

  • When using iMessage how can I make it so it shows my number not my Apple ID?

    When using iMessage how can I make it so it shows my number not my Apple ID?

    SETTINGS - MESSAGES - RECEIVE AT - CALLER ID (select your number, instead of your email address)

  • How can I make Thunderbird start auto with windows start-up

    how can I make Thunderbird start auto with windows start-up

    You can by placing a short cut in the windows startup folder, just like any other windows program.
    However if you do you are likely to encounter problems as downloading mail while the anti virus is still loading and the network is busy announcing your machines arrival to the network ( which might be a network of one) and any of a dozen other program are loading is fraught with risk of timeouts and server disconnections as well as error messages that make little sense because they are about something that is still loading.
    So the bottom line is sure you can, but if there are issues take it back out of there as a first step.

  • How can I make JPG to be opened in Preview not in Photoshop.When I click on JPG it opens in Photoshop. I would like to be opened in Preview. Can somone help how can I do that. Thanks

    How can I make JPG to be opened in Preview not in Photoshop.When I click on JPG it opens in Photoshop. I would like to be opened in Preview. Can somone help how can I do that. Thanks

    Select (highlight) the file in Finder and then use the Finder File menu Get Info (or Command I) and in the Open With section of the Get Info choose the application you want to open the file. Another method is to right-click the file in Finder.

  • How can I make a page transparent in InDesign CS4?

    Hello and thank you all for your help in advance!
    I would like to make a page transparent in InDesign.
    When the magazine is printed it will be an overlay page with font printed on it where you can still see the image underneath. I was wondering if this is possible.
    I'm not quite sure if it has a technical name to it or not so I uploaded a picture of what I'm speaking about to Tinypic.
    http://i46.tinypic.com/29m1vk3.jpg
    (routes and lines on top on the semi-transparent page, map on next)
    Thanks for your help!
    Nora

    will these subjects actually be printed on separate pages or do you want to overlay some images on one page with type on the same page?
    If the former, add and use layers; if the latter design one page and save it as a pdf. Place that pdf on a lower level layer, lock the layer, and work on a higher layer.

  • How can I make another computer my main computer for sync use

    my main computer is going to be the one that generates the change to book marks and tabs. when I first
    set up sync I used a secondary computer not realizing it would be the main computer. how can i change
    the status of the computers. now that all of my data has merged I need to clean it up and maintain it for
    the new main computer. Thank you Miles

    If your secondary system don't want to SYNC. then try the following method to stop SYNC
    Type '''about:config''' in URL and search for '''services.sync.prefs.sync.''' and set the value as "fasle".

  • How can I make triple partition for OSX, Windows 8, and for saving Data

    I read many articles on googles yet I still can't figure out how to.
    The point that I get is when you're installing Windows using bootcamp, before it actually try to install windows, i have to go back to OSX, choose disk utility and create the 3rd partition.
    But after I continue the installation, the windows boot camp partition can't be formatted and worse I can't use the drive to install windows 8.
    Other I read about deleting the recovery partition in order to make it works?
    I don't know .... I tried and I failed many times *sigh*

    1. Boot Camp doesn't support Windows 8, so wait until Apple releases new Boot Camp drivers.
    2. Boot Camp requires only one volume on the hard drive, so you can't create a volume to store data

  • How can I make my Mac compatible with windows?

    NOT very computer literate so be clear please. I am just starting out as a Medical Transcriptionist and most companies will require MS Word and Windows XP operating systems. How on my Mac OSX 10.4 can I make it work?
    Is there some software I can just download?
    What do you know about "Fetch"? Someone was saying I could use that? HELP!
    Is there a good place in the Apple site for me to get a little more computer know how or a good book someone could recommend? Thanks for listening to the newbie
    Message was edited by: Medical transcriber

    You can buy Microsoft Office for Mac, and then you'll have Word.
    You could use BootCamp, Parallels or Fusion to install Windows if you absolutely need it, but just having Microsoft Office will be enough for most people.
    Fetch is just an FTP client. It's for transferring files between computers.
    Here's a couple of sites to check out for basic information:
    http://www.apple.com/support/mac101/
    http://www.apple.com/support/switch101/

  • HOW can I get my iTunes Libray MAIN WINDOW to show in LIST form (like before). NOW only shows an IMAGE GRID. HATE it. HELP please! THANKS!!

    For the last 2 (maybe 3) updates iTunes has been showing my MUSIC LIBARY in a GRID of IMAGES with small caption below each image (usually an empty grey box, but occasionally tje front cover of album). It is a BIG waste of time to look at, go through and find any of my many hundreds of items.
    I want / NEED "LIST VIEW" (or whatever it is called) back.
    I have looked in SUPPORT / iTunes HELP / Preferences / ALL my menus - for ANY info on getting my LIST VIEW back.
    Somebody PLEASE share with me HOW to get a LIST VIEW in the iTunes MAIN WINDOW (NOT the sidebar ...which is in a nice LIST foerm still thank God).
    Going out of my mind on this one - and wasting LOTS of time, going through it.
    Sure it's ALPHABETICAL (in an arbitrary fashion), but do they REALLY expect me to "REMEMBER" - or already know my choice - of what I am" looking for"?? Come on! I open iTunes, SEARCH through my (where'd it GO?) list and choose something that feels right for the moment. Most people do.
    This IMAGE GRID just throws unnecessary obstruction into the experience and takes massive amounts of time to arrive at a selection (especially if it is not one of my first 40 albums (less than 10% of my libary). I want it gone - and a simple LIST VIEW back. ANY help VASTLY appreciated.

  • TS1389 How can I make Itunes work properly on Windows 8 ? still receive -42110 error !

    Please anyone...help me.

    Some discussion on means of locating the SC Info folder on Windows 8 systems in the following topic:
    TS1389 Re: How can you do this in windows 8?

  • How can I make a indicator transparent grey?

    Hi,
    I would like to make the background of a string indicator transparent grey on the FP. No Problem making it either transparent or grey, but I don't know how to make it transparent and grey at the same time.
    Would anyone know?
    Labview 8.5. & XP
    Thanks a lot,
    Marc

    I'm not sure I follow you.
    If you make a control or indicator transparent, that means there is no color.  Whatever is behind goes through.
    If you make it grey, then it is grey.  It is not transparent.  You can't have both at once..
    Now, do you want to see something underneath the control or indicator and see it as grey?
    If so, then make the control / indicator transparent and color whatever is in the background grey..
    Or maybe I totally didn't understand what you want to do..
    Can you post an example code of what you want to do?
    R

  • How can I make a picture transparent in Keynote

    So I'm helping my kid with a school project with a simple Keynote presentation.  I know how to make the whitespace around a shape in Powerpoint blend in with the background, but I can't figure out how to do the same in Keynote.  It's a simple small square pic that he wants to use for a Wild West presentation.  I've read where people have done some import/export of images into photoshop, but that's not an option for us.  I've exported the imaga and saved as a .png and re-imported it, but still no-go.  Can anyone help?  It's a Mac, and shouldn't be this difficult.  We've got Keynote '09.  Yes...'09 on a MacPro running 10.6.8.

    Click the Alpha button in the tool bar and drag on the white in the image with the mouse until the background is removed.

  • How can i make my macbook my main I tunes computer, I am wanting to get rid of an old one that holds all the songs and video's

    I am getting rid of an old computer biut want to transfer all music to my macbook...my music is abouy 90gb in total...

    How to use Migration Assistant to transfer files from another Mac

Maybe you are looking for

  • Customer Reconciliation Account Change

    Hello Friends, Our client had a requirement of changing the recon account for customer. Customer A (recon account 100) already had line items posted from last 2 years, these line items are cleared also. Now business wants the recon account for this c

  • IPod Touch Strangeness: Battery life and iPhoto

    I have a first generation iPod Touch (8 GB), running v.2.1. I recently went on a long trip, and the iPod Touch worked as expected, with pretty long battery life, etc. However, on my return, I've noticed two oddities. First, now whenever I attach my i

  • How to find out Unused Packages/Procedures/Functions/Triggers

    Hi, I have one database. This database is with 7 schemas. Around 1000 triggers are associated with each schema. But the application is using only some triggers. How to find out the used triggers? Apllications is developed in J2EE. Same way I want to

  • MSI P4M900M2 - MSG : MPU-401 Compatible MIDI Device not manage Install

    Hi, I just Re-install my PC to Windows XP and all the drivers had installed. Only have problem with this : MPU-401 Compatible MIDI Device unable to install. Any one had come across this issue, please kindly advise. Thank you very much. Desmond

  • Loading a Tab Bar Controller

    Hi, I am trying to make an iPhone application where there will be a settings view that is made of a tab bar controller. I have declared the tabBarController, and linked it to the app delegate in the main window.xib file. However, when I try to switch