How to change html-css cursor style in Adobe Air?

We all know how to change cursor style in  Html pages, of course using css such as,
'cursor: url("move.cur"),  move'.
But when I use it in Adobe Air, it will not show the standard  cursor style in browser, but the special ones in Adobe. For example, the  'move' cursor shows like a hand(the same with the move hand in Acrobat  Reader), not like a crosshair.
I tried to use 'url' option in CSS,  but it doesn't work in Adobe Air(I'm sure that it works in html  browsers).
I am really confused. And looking forward to your  solutions.

Hi flexo222,
Currently Adobe AIR does not support custom CSS cursors and only some of the "default" cursors available in CSS.
You could however use the following ActionScript workaround if you don't need a very complex behavior:
  * on mouseOver have the default cursor hidden
  * on mouseMove have a custom cursor drawn and positioned via ActionScript
  * on mouseOut have the custom cursor hidden and the default cursor shown.
I have attached a sample that should make things clearer. Feel free to ask if there's anything not clear.
Cheers,
Mihai

Similar Messages

  • How to change html style titles of a JTabbedPne at run time??

    hi,
    how to change html style titles of a JTabbedPne at run time??
    setTitleAt is not working...

    You can't change the canvas at runtime. But you can put the scrollbar on a stacked canvas and then show or hide that stacked canvas on different canvases.

  • How to change font size and style in keynote for ios

    How to change font size and style in keynote for ios

    Same situation for report parameter input value font. What ever we do , it is still Arial and size 10.

  • Could anyone tell me how too change the mouse cursor to the waiting mode?

    Could please anyone tell me how too change the mouse cursor to the waiting mode while my applet is processing?
    Well i have 3 combos in my applet.....and in my actionPerformed code i have:
    public void actionPerformed(ActionEvent e) {
    if (e.getSource() == combo1) {
              setCursor (Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
    ind_reg = combo1.getSelectedIndex();
    Do_Accion1();
    setCursor (Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
    if (e.getSource() == combo2) {
    setCursor (Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
    ind_mun = combo2.getSelectedIndex();
    Do_Accion2();
    setCursor (Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
    if (e.getSource() == combo3) {
    setCursor (Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
    ind_loc = combo3.getSelectedIndex();
    Do_Accion3();
    setCursor (Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
    } // Fin action event
    But my cursor is never change to WAIT_CURSOR....Somebody could help me please?....
    Thanks in advance....
    Mary

    YourComponent.setCursor(
         Cursor.getPredefinedCursor(
         Cursor.WAIT_CURSOR));

  • How to change my icloud id for my ipad air 2

    How to change my icloud id inside my ipad air 2

    settings - icloud - delete account - then sign in with your id.
    Is that what your asking?

  • How to change the default text style?

    The MacOS system seems to maintain a collection of text 'styles' available in applications such as TextEdit, Bean, MacJournal, Notebook and DevonThink. This collection contains a default style, used by some (but not all) of these applications as the default text style for new documents.
    At my computers this default style is characterized in the 'favorite styles' panel as 'left aligned, spacing 0.0x' and it has strange tab stops (0.99, 1.98, 2.96, 3.95, 4.94, 5.93, 6.91, 7.90, 8.89, 9.89, 10.86, 11.85 cm).
    I prefer tab stops at 1.00, 2.00, 3.00 etc., and 1.2x line spacing.
    I guess I have changed the default style by accident, as I cannot imagine Apple putting such strange tab stops in a default style (0.0x spacing sounds a bit strange too). If so, it must somehow be possible to change the default style.
    I have tried to change the default style via TextEdit (which does not use the default style as default, but spacing 1.0x and tab stop at each centimeter) and several other applications (Bean, MacJournal, Notebook) in the following way: select a piece of text with the intended format, open the document styles panel, click 'Add to Favorites', enter 'Default' as the name for the style and click 'Replace'. Unfortunately, that doesn't work. Although I do not get an error message, the Default style hasn't changed. I can save my preferred style as, for example, 'Preferred' but that does not prevent MacJournal and other applications from using Default for every new document.
    Any idea how to change this default style, or, if that is not possible, reset it to its original state?

    I suggest you have a look at [https://addons.mozilla.org/en-US/thunderbird/addon/stationery/?src=api Stationery].
    It won't help you in defining styles, as such, but will give you templates wherein you can set up styles.

  • How to change the css behaviour of af:table column with rowheader

    Hi
    Can we change the css look and feel of the af:column with rowheader attribute set true ? Currently I am getting a projected look with shades in the left side. I want it to be like normal af:column style. If there any specific styleClass I need to put please provide the details
    THanks
    Suneesh

    Hi,
    you can use skinning for this. The skin selectors are shown here:
    http://download.oracle.com/docs/cd/E15523_01/apirefs.1111/e15862/toc.htm
    Frank

  • OT: Tutorial | How to author HTML, CSS, jQuery, and PHP 5.4 in Dreamweaver CC

    Hi all,
    Dreamweaver CC 2014 comes with a host of tutorials for both beginners and advanced users. In this tutorial you will learn how the latest support for HTML5, CSS3, jQuery and PHP5.4 in Dreamweaver can help you author static, dynamic, mobile or responsive projects.
    We would love to hear your opinion on this tutorial after you complete the training.
    https://helpx.adobe.com/dreamweaver/how-to/html-css-jquery-php-dreamweaver.html?scid=socia l26198776
    Thanks,
    Preran

    jlig wrote:
    > David, I just read thru the sample chapter 7 "Building
    Site Navigation with the
    > Spry Menu bar".
    > - Finally a Spry resource that is friendly , thorough
    and easy to follow
    > along.
    > - I especially like your honest comments in the "Mixed
    Blessing" section.
    Glad you found it useful. I felt it was essential to present
    a balanced
    view of Spry widgets, rather than giving a starry-eyed one.
    > Trying to adjust the Tab Colors, Fonts, CSS page sizes,
    margins, borders, etc
    > is a bit of a nightmare for me. I know it is just a
    matter of learning, but it
    > would help to have resources like yours that take all of
    the practical
    > considerations into mind for end-users.
    It is quite easy to do simple things with CSS, but it's very
    powerful,
    and has a long learning curve. Keep at it, and you'll get
    there in the end.
    > ps: How about a similiar new resource: "The Essential
    Guide to Dreamweaver
    > CS3 with ADDT, SPRY, CSS, AJAX and PHP / ColdFusion"
    I'm not a big fan of ADDT (Adobe knows my opinions, because I
    have told
    them directly). I would like to see how ADDT develops before
    committing
    to writing about it. As for ColdFusion, I experimented with
    it a long
    time ago, but decided I preferred to improve my knowledge of
    PHP before
    branching out into other fields.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • How to change the mouse cursor

    Hi,
    I need to change the mouse cursor on a mouseover event of a text filed?
    Please help for the same...
    Thanks,
    Abhijit

    I guess your are simply out of luck.....share with us if you find a way.

  • How to change numbers of PDF file in Adobe Acrobat Pro Extended #9

    I just combined 3 PDF files that had their own numbering into one. I have searched how to change this file into a consecutive numbering with no success. I do the steps outlined to open the Number options, but when filling in the blanks, and making choices, nothing changes on the pages ... just in the thumbnail section.
    HELP!

    Post your question in a forum for Acrobat. Adobe Reader can't change page numbers.

  • Does external links work when html based course embeded in adobe air

    Hi,
    i have an html based WBT, developed using Lectora.
    Now my clients wants its desktop version.
    I am using Adobe air to do it. My html course has some external links which opens in external popup windows and captivate swf files.
    If i wrap my html course into desktop application using adobe air, will my external links work?
    And swf files running in html pages will work fine?

    Hi flexo222,
    Currently Adobe AIR does not support custom CSS cursors and only some of the "default" cursors available in CSS.
    You could however use the following ActionScript workaround if you don't need a very complex behavior:
      * on mouseOver have the default cursor hidden
      * on mouseMove have a custom cursor drawn and positioned via ActionScript
      * on mouseOut have the custom cursor hidden and the default cursor shown.
    I have attached a sample that should make things clearer. Feel free to ask if there's anything not clear.
    Cheers,
    Mihai

  • Embedding HTML page into Flex using Adobe AIR

    Hi,
    This is Siva Kumar. Need help in embedding an HTML in Flex .
    We are using Adobe Air. To embed an HTML in Flex we used
    <mx:HTML> tag. Its working fine but whts the problem is its
    not allowing to download files / attachements. I tried to use
    google flex iframes to resolve this issue. I am able to download
    files/attachments if I open application as web / standalone. If I
    try to open same application using adobe air its giving error like
    " ExternalInterface is not available in this container.
    Internet Explorer ActiveX, Firefox, Mozilla 1.7.5 and greater, or
    other browsers that support NPRuntime are required"
    Later wht I found is at present ExternalInterface is not
    supporting adobe air.
    Could anybody help me to resolve this issue. If anybody has
    any idea on how to overcome this issue. Please suggest me to
    resolve this issue. Thanks in Advance.
    Thanks,
    Siva Kumar

    looks like your equipmentArray is empty. Put a breakpoint inside that method to see if there is any data.

  • How to save the date in Sqlite in Adobe Air application

    hi friends,
    i am doing a flex Adobe AIR Application with SQLITE Data base,in that i want to save Date in the following format DD/MM/YYYY, but in my TABLE i gave the data type is DATE,
    So it store the value like this Sun Dec 2 00:00:00 GMT+0530 2012.i want to store the value in DD/MM/YYYY.How to do that?
    looking for useful suggession.
    Cheers,
    B.venkatesan.

    Hi, maybe cannot help much on this since I have not much experiense on handling SQLITE in AIR.
    But I know there are a command/example for reading SQL:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/data/SQLConnectio n.html
    http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118666ade46-7d49.html
    And in mxml you should have an id for each individual TextInput component, also have a button:
    <Button click="updateSQLHandler(event)"/>
    When the button is click the handler function is launched.
    The updateSQLHandler(event:MouseEvent) is a script that read the each individual TextInput component by getting (id of textinput component).text.
    Then, you create a String varible that is an SQL commands with the texts in the form, and update the SQL database following the below using the execute() command (refer to http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118666ade46-7d49.html ).
    Hope this help.

  • How to use ScaleNine themes to skin an Adobe Air Mobile App

    Hi,
    I'm rather new to Adobe Air development But I really like it! Now that I've created my app I would like to skin it. I've found ScaleNine (http://www.scalenine.com/gallery/gallery-1.php) which has ready made cool skins for Flex and Air. I downloaded the samples and they compile and work beautifully. HOWEVER: I can't seem to be able to use them to skin my Air mobile app.
    Can anyone post an example ViewNavigatorApplication themed with one of the themes there? this one (http://www.scalenine.com/themes/blend/Blend.html) looks as though someone tailored it to my app :-)
    Thanks a lot!
    Avi

    I don't know how your application is structured, but if you can split sections off into separate SWFs(plain AS3 document) then you could host those section SWFs online and require the user to download them on first run.
    You could use the FileReference object to download the SWFs, save them to the File.applicationStorageDirectory, and then display/load them up with the Loader object when needed from the app storage directory. You would possibly need to check to see if the files are present at every boot of the app though as a user could "Clear Data" or "Clear Cache" of the app in the Settings of their device and one or both of those could/would delete the downloaded files.
    FileReference - Adobe ActionScript® 3 (AS3 ) API Reference

  • How to Multi-Screen android tablet application on Adobe AIR and Flash Professional

    hello,
    I have done app in ipad with Adobe AIR thats work fine in ipad,
    but now i have to create android tablet app for multiscreen resolution like this,
    2560*1600, 1366*768, 1280*800, 1280*768, 1024*768, 1024*600, 960*640, 960*540, 854*480, 800*600, 800*480, 800*400
    and my current .fla file resolution is 1024*768 so how can i create android tablet app with multi-screen?
    thanks

    If your app is mainly code layout interface, then you'll have to just change your code to work with arbitrary widths and heights, instead of a fixed width and height. If instead your app is basically one graphical scene, like say Angry Birds, or a highly graphical scene, you could take the approach I use.
    Read my reply to this message:
    http://forums.adobe.com/message/4735070?tstart=0
    In that message I describe things in Portrait, because I was answering a question about portrait, but it all works out too if you substitute landscape numbers.

Maybe you are looking for