Customized buttons not showing hand cursor

I have button and buttonbar components in my app. I have
applied new skins to them using CSS. However, they do not show the
hand cursor, so that it obvious to the user that they are, in fact,
buttons.
For example:
<mx:Button click="goLink()" id="goBtn" width="18"
height="19" styleName="customButton" mouseEnabled="true" />
.customButton {
color: #FFFFFF;
text-roll-over-color: #FFFFBB;
text-selected-color: #9999FF;
disabled-color: #333333;
up-skin: Embed(source="assets/btn_arrow.png");
over-skin: Embed(source="assets/btn_arrow.png");
down-skin: Embed(source="assets/btn_arrow.png");
disabled-skin: Embed(source="assets/btn_arrow.png");
What happened?

"rtalton" <[email protected]> wrote in
message
news:gh103g$gd1$[email protected]..
> Buttons, by default, do not display a hand cursor. So
web 1.0!
> We have to tell the button to do this. Set the
buttonMode property to
> TRUE.
>
> Read the help docs on the button properties, and take
note of buttonMode,
> useHandCursor and mouseEnabled. These additional
properties can help you
> when
> you want another type of object to behave like a button
with a hand
> cursor.
> Sounds like you may be soon headed down this road so I
thought I'd mention
> it.
I think for many components you also need to set
mouseChildren="false" and
useHandCursor="true"

Similar Messages

  • TS2972 why is the import button not showing at the button right hand corner of iTunes?

    why is the import button not showing at the bottom right hand corner of my ITunes page.  I am trying to transfer files from my home share library onto a new computers library.

    See if it isn't hidden under the View menu. iTunes- Turning on iTunes menus in Windows 8 and 7.

  • Tab Navigator Tabs show Hand Cursor

    Can anyone tell me how to get the hand cursor to show up when
    rolling over the tabs on a tab navigator? Button mode works, but
    also shows hand cursor over everything, not just the tab.
    Thanks

    To use the below code you need to get a hand icon from a
    yahoo image search, or create your own. Maybe there is a way to
    access the system hand icon, that would be best:
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml">
    <mx:Script>
    <![CDATA[
    import flash.utils.*;
    import mx.managers.CursorManager;
    private var cursorID:Number = 0;
    private function setHandCursor(event:MouseEvent):void {
    var classInfo:XML = describeType(event.target);
    var cn:String = [email protected]();
    if(cn == "mx.controls.tabBarClasses::Tab") {
    [Embed(source="assets/images/cursor_hand.gif")]
    var handCursorSymbol:Class;
    cursorID = CursorManager.setCursor(handCursorSymbol);
    private function removeHandCursor(event:MouseEvent):void {
    var classInfo:XML = describeType(event.target);
    var cn:String = [email protected]();
    if(cn == "mx.controls.tabBarClasses::Tab") {
    CursorManager.removeCursor(cursorID);
    ]]>
    </mx:Script>
    <mx:WipeLeft id="myWL"/>
    <mx:TabNavigator id="tabNav"
    mouseOver="setHandCursor(event)"
    mouseOut="removeHandCursor(event)">
    <mx:VBox label="Accounts"
    width="300"
    height="150"
    showEffect="{myWL}">
    <!-- Accounts view goes here. -->
    </mx:VBox>
    <mx:VBox label="Stocks"
    width="300"
    height="150"
    showEffect="{myWL}">
    <!-- Stocks view goes here. -->
    </mx:VBox>
    <mx:VBox label="Futures"
    width="300"
    height="150"
    showEffect="{myWL}">
    <!-- Futures view goes here. -->
    </mx:VBox>
    </mx:TabNavigator>
    </mx:Application>

  • Showing Hand cursor in  FLVPlayback Skin

    How can we show hand cursor in FLVPlayback Skin for Flash 9?
    I have tried giving "MC.buttonMode = true" but it didnt help.
    Any suggestions?
    Thanks in Advance,
    Siraj Khan
    [email protected]

    Flash & Flash 9 provide you ready-made skins for
    FLVPlayback component. It includes Play/Pause button, Volume bar,
    Scrub, FullScreen button etc. By default when a user moves the
    mouse over any of the components / buttons it doesn't show mouse
    turning as hand cursor. I hope it clarifies the your doubt. Kindly
    let me know if u need further clarifications.
    Thanks for responding,
    -Siraj

  • "record enable" buttons not showing up in Garage Band 10.0.3 (I have selected "show record enable"- a space in the track header opens up, but the button is not present.  Same with "input moniter".

    "record enable" buttons not showing up in Garage Band 10.0.3 (I have selected "show record enable"- a space in the track header opens up, but the button is not present.  Same with "input monitor".

    Look at all the posts in the forum from users with similar problems, it happened with the last Logic update.

  • Why isn't the edit button not showing in my ESX24 sampler?

    why isn't the edit button not showing in my ESX24 sampler?

    Is that during installation when you see the two icons.. the one on the left looking like a Garageband guitar icon, the one on the right like the Logic Pro platimum record icon?
    Yes.. that one.. with the choice to click on which option you want/are coming from...
    p.s. I'll probably aquire a Mac Mini this fall then upgrade.... I mean repurchase!
    I think I managed to grab one of the last of the 2011 refurb'ed MMS's.... at that super low price Apple were selling them for... before they bumped it up and now, they seem to have none left at all at any price
    However, just in case, I have found this site really useful at keeping track of Apple's refurb stock... and pricing
    http://www.refurb.me/us/

  • I have been using Pages and after sleeping it will not show a cursor in a new document.  Using Lion

    I was using Pages, put the computer to sleep, and after waking it and going to Pages, it would not show a cursor in a blank document and most of the commands were grayed out.

    Carolyn,
    It seems that when you woke up you were in a Pages Layout Template, rather than the word processing template you are more accustomed to.
    Jerry

  • Folio Overlay Buttons not showing up on Panels after DPS Tool update

    Folio Overlay Buttons not showing up on Panels after DPS Tool update

    You're going to have to do much better as far as describing the problem. A screenshot would be a good start.
    Bob

  • Payment from the customer is not showing in the lockbox transaction.

    Hi all,
    When i execute transaction code FLB1, I could not able to find lockbox and  customer did the payment  but it was not reflected in sap.
    Payment from the customer is not showing in the lockbox transaction.
    Please suggest and gide me with solution what could be the reason  i am not awear of lockbox process.
    Regards,
    JC
    Edited by: jcnaidu on Sep 17, 2010 6:41 AM

    The messages are getting to the recipient...
    I am on a Comcast IMAP server if this has anything to do with it and the server settings are following the correct server port numbers, SSL settings, etc... I save Sent messages on the IMAP server for 90 days.... None of these "disappearing" messages were on the server for more than a couple of days.. Typically, these messages will get 'hung' in the Outgoing Mailbox for @30 seconds before sending... like they are being scanned for viruses or Mail can't connect to the server all of a sudden...
    I anybody else here is on a Comcast IMAP server, and having this problem of disappearing Sent messages... This would tell us that it might be a Mail Provider issue with their outgoing server...
    --prd54usa

  • [svn:osmf:] 13455: WebPlayer: Fixing full screen button not showing.

    Revision: 13455
    Revision: 13455
    Author:   [email protected]
    Date:     2010-01-12 10:59:01 -0800 (Tue, 12 Jan 2010)
    Log Message:
    WebPlayer: Fixing full screen button not showing.
    Modified Paths:
        osmf/trunk/libs/ChromeLibrary/src/org/osmf/chrome/controlbar/widgets/FullScreenEnterButto n.as
        osmf/trunk/libs/ChromeLibrary/src/org/osmf/chrome/controlbar/widgets/FullScreenLeaveButto n.as

    I am not sure what's happening with IE9 (no live site) but I had real problems viewing your code in Live View - until I removed the HTML comment marked below. Basically your site was viewable in Design View but as soon a I hit Live view, it disappeared - much like IE9. See if removing the comment solves your issue.
    <style type="text/css">
    <!-- /*Remove this */
    body {
        margin: 0;
        padding: 0;
        color: #000;
        background:url(Images/websitebackgroundhomee.jpg) repeat scroll 0 0;
        font-family: David;
        font-size: 15px;
        height:100%;

  • HTML Snippet customized paypal buttons not showing correctly when published

    Hi, My customized paypal buttons that i but on my iweb site using html snippets are not displaying correctly. They work in Opera but not in firefox or safari. Please take a look and tell me what you think might be wrong. (all the links are working it's just not showing the graphics correctly (apart from in Opera)
    http://www.alisonbrent.com/ShopTableLamps.html
    Also I've just noticed that when i return to my iweb application (after closing in down) the Html snippets aren't there anymore just an outline, just like they appear in safari?
    Many thanks,
    Ali
    P.S

    Bonjour
    You inserted an image inside the ShopTable_Lampsfiles folder but it's is deleted every time you publish your page
    1) Create an new folder named Paypal in your root folder:
    FTP: With a FTP software (like Cyberduck) create a new folder in your server root folder
    MobileMe: just make an new folder inside the Folder Sites (iDisk > Web > Sites)
    Name this Folder "paypal"
    2) insert your image "addtocartbutton.png" inside this paypal folder
    Get the new URL of your image , something like
    http://www.alisonbrent.com/paypal/addtocartbutton.png
    3) Paste this URL in your codes, replace
    src="http://www.alisonbrent.com/ShopTable_Lampsfiles/addtocartbutton.png"
    by
    src="http://the/new/URL/of/addtocartbutton.png"

  • Image Buttons Not Showing Up

    Can someone help me out. My image buttons are not showing up until after I mouse over them. Any help or responses is appreciated.
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import java.util.Vector;
    import java.lang.Math;
    import javax.swing.*;
    public class PokerApp extends JApplet
    implements MouseListener, MouseMotionListener, ActionListener, ItemListener
    // -------------- Global Variables ------------------------
    int width, height;
    int mx, my; // the mouse coordinates
    Color bgc = Color.lightGray;
    Color fgc = Color.black;
    Checkbox players[] = new Checkbox[10];
    CheckboxGroup cbg;
    Image img;
    public void init() {
    width = getSize().width;
    height = getSize().height;
    setBackground(bgc);
    setForeground(fgc);
    String s1;
    boolean sel;
    JButton jb;
    Container contentPane = getContentPane();
    contentPane.setLayout(null);
    ImageIcon iic[] = new ImageIcon[13];
    cbg = new CheckboxGroup();
    for (int i=0; i<9; ++i) {
    s1 = Integer.toString(i+2);
    sel = (i == 7);
    players[i] = new Checkbox(s1, cbg, sel);
    players.setBackground(bgc);
    players[i].setForeground(fgc);
    players[i].setName(s1);
    // setBounds (x=hor, y=ver, wid, hgt)
    players[i].setBounds(80 + i*30, 5, 30, 20);
    contentPane.add(players[i]);
    players[i].addItemListener(this);
    for (int i=0; i<13; ++i) {
    img = getImage(getDocumentBase(), "images/v" + (i+1) + ".jpg");
    iic[i] = new ImageIcon(img);
    jb = new JButton(iic[i]);
    jb.addActionListener(this);
    jb.setBounds(i*30, 30, 30, 30);
    contentPane.add(jb);
    img = getImage(getDocumentBase(), "images/v2.jpg");
    ImageIcon tmp = new ImageIcon(img);
    jb = new JButton(tmp);
    jb.addActionListener(this);
    jb.setBounds(200, 200, 30, 30);
    jb.setVisible(true);
    contentPane.add(jb);
    jb.validate();
    addMouseListener( this );
    addMouseMotionListener( this );
    public void start() {
    // start or resume exectuion
    public void stop() {
    // suspends execution
    public void destroy() {
    // perform shutdown activites
    public void paint( Graphics g) {
    width = getSize().width;
    height = getSize().height;
    Font font1 = new Font("Ariel", Font.PLAIN, 11);
    g.setFont(font1);
    g.setColor( Color.red );
    g.drawRect(0, 0, (width - 1), 30);
    g.drawString( "Beginning", 5, 12);
    g.drawString( "# of Players", 5, 24);
    public void mouseEntered( MouseEvent me ) { }
    public void mouseExited( MouseEvent me ) { }
    public void mousePressed( MouseEvent me ) { }
    public void mouseReleased( MouseEvent me ) { }
    public void mouseClicked( MouseEvent me ) { }
    public void mouseDragged( MouseEvent e ) { }
    public void mouseMoved( MouseEvent e ) { }
    public void actionPerformed (ActionEvent ae) { }
    public void itemStateChanged(ItemEvent ie) { }

    The part you are missing is a call to super.paint in your paint method
        public void paint( Graphics g) {
            super.paint(g);
            ...This tells the component (the JApplet) to do its default rendering before it does the custom rendering in the paint method. So the component will render your buttons before it does the rest of the paint code.
    I also added an image loading method to your applet:
    //  <applet code="PA" width="400" height="400"></applet>
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import java.util.Vector;
    import java.lang.Math;
    import javax.swing.*;
    public class PA extends JApplet implements MouseListener, MouseMotionListener,
                                               ActionListener, ItemListener
        // -------------- Global Variables ------------------------
        int width, height;
        int mx, my;                             // the mouse coordinates
        Color bgc = Color.lightGray;
        Color fgc = Color.black;
        Checkbox players[] = new Checkbox[10];
        CheckboxGroup cbg;
    //    Image img;
        Font font1;
        public void init() {
            // only need to create a font one time, not with every paint call
            font1 = new Font("Ariel", Font.PLAIN, 11);
            width = getSize().width;
            height = getSize().height;
            setBackground(bgc);
            setForeground(fgc);
            String s1;
            boolean sel;
            JButton jb;
            Container contentPane = getContentPane();
            contentPane.setLayout(null);
    //        ImageIcon iic[] = new ImageIcon[13];
            cbg = new CheckboxGroup();
            for (int i=0; i<9; ++i) {
                s1 = Integer.toString(i+2);
                sel = (i == 7);
                players[i] = new Checkbox(s1, cbg, sel);
                players.setBackground(bgc);
    players[i].setForeground(fgc);
    players[i].setName(s1);
    // setBounds (x=hor, y=ver, wid, hgt)
    players[i].setBounds(80 + i*30, 5, 30, 20);
    contentPane.add(players[i]);
    players[i].addItemListener(this);
    Image[] images = loadImages();
    for(int j = 0; j < images.length; j++)
    ImageIcon icon = new ImageIcon(images[j]);
    JButton b = new JButton(icon);
    b.addActionListener(this);
    b.setBounds(j*30, 30, 30, 30);
    contentPane.add(b);
    Image image = getImage(getDocumentBase(), "images/v2.jpg");
    ImageIcon tmp = new ImageIcon(image);
    jb = new JButton(tmp);
    jb.addActionListener(this);
    jb.setBounds(200, 200, 30, 30);
    jb.setVisible(true);
    contentPane.add(jb);
    // jb.validate();
    addMouseListener( this );
    addMouseMotionListener( this );
    private Image[] loadImages()
    MediaTracker tracker = new MediaTracker(this);
    Image[] images = new Image[13];
    for (int j = 0; j < images.length; j++) {
    images[j] = getImage(getDocumentBase(), "images/v" + (j + 1) + ".jpg");
    tracker.addImage(images[j], 0);
    try
    tracker.waitForAll();
    catch(InterruptedException ie)
    System.err.println("tracker interrupt: " + ie.getMessage());
    return images;
    public void start() {
    // start or resume exectuion
    public void stop() {
    // suspends execution
    public void destroy() {
    // perform shutdown activites
    public void paint( Graphics g) {
    super.paint(g);
    width = getSize().width;
    height = getSize().height;
    g.setFont(font1);
    g.setColor( Color.red );
    g.drawRect(0, 0, (width - 1), 30);
    g.drawString( "Beginning", 5, 12);
    g.drawString( "# of Players", 5, 24);
    public void mouseEntered( MouseEvent me ) { }
    public void mouseExited( MouseEvent me ) { }
    public void mousePressed( MouseEvent me ) { }
    public void mouseReleased( MouseEvent me ) { }
    public void mouseClicked( MouseEvent me ) { }
    public void mouseDragged( MouseEvent e ) { }
    public void mouseMoved( MouseEvent e ) { }
    public void actionPerformed (ActionEvent ae) { }
    public void itemStateChanged(ItemEvent ie) { }

  • Custom Genre Not Showing Up In Apple's Music App [02/20/2015]

    Hello, I have the iPad mini 2 Model: A1489 16GB @ iOS 8.1.3
    I have made 2 custom genres that show up just fine in the Genres tab with every song belonging to these respectable genres. I also have 'Instrumental' and 'Piano' genres that I'm not sure if qualifies as custom genres, but they work well too.
    However, my latest custom genre 'A Cappella' is not showing up with the rest of the genres. The 1 album that I have for this genre shows up in the Albums tab and the songs show up in the Songs tab. The album also shows up after selecting the artist in the Artists tab, but does not show up in Genres.
    There are 2 songs in this genre, but they are my favorite and I want to be able to get to them quickly. ^.^
    The genre does show up in iTunes, Windows Media Player, and the Meta Data is all there when I look at the properties of the files. I can't seem to find out what other differences the working genres' and the non-working genre's songs have except that they have different genres.
    Every song on my Ipad has the same Artist. <<<<(If that helps....)
    Thank you for your help, whoever helps.

    This may be an issue with the ID3 tag format standards and Apple can't change those. But you can ask:
    https://www.apple.com/feedback/ipad.html

  • F-26  Customer code not showing on clearing document

    Hello,
    I usually run transaction F-26 to do customer clearings.
    I dont know what happened for this customer that when I simulate the clearing document the customer line disappear.
    The document is cleared normally but the customer code line item does not show on the clearing document (type "CM"-cheque)
    PS: When I run F-26 I insert any bank account and amount 0.00 just to specify  the document numbers on "additional selections"
    I dont know why this happened just this time. I´ve analyzed customer master data on XD03 but I dont know if its something related to this.
    What else could I check ?
    Thanks,
    Alex

    Hi Kyoko,
    I agree with you that system probably is working as intended, and also I don't think F-26 is the ideal transaction for this.  Probably F-13 is more appropriated.
    Anyway, the 2 documents for customer "Y" are with zero balance clearing too (the same as customer "X") but the customer line item appears on the clearing document.
    We usually run F-26 to clear more than 2 customers also. We inform the document numbers on additional selection.
    So I still need to know why the item line for customer "X" did not appear on clearing document
    Regards,
    Alex

  • Link not showing hand icon when mouse over

    I am creating an image gallery and have thumbnails that open
    in a separate window to a larger version of the image.
    The links are working, but when you put the mouse over the
    image the little hand does not appear to show it is a link, if you
    click it works and the image opens, but the hand does not show,
    what have I done wrong.

    This implies that you have applied the behavior directly to
    the <img> tag,
    when you should have applied it to an anchor tag surrounding
    the <img> tag,
    e.g.,
    this - <a href="javascript:;"
    onclick="whatever"><img src="whatever"...></a>
    rather than this - <img onclick="whatever"
    src="whatever"...>
    You can get this by manually creating it, or by selecting the
    image,
    removing the behavior, then entering "javascript:;" (without
    the quotes) in
    the Link field of the Property inspector. This will wrap the
    <img> tag with
    the anchor. Now select the <a> on the Tag selector, and
    apply your
    behavior.
    As you can see, familiarity with HTML (and CSS) will come in
    quite handy
    when working with DW.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "PosterP" <[email protected]> wrote in
    message
    news:g49sdk$gtp$[email protected]..
    >I am creating an image gallery and have thumbnails that
    open in a separate
    > window to a larger version of the image.
    >
    > The links are working, but when you put the mouse over
    the image the
    > little
    > hand does not appear to show it is a link, if you click
    it works and the
    > image
    > opens, but the hand does not show, what have I done
    wrong.
    >

Maybe you are looking for

  • ITunes won't recognise my music files!

    Hey everyone- I've loaded all my music files and old iTunes library onto my new computer and in the itunes music folder. However when i go to listen to a song iTunes says that it cannot find the song, or the folder has been moved and would i like to

  • Checking the size of the image..

    Hi All, i have attached am image from using attachments functionality from Purchasing module. the image get stored in table fnd_lobs.. Now i want to know the size of the image.. whether it is 30kb or 1MB.. Is there any function in Oracle to calculate

  • Oracle9i: Formatting XML Tags

    Is there any way to select the XML out of the database and format ALL the tags? I seem to be able to format only the top level tag with the use of sys.xmlgenformatType.createFormat(). Unfortunately, we have our own set of tags we use so I need to be

  • Iphone4s battery keeps draining....

    ....i have not changed any of my settings and it started doing this after the ios6.1 update....PLEASE HELP!!  It will drain the battery just sitting there.  I don't have my email on push, wifi is not on, and I have limited what I have location servic

  • I can't click anything when i start Firefox up...

    I've had mozilla firefox for quite a while now and i've never had any trouble until now... when i start firefox up i can do NOTHING i cant write click anything or even use short bcommands. Its just like a picture (with some moving things) that i can'