Button focus if rollover for 3 seconds

Hi all,
Is it possible to achieve the same effect as clicking a
button by holding the cursor over it for a few seconds? If so, how
would I achieve this?
Many thanks,
Paul

NOT TESTED === NO FLASH ON THIS COMPUTER.
But you want something that will start a timer on you
rollover, fire another
event after three seconds, and quit the timer when it reashes
3 seconds or
when you roll out.
myMovieClip.onRelease = handleRelease;
myMovieClip.onRollOver = handleRollover;
myMovieClip.onRollOut = handleRollout;
var mydate = new Date();
function handleRollover() {
var mytime = mydate.getTime();
this.onEnterFrame = fucntion() {
if (mydate.getTime() - mytime > 3000) {
this.handleRelease();
delete this.onEnterFrame;
function handleRollout() {
delete this.onEnterFrame;
function handleRelease() {
trace("It worked");
"Outside5.com" <[email protected]> wrote in
message
news:euj727$lcl$[email protected]..
> Hi all,
>
> Is it possible to achieve the same effect as clicking a
button by holding
> the cursor over it for a few seconds? If so, how would I
achieve this?
>
> Many thanks,
> Paul

Similar Messages

  • What settings do I use to back button focus set up for the d5 mark 3? TIA

    5D Mark 3
    Solved!
    Go to Solution.

    When you activate the menu, scroll over (using the dial on the front of the camera) to the orange "C.Fn2: Disp./Operation" menu. (that's the icon of a camera that has a index marks for a light meter below it -- right of the wrench icon, left of the star icon.)
    Each of those menu's on the 5D III have multiple pages.  It's the 2nd page (the 2nd dot from the left) that has the category for "Custom Controls".  Highlight that (using the dial on the back this time) and click the 'set' button.
    That brings up a menu showing each of the major controls on the back of the camera and what they do.  Highlight the icon for the shutter button (this only changes the behavior of a half-press) and change it from "Metering and AF start" to just "Metering start".
    The "AF-ON" button (on the back of your camera) is likely already set to "Metering and AF start" (I believe that's the factory default.)  
    So you're not so much enable back-button focus (which is already probably active)... you're more "disabling" the focus when  the shutter button is pressed half-way.
    Good luck
    Tim Campbell
    5D II, 5D III, 60Da

  • My iPad won't charge after plugging into my computer and after holding down the power and home button at same time for 10 seconds- Can anybody help? Has IOS7.0 but the most up-to-date version

    My iPad won't charge after plugging into my computer and after holding down the power and home button at same time for 10 seconds… Can anybody help? Has IOS7.0 but not the most up-to-date version

    It's just the battery sign - nothing else. I've tried to reboot by holding down both power and home key for 10+ seconds, waiting for the apple logo - but nothing happens. It's plugged into the imac at the moment. I tried to recharge it overnight using the normal charger - but no luck. It went dead during a Skype call with a friend - even though it was powered into the mains - albeit at a low battery level at the time

  • My imac (intel core i5, OS 10.10.1) shuts down every night and will not "wake up" next morning -- it never used to do that -- if I hold down the start button more than twice for many seconds, then it will finally boot up and works fine all day – I've

    my imac (intel core i5, OS 10.10.1) shuts down every night and will not "wake up" next morning -- it never used to do that -- if I hold down the start button more than twice for many seconds, then it will finally boot up and works fine all day – I’ve tried shutting it down and unplugging it, and that does not work -- I’ve run disk utilities checked permissions, and run anti-virus and get no adverse results – I cannot figure out what is different that causes this problem

    From previous experience 3 indicates a shutdown initiated by the SMC (System Management Controller) — hardware responsible for many low-level functions including power, sleep, lights, and fan activity.
    Try resetting it:
    Power or other problems related to unexpected system sleep, shutdown, lights or fans call for an SMC reset. Read all the steps.
    Before Resetting the SMC
    Try each of the following steps in this order before you reset the SMC. Test the issue after completing each troubleshooting step to determine if the issue still occurs.
    Press Command + Option + Escape to force quit any application that is not responding.
    Put your Mac to sleep by choosing the Apple () menu from the upper-left menu bar and then choosing Sleep. Wake the computer after it has gone to sleep.
    Restart your Mac by choosing the Apple () menu from the upper-left menu bar and then choosing Restart.
    Shut down your Mac by choosing the Apple () menu from the upper-left menu bar and then choosing Shut Down.
    Resetting the SMC for Mac Pro, Intel-based iMac, Intel-based Mac mini, or Intel-based Xserve
    Shut down the computer.
    Unplug the computer's power cord.
    Wait fifteen seconds.
    Attach the computer's power cord.
    Wait five seconds, then press the power button to turn on the computer.

  • Back button focusing for 5d Mark III. How do I set it up?

    How do I set up Back Button focusing on my new 5D Mark III.  Can't find instructions in Canon supplied manual or third-party book.
    Solved!
    Go to Solution.

    It's really easy because it's mostly already set up... The AF-On button on the back of the camera already starts and stops AF.
    To set up true BBF technique, you turn off the AF function at the shutter button. I believe it's Custom Function IV, 1:  Opertaion/Others.... where you make button assignments.  Navigate to the shutter button icon and press "set" to enter the options for that... change to the center one "metering start" and press "set" again. Done.
    Optionally you can swap the function of the AF-On and "*" (AE Lock) buttons, using the same button assignment tool.
    Alan Myers
    San Jose, Calif., USA
    "Walk softly and carry a big lens."
    GEAR: 5DII, 7D(x2), 50D(x3), some other cameras, various lenses & accessories
    FLICKR & PRINTROOM 

  • TS2771 My daughters iPod touch does not turn on even after hooked up to charger for over 24 hours. Tried to hold the power button and home button at same time for 10 seconds and still did not turn on.

    My daughters iPod touch does not turn on even after hooked up to charger for over 24 hours. Tried to hold the power button and home button at same time for 10 seconds and still did not turn on.

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer                            
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar                              

  • I hit the power button and it runs for a second then turns off but the power buttton stays lit

    i hit the power button and it runs for a second then turns off but the power buttton stays lit

    What machine?
    Mac Pro? Mac Pro what?
    If Mac Pro, wrong forum. Go here:
    Mac Pro

  • Testing to see if a button has been pushed for a second time

    I am writing a calculator. and i need to know how to test if a button has already been pushed. here is my code:
    *Old School Calculator
    *@Collin Doering
    *Version 2.00
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class OSC implements ActionListener {
         private JButton b1, b2, b3, b4, b5, b6, b7, b8, b9, b0, bp, badd, bsub, be;
         private JTextField numbox;
         private int fnum = 0;
         private int snum = 0;
         final static String LOOKANDFEEL = null;
         public Component createComponents() {
              b1 = new JButton("1");
              b1.addActionListener(this);
              b2 = new JButton("2");
              b2.addActionListener(this);
              b3 = new JButton("3");
              b3.addActionListener(this);
              b4 = new JButton("4");
              b4.addActionListener(this);
              b5 = new JButton("5");
              b5.addActionListener(this);
              b6 = new JButton("6");
              b6.addActionListener(this);
              b7 = new JButton("7");
              b7.addActionListener(this);
              b8 = new JButton("8");
              b8.addActionListener(this);
              b9 = new JButton("9");
              b9.addActionListener(this);
              b0 = new JButton("0");
              b0.addActionListener(this);
              bp = new JButton(".");
              bp.addActionListener(this);
              badd = new JButton("+");
              badd.addActionListener(this);
              bsub = new JButton("-");
              bsub.addActionListener(this);
              be = new JButton("=");
              be.addActionListener(this);
              numbox  = new JTextField( 5 ) ;
            numbox.setText( "" );
            numbox.setEditable( false );
            numbox.setBackground( Color.white );
            numbox.setHorizontalAlignment( JTextField.CENTER );
              JPanel pane = new JPanel(new GridLayout(4, 4));
            pane.add(numbox);
            pane.add(b1);
            pane.add(b2);
            pane.add(b3);
            pane.add(badd);
            pane.add(b4);
            pane.add(b5);
            pane.add(b6);
            pane.add(bsub);
            pane.add(b7);
            pane.add(b8);
            pane.add(b9);
            pane.add(be);
            pane.add(b0);
            pane.add(bp);
            pane.setBorder(BorderFactory.createEmptyBorder(
                                            30, //top
                                            30, //left
                                            10, //bottom
                                            30) //right
            return pane;
         public void actionPerformed(ActionEvent e) {
              if (e.getSource() == b1) {
                   fnum = 1;
                   numbox.setText("1");
                   if (e.getSource() == b1) {
                        fnum = 11;
                        numbox.setText("11");
                   if (e.getSource() == b2) {
                        fnum = 12;
                        numbox.setText("12");
              if (e.getSource() == b2) {
                   fnum = 2;
                   numbox.setText("2");
              if (e.getSource() == b3) {
                   fnum = 3;
                   numbox.setText("3");
              if (e.getSource() == b4) {
                   fnum = 4;
                   numbox.setText("4");
              if (e.getSource() == b5) {
                   fnum = 5;
                   numbox.setText("5");
              if (e.getSource() == b6) {
                   fnum = 6;
                   numbox.setText("6");
              if (e.getSource() == b7) {
                   fnum = 7;
                   numbox.setText("7");
              if (e.getSource() == b8) {
                   fnum = 8;
                   numbox.setText("8");
              if (e.getSource() == b9) {
                   fnum = 9;
                   numbox.setText("9");
              if (e.getSource() == b0) {
                   fnum = 0;
                   numbox.setText("0");
              if (e.getSource() == bp) {
                   fnum = 0;
                   numbox.setText("0.");
              if (e.getSource() == badd) {
                   fnum = 0;
                   numbox.setText("N/A");
              if (e.getSource() == bsub) {
                   fnum = 0;
                   numbox.setText("N/A");
              if (e.getSource() == be) {
                   fnum = 0;
                   numbox.setText("N/A");
         private static void initLookAndFeel() {
            String lookAndFeel = null;
            if (LOOKANDFEEL != null) {
                if (LOOKANDFEEL.equals("Metal")) {
                    lookAndFeel = UIManager.getCrossPlatformLookAndFeelClassName();
                } else if (LOOKANDFEEL.equals("System")) {
                    lookAndFeel = UIManager.getSystemLookAndFeelClassName();
                } else if (LOOKANDFEEL.equals("Motif")) {
                    lookAndFeel = "com.sun.java.swing.plaf.motif.MotifLookAndFeel";
                } else if (LOOKANDFEEL.equals("GTK+")) { //new in 1.4.2
                    lookAndFeel = "com.sun.java.swing.plaf.gtk.GTKLookAndFeel";
                } else {
                    System.err.println("Unexpected value of LOOKANDFEEL specified: "
                                       + LOOKANDFEEL);
                    lookAndFeel = UIManager.getCrossPlatformLookAndFeelClassName();
                try {
                    UIManager.setLookAndFeel(lookAndFeel);
                } catch (ClassNotFoundException e) {
                    System.err.println("Couldn't find class for specified look and feel:"
                                       + lookAndFeel);
                    System.err.println("Did you include the L&F library in the class path?");
                    System.err.println("Using the default look and feel.");
                } catch (UnsupportedLookAndFeelException e) {
                    System.err.println("Can't use the specified look and feel ("
                                       + lookAndFeel
                                       + ") on this platform.");
                    System.err.println("Using the default look and feel.");
                } catch (Exception e) {
                    System.err.println("Couldn't get specified look and feel ("
                                       + lookAndFeel
                                       + "), for some reason.");
                    System.err.println("Using the default look and feel.");
                    e.printStackTrace();
        private static void createAndShowGUI() {
            initLookAndFeel();
            JFrame.setDefaultLookAndFeelDecorated(true);
            JFrame frame = new JFrame("SwingApplication");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            OSC app = new OSC();
            Component contents = app.createComponents();
            frame.getContentPane().add(contents, BorderLayout.CENTER);
            frame.pack();
            frame.setVisible(true);
        public static void main(String[] args) {
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
    }then when i push my button 1 it outputs 11. I know why but what i am trying to do is when 1 is pushed once the variable fnum = 1; but what is hapening is when the button is pushed once it outputs 11 because i don't know. Could some one please help me :) thanx.

    I am writing a calculator. and i need to know how to test if a button has already been pushed. here is my code:I don't know why you care if a button has been pressed more than once.
    IT IS NOT A SCHOOL PROJECT I AM IN IN NO PROGRAMMING CLASS UNTIL
    NEXT YEAR!! I do talk to the programmin gteacher at my school often i am
    doing gr.12 work. i am in gr.9. so could you help me. the programming teacher
    (Mr.Philino) hurt his back so he won't be in and i can't do anything until i find
    this out. THANX!! Obviously you are not yet mature enough to be doing grade 12 work and frankly, I'm getting tired of your attitude. We don't care what grade you are in or what has happened to your teacher. We are not here to babysit you. So grow up act like an adult and maybe people will continue to help. Changing your userid would be a good start so people don't know who you are.
    Here is one last attempt at helping:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class ButtonCalculator extends JFrame implements ActionListener
         private JButton[] buttons;
         private JTextField display;
         public ButtonCalculator()
              display = new JTextField();
              display.setEditable( false );
              display.setHorizontalAlignment(JTextField.RIGHT);
              JPanel buttonPanel = new JPanel();
              buttonPanel.setLayout( new GridLayout(0, 5) );
              buttons = new JButton[10];
              for (int i = 0; i < buttons.length; i++)
                   String text = String.valueOf(i);
                   JButton button = new JButton( text );
                   button.addActionListener( this );
                   button.setMnemonic( text.charAt(0) );
                   buttons[i] = button;
                   buttonPanel.add( button );
              getContentPane().add(display, BorderLayout.NORTH);
              getContentPane().add(buttonPanel, BorderLayout.SOUTH);
              setResizable( false );
         public void actionPerformed(ActionEvent e)
              JButton source = (JButton)e.getSource();
              display.replaceSelection( source.getActionCommand() );
         public static void main(String[] args)
              ButtonCalculator frame = new ButtonCalculator();
              frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
              frame.pack();
              frame.setLocationRelativeTo( null );
              frame.setVisible(true);
    }

  • I dropped my iphone (not from a great height) and now it won't turn on however when I plug it in the white apple shows on my screen. My lock button has been broken for awhile so I can't even try switch it on!

    What can I do? I dropped my iphone (not from a great height) and now it won't turn on however when I plug it in the white apple shows on my screen. My lock button has been broken for awhile so I can't even try switch it on!

    Once you have a proven, working Charger... Charge the Device for a couple of hours. Then try to turn it on.
    If no joy...
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...
    If the issue persists...
    Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...
    Be sure to make an appointment first...

  • My iPhone's screen black, it does not work and I tied to hold press power and home press but it did not work? By the way for seconds I saw iTunes cabal  simple, but unfortunately, I do not have backup for my iPhone in my mac, so how can I restore my iphon

    My iPhone's screen black, it does not work and I tied to hold press power and home press but it did not work? By the way for seconds I saw iTunes cabal  simple, but unfortunately, I do not have backup for my iPhone in my mac, so how can I restore my iphone without loss my date?
    Thanks

    lbryan1987 wrote:
    I dont want the button problem solved i need to know how to restore the phone without using that button or going into settings
    You don't in the condition it's in. You will either have to get the phone replaced by Apple or pay a 3rd party to repair it.
    there seriously should be more than two ways to solve this other wise apple is useless and we will never buy another apple product.
    Seriously? It's physically broken!

  • How can we process the CRM Order again for second time in debugging mode

    Hi,
    Can anybody please tell me how can we process the CRM ORDER for second time.  that I want to process in debugging mode.
    Thanks,
    bsv

    Hi bsv,
    Are you trying to reprocess a BDOC for debugging purpose?
    If the BDOC is not with a final status, you will be able to reprocess it using the reprocess button in the smw01 search result list.
    And you may put /h on the popup when you click on the 'reprocess' button.
    If it is allowed to make some changes in the CRM ORDER for testin purpose, it would be easier to perform debugging.
    A more 'careless' way is to deactivate the outbound or inbound queue in transaction smqs or smqr, then in smq1 or smq2 to locate the interested queue, and click on button 'debug LUW'.
    Hongyan

  • ALL the Icons disappear for seconds after using five-finger-gesture and swipe to another page in the home screen

    Hello,
    iPad Air, 8.1.2
    This issue has been making me annoyed for a long time...
    You can find the bug by following steps:
    1). Go to Settings APP.
    2). Use five-finger-gesture to close this APP, and quickly swipe to another page of home screen before the icons in the current page haven't dropped down.( I mean...The animation that likes icons dropping down)
    3). You can see ALL the icons will disappear for seconds.
    I've restored the firmware again and again, but it doesn't helped at all...
    And if I turn on the "reduce motion" option, the icons won't disappear.
    And...Some little bugs:
    1) In APP switcher, when swiping up to close APPs, the icon's animation is lost. (I mean...The icons shouldn't disappear without any animations. In iOS7, the icons should have a "closing animation"
    2)In lock screen, press the power button with a very high speed, and you will see the "time" in the lock screen is being appeared and disappeared, appeared and disappeared, appeared and disappeared...
    I hope you can understand me, I'm sorry for my bad English, I'm a middle school student in China, and I have to report these bugs.

    I am not seeing that problem, however, this is a user forum. You aren't talking to Apple here.
    if you want to report a problem to Apple use this: http://www.apple.com/feedback/ipad.html

  • Active Focal Point Not Shown in Software Using Back Button Focus

    I use Back Button Focus (BBF) and set the focus point (using center spot).
    In the software (DPP, ZoomBrowser or EOS Utility) the point I selected is not highlighted in the view window.
    All points are shown, but none highlighted.
    If I take the same shot using default focus method (shutter button AF), the point is highlighted .
    Why is this?
    Not too technical, please
    Canon 3Ti, EF 50mm f/1.4 USM, EF-S 18-55mm f/3.5-5.6 IS II, EF-S 55-250mm f/4-5.6 IS II, 320EX Speedlite

    Thanks.
    I did just download and install the updates (DPP, EOS, Picture Style Editor and Zoom Browser).
    Still no red focus point(s) shown with Back-button Focusing.
    I searched on the web for this "symptom" and found, that I'm not alone.
    It seems in Back-Button Focusing, the focus point won't be displayed unless you hold the back button down (* button  in my case) while pressing the shutter button.
    I tried holding the * button while taking a shot and yes the red box shows up.
    This seems like defeating the usefulness of back button focusing. (???).
    What do I know? I'm just a newbie.
    Canon 3Ti, EF 50mm f/1.4 USM, EF-S 18-55mm f/3.5-5.6 IS II, EF-S 55-250mm f/4-5.6 IS II, 320EX Speedlite

  • Error while installing peopleTolls Not asking for Second Cd in 8.49

    Hi,
    I have installed database 11g, Tuxedo 9.1, Web logic 9.2 on Windows 7 home premium.
    I started with the first cd of peopletools 8.49 then after this 1005 completion of first cd a finish button
    appeared i clicked that but than after it is not asking for second cd.
    Please help me for this.
    Thanks in Advance!!!!
    thanks,
    Amit

    i guess windows 7 home premium is not a supported version for PeopleTools. Win XP or 2003 versions are most supported versions.
    create a VM ware env and try installing using that.

  • Back button focusing with the 6D

    I cannot get my 6D's back button focus (AF-ON) to work.  After following directions on Canon's website on how to set it up, the button just does not do anything.  Auto focus only works  with the shutter button.  I have the function set to "P" which I understood to be o.k.  Would resetting the camera to factory default help?  I would prefer not to have to send the camera to Canon for a one button repair.  The camera body was purchased new and is still under warranty.
    Thanks
    Solved!
    Go to Solution.

    It's super easy to set up BBF on a 6D....
    If you have already been changing some things and are unsure which ones, you might want to reset all the Custom Functions to factory default, before starting. (Note: There is a way to view which C.Fns are set and to what each is assigned... As you enter each of the four C.Fn groups, note the list in the lower LH corner of the LCD screen, that shows all the C.Fns in that group at a glance. The top line is the C.Fn number, the bottom line is the setting for each C.Fn.)
    To set up BBF....
    All you have to do is go into the menu, Custom Functions, C.Fn III-5, operations/others, button assignments. Select and enter that and then press "set" and this should take you right to the top of the LH column, which is a graphic illustration of the shutter release button. Press set again to enter this, then scroll to select the center option "start metering" and press "set" once more to select this choice, then press "menu" button several times to back out of the menus. Done!
    What this does is remove AF start from the shutter release button.  By default it's already assigned to the AF-On button on the back of the camera too, so BBF is set up and ready to use as soon as you remove it from the shutter release button.
    Metering and Image Stabilization will continue to start with a half press of the shutter release button or whenever you press the AF-On button. But AF will  only start with your thumb on the AF-On button. Using BBF, you now can use AI Servo most of the time, for stationary or moving subjects. If you want to "focus and recompose", simply focus and then lift your thumb off the AF-On button to leave focus where it is and recompose as you see fit. (Without BBF, you cannot do focus and recompose.... it will cause mis-focused shots.) You still might want to switch back to One Shot when you want high precision focus with stationary subjects.
    There is another option you may want to consider...
    Using the same Custom Function III-5, if you prefer you can swap the functions of the AF-On and * (AE Lock) buttons. I do this on my cameras for a couple reasons: One is that the * button is larger, more prominent, and closer to my thumb... so I prefer to use it for focusing. The other reason is that older Canon models that didn't have the AF-On button, you had to use the * button and that's the way I learned to use BBF (Note: In some cases there was an AF-On button on the body but not on the vertical grip, while older cameras simply didn't have an AF-On button at all, on the body or the grip).
    Alan Myers
    San Jose, Calif., USA
    "Walk softly and carry a big lens."
    GEAR: 5DII, 7D(x2), 50D(x3), some other cameras, various lenses & accessories
    FLICKR & PRINTROOM 

Maybe you are looking for