Getting fireworks button to work in dreamweaver

I created a fireworks CS5 button with only up and over state. I exported it as HTML and even previewed the html in browser, it worked fine. But when I insert>images object>Fireworks html in the dreamweaver and preview it neither in live view or broswer, the button can't work. I have previously got it to work in dreamweaver but i don't what I did and it cant work anymore. Please help~!!! Thanks.

I created a fireworks CS5 button with only up and over state. I exported it as HTML and even previewed the html in browser, it worked fine. But when I insert>images object>Fireworks html in the dreamweaver and preview it neither in live view or broswer, the button can't work. I have previously got it to work in dreamweaver but i don't what I did and it cant work anymore. Please help~!!! Thanks.

Similar Messages

  • Menu bar created in fireworks cs6 doesnt work in dreamweaver cs6

    A menu bar that i created in fireworks cs6 doesnt work in dreamweaver cs6 loss of all behaviours etc works in preview in fireworks just seems that the code in dreamweaver doesnt want to play ball...
    <div id="FWTableContainer1659288869">
          <table style="display: inline-table;" border="0" cellpadding="0" cellspacing="0" width="762">
            <!-- fwtable fwsrc="Menu_front.fw.png" fwpage="Page 1" fwbase="Menu_front.gif" fwstyle="Dreamweaver" fwdocid = "1659288869" fwnested="0" -->
            <tr>
              <!-- Shim row, height 1. -->
              <td><img src="MENU_BARS/spacer.gif" width="100" height="1" alt="" /></td>
              <td><img src="MENU_BARS/spacer.gif" width="2" height="1" alt="" /></td>
              <td><img src="MENU_BARS/spacer.gif" width="150" height="1" alt="" /></td>
              <td><img src="MENU_BARS/spacer.gif" width="2" height="1" alt="" /></td>
              <td><img src="MENU_BARS/spacer.gif" width="100" height="1" alt="" /></td>
              <td><img src="MENU_BARS/spacer.gif" width="2" height="1" alt="" /></td>
              <td><img src="MENU_BARS/spacer.gif" width="100" height="1" alt="" /></td>
              <td><img src="MENU_BARS/spacer.gif" width="2" height="1" alt="" /></td>
              <td><img src="MENU_BARS/spacer.gif" width="100" height="1" alt="" /></td>
              <td><img src="MENU_BARS/spacer.gif" width="2" height="1" alt="" /></td>
              <td><img src="MENU_BARS/spacer.gif" width="100" height="1" alt="" /></td>
              <td><img src="MENU_BARS/spacer.gif" width="2" height="1" alt="" /></td>
              <td><img src="MENU_BARS/spacer.gif" width="100" height="1" alt="" /></td>
              <td><img src="MENU_BARS/spacer.gif" width="1" height="1" alt="" /></td>
            </tr>
            <tr>
              <!-- row 1 -->
              <td><a href="javascript:;" onmouseout="MM_nbGroup('out');" onmouseover="MM_nbGroup('over','Menu_front_r1_c1','MENU_BARS/Menu_front_r1_c1_s2.gif','ME NU_BARS/Menu_front_r1_c1_s4.gif',1);" onclick="MM_nbGroup('down','navbar1','Menu_front_r1_c1','MENU_BARS/Menu_front_r1_c1_s3.gi f',1);"><img name="Menu_front_r1_c1" src="MENU_BARS/Menu_front_r1_c1.gif" width="100" height="30" id="Menu_front_r1_c1" alt="" /></a></td>
              <td><img name="Menu_front_r1_c2" src="MENU_BARS/Menu_front_r1_c2.gif" width="2" height="30" id="Menu_front_r1_c2" alt="" /></td>
              <td><a href="javascript:;" onmouseout="MM_nbGroup('out');" onmouseover="MM_nbGroup('over','Menu_front_r1_c3','MENU_BARS/Menu_front_r1_c3_s2.gif','ME NU_BARS/Menu_front_r1_c3_s4.gif',1);" onclick="MM_nbGroup('down','navbar1','Menu_front_r1_c3','MENU_BARS/Menu_front_r1_c3_s3.gi f',1);"><img name="Menu_front_r1_c3" src="MENU_BARS/Menu_front_r1_c3.gif" width="150" height="30" id="Menu_front_r1_c3" alt="" /></a></td>
              <td><img name="Menu_front_r1_c4" src="MENU_BARS/Menu_front_r1_c4.gif" width="2" height="30" id="Menu_front_r1_c4" alt="" /></td>
              <td><a href="javascript:;" onmouseout="MM_nbGroup('out');" onmouseover="MM_nbGroup('over','Menu_front_r1_c5','MENU_BARS/Menu_front_r1_c5_s2.gif','ME NU_BARS/Menu_front_r1_c5_s4.gif',1);" onclick="MM_nbGroup('down','navbar1','Menu_front_r1_c5','MENU_BARS/Menu_front_r1_c5_s3.gi f',1);"><img name="Menu_front_r1_c5" src="MENU_BARS/Menu_front_r1_c5.gif" width="100" height="30" id="Menu_front_r1_c5" alt="" /></a></td>
              <td><img name="Menu_front_r1_c6" src="MENU_BARS/Menu_front_r1_c6.gif" width="2" height="30" id="Menu_front_r1_c6" alt="" /></td>
              <td><a href="javascript:;" onmouseout="MM_nbGroup('out');" onmouseover="MM_nbGroup('over','Menu_front_r1_c7','MENU_BARS/Menu_front_r1_c7_s2.gif','ME NU_BARS/Menu_front_r1_c7_s4.gif',1);" onclick="MM_nbGroup('down','navbar1','Menu_front_r1_c7','MENU_BARS/Menu_front_r1_c7_s3.gi f',1);"><img name="Menu_front_r1_c7" src="MENU_BARS/Menu_front_r1_c7.gif" width="100" height="30" id="Menu_front_r1_c7" alt="" /></a></td>
              <td><img name="Menu_front_r1_c8" src="MENU_BARS/Menu_front_r1_c8.gif" width="2" height="30" id="Menu_front_r1_c8" alt="" /></td>
              <td><a href="javascript:;" onmouseout="MM_nbGroup('out');MM_menuStartTimeout(500);" onmouseover="MM_menuShowMenu('MMMenuContainer0722143726_0', 'MMMenu0722143726_0',50,25,'Menu_front_r1_c9');MM_nbGroup('over','Menu_front_r1_c9','MENU _BARS/Menu_front_r1_c9_s2.gif','MENU_BARS/Menu_front_r1_c9_s4.gif',1);" onclick="MM_nbGroup('down','navbar1','Menu_front_r1_c9','MENU_BARS/Menu_front_r1_c9_s3.gi f',1);"><img name="Menu_front_r1_c9" src="MENU_BARS/Menu_front_r1_c9.gif" width="100" height="30" id="Menu_front_r1_c9" alt="" /></a></td>
              <td><img name="Menu_front_r1_c10" src="MENU_BARS/Menu_front_r1_c10.gif" width="2" height="30" id="Menu_front_r1_c10" alt="" /></td>
              <td><a href="javascript:;" onmouseout="MM_nbGroup('out');" onmouseover="MM_nbGroup('over','Menu_front_r1_c11','MENU_BARS/Menu_front_r1_c11_s2.gif',' MENU_BARS/Menu_front_r1_c11_s4.gif',1);" onclick="MM_nbGroup('down','navbar1','Menu_front_r1_c11','MENU_BARS/Menu_front_r1_c11_s3. gif',1);"><img name="Menu_front_r1_c11" src="MENU_BARS/Menu_front_r1_c11.gif" width="100" height="30" id="Menu_front_r1_c11" alt="" /></a></td>
              <td><img name="Menu_front_r1_c12" src="MENU_BARS/Menu_front_r1_c12.gif" width="2" height="30" id="Menu_front_r1_c12" alt="" /></td>
              <td><a href="javascript:;" onmouseout="MM_nbGroup('out');" onmouseover="MM_nbGroup('over','Menu_front_r1_c13','MENU_BARS/Menu_front_r1_c13_s2.gif',' MENU_BARS/Menu_front_r1_c13_s4.gif',1);" onclick="MM_nbGroup('down','navbar1','Menu_front_r1_c13','MENU_BARS/Menu_front_r1_c13_s3. gif',1);"><img name="Menu_front_r1_c13" src="MENU_BARS/Menu_front_r1_c13.gif" width="100" height="30" id="Menu_front_r1_c13" alt="" /></a></td>
              <td><img src="MENU_BARS/spacer.gif" width="1" height="30" alt="" /></td>
            </tr>
            <!--   This table was automatically created with Adobe Fireworks   -->
            <!--   http://www.adobe.com   -->
          </table>
          <div id="MMMenuContainer0722143726_0">
            <div id="MMMenu0722143726_0" onmouseout="MM_menuStartTimeout(500);" onmouseover="MM_menuResetTimeout();"> <a href="javascript:;" id="MMMenu0722143726_0_Item_0" class="MMMIFVStyleMMMenu0722143726_0" onmouseover="MM_menuOverMenuItem('MMMenu0722143726_0');"> Links </a> <a href="javascript:;" id="MMMenu0722143726_0_Item_1" class="MMMIVStyleMMMenu0722143726_0" onmouseover="MM_menuOverMenuItem('MMMenu0722143726_0');"> FAQ's </a> </div>
          </div>
        </div>

    Thanks Ken,
         I appreciate you looking at this.
    Basically im trying to create it on percentage width and centred within the container, if that makes any sense.
    Darren
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Chiltern Home Care</title>
    <link href="chc_style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    .style2 {font-family: Verdana, Arial, Helvetica, sans-serif}td img {display: block;}td img {display: block;}
    body {
        background-image: url(CHC_BACK2.jpg);
        background-size: cover;
        height: 100%;
        width: 100%;
        background-repeat: no-repeat;
        background-attachment: fixed;
    body,td,th {
        font-family: Verdana, Geneva, sans-serif;
        font-size: 100%;
    </style>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <script language="JavaScript1.2" type="text/javascript" src="MENU_BARS/mm_css_menu.js"></script>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    </head>
    <script language="javascript1.2" type="text/javascript" src=""></script>
    <body>
    <div class="container">
      <div class="banner">
        <div class="menu_bar">
          <ul id="MenuBar1" class="MenuBarHorizontal">
            <li><a href="#">Services</a></li>
            <li><a href="#">Getting Started</a></li>
            <li><a href="#">Funding</a></li>
            <li><a href="#">Our Carers</a></li>
            <li><a href="#" class="MenuBarItemSubmenu">Links &amp; FAQ's</a>
              <ul>
                <li><a href="#">Links</a></li>
                <li><a href="#">FAQ's</a></li>
              </ul>
            </li>
            <li><a href="#">Work for Us</a></li>
            <li><a href="#">Contact Us</a></li>
          </ul>
        </div>
    <div class="care_text">Care for you or your family shouldn't cost the earth.</div>
    <div class="logo_text">Chiltern Home Care    </div>
        <div class="call_us"> Contact us to discuss<br />YOUR care needs<br />TEL: ***** ******<br />[email protected] </div>
      </div>
      <div class="main">
        <div align="center">Content for  class "main" Goes Here</div>
      </div>
      <div class="footer">
        <div class="copyright">Copyright &copy; Chiltern Home Care Limited 2013 All Rights Reserved</div>
        <div class="cqc_logo"></div>
      </div>
    </div>
    </div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>
    CSS
    .Main_head {
        height: 81px;
        width: 383px;
        position: absolute;
        left: 590px;
        top: 220px;
        background-color: #64a377;
        border-radius: 20px;
    .banner {
        float: left;
        height: 260px;
        width: 100%;
        visibility: visible;
        position: fixed;
        z-index: 1000000;
        background-color: #64a4eb;
        top: 0px;
        left: 0px;
    .main {
        float:left
        height: 600px;
        width: 980px;
        height: 1200px;
        position: relative;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 14px;
        -moz-border-radius-topright: 80px;
        -moz-border-radius-bottomleft: 80px;
        -moz-border-radius-topleft: 10px;
        -moz-border-radius-bottomright: 10px;
        top: 285.px;
        border-bottom-left-radius: 40px;
        border-bottom-right-radius: 10px;
        border-top-left-radius: 10px;
        border-top-right-radius: 40px;
        background-color: #64a377;
        top: 390px;
        margin: 0px auto;
    .logo {
        float: none;
        height: 150px;
        width: 150px;
        position: absolute;
        z-index: auto;
        top: 6px;
        background-repeat: no-repeat;
        background-position: center;
        visibility: visible;
        left: 1px;
        background-image: url(../../CHILTERN%20HOME%20CARE/MEDIA/CHC_Logo_perfect_Vector.gif);
    .logo_text {
        position: absolute;
        width: 80%;
        height: 116px;
        visibility: visible;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-style: normal;
        font-size: 350%;
        text-align: left;
        font-weight: normal;
        color: #FFF;
        text-shadow: 0px 5px #000000;
        left: 15%;
        top: 17px;
        float: left;
    .cqc_logo {
        height: 46px;
        width: 120px;
        position: absolute;
        background-repeat: no-repeat;
        background-color: #FFF;
        background-image: url(CQC%20Logo.jpg);
        z-index: 30;
        left: 848px;
        bottom: 11px;
    .menu_bar {
        width: 100%;
        height: auto;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 18pt;
        font-weight: bolder;
        visibility: visible;
        text-align: center;
        left: 1px;
        position: absolute;
        top: 199px;
    .h6 {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 150%;
        font-style: normal;
        color: #FFFFFF;
        position: absolute;
        left: 150px;
        top: 120px;
        width: 637px;
        float: left;
        visibility: visible;
        font-weight: normal;
        text-align: center;
        height: 34px;
    .footer {
        height: 70px;
        width: 980px;
        position: relative;
        -moz-border-radius: 6px;
        border-radius: 6px;
        background-color: #64a377;
        margin: 0px auto;
    .container {
        height: 1900px;
        width: 100%;
        position: absolute;
        left: auto;
        top: 0%;
        right: auto;
    .copyright {
        height: 15px;
        width: 814px;
        position: absolute;
        visibility: visible;
        left: 1%;
        border-bottom-right-radius: 6px;
        border-bottom-left-radius: 6px;
        font-family: Verdana, Geneva, sans-serif;
        font-size: 100%;
        text-align: left;
        color: #000000;
        font-variant: normal;
        bottom: 3px;
        font-weight: bold;
    .main_head_left {
        height: 100px;
        width: 300px;
        position: absolute;
        left: 10px;
        top: 6px;
    .main_head_right {
        height: 100px;
        width: 300px;
        position: absolute;
        top: 6px;
        right: 28px;
        font-family: Verdana, Geneva, sans-serif;
        font-size: 28px;
        color: #ffffff;
        font-style: normal;
        text-align: center;
        vertical-align: top;
    .main_head_middle {
        height: 49px;
        width: 353px;
        position: absolute;
        top: 16px;
        font-family: Verdana, Geneva, sans-serif;
        font-size: 36px;
        color: #FFF;
        text-align: justify;
        right: 13px;
    .main_top_sm_l {
        height: 207px;
        width: 300px;
        left: 5px;
        top: 5px;
        position: absolute;
        visibility: visible;
        background-color: #990;
        text-align: center;
        vertical-align: middle;
    .main_left_full {
        height: 700px;
        width: 400px;
        position: absolute;
        visibility: visible;
        background-color: #C99;
        color: #ffffff;
        font-size: 16px;
        top: 2px;
        left: 10px;
    .main_right_full {
        height: 700px;
        width: 400px;
        position: absolute;
        visibility: visible;
        background-color: #C99;
        color: #ffffff;
        font-size: 16px;
        top: 3px;
        right: 28px;
    .call_us {
        height: 100px;
        width: auto;
        position: absolute;
        font-family: Verdana, Geneva, sans-serif;
        font-size: 100%;
        text-align: center;
        color: #FFF;
        font-weight: normal;
        background-color: #3488E4;
        border-radius: 20px;
        padding: 0.5%;
        left: 1077px;
        vertical-align: middle;
        text-shadow: none;
        top: 66px;
    .main_centre_full {
        background-color: #64a377;
        height: 97%;
        width: 98%;
        position: relative;
        top: 12px;
        margin: auto;
        border-radius: 20px;
    .care_text {
        font-family: Verdana, Geneva, sans-serif;
        font-size: 150%;
        color: #FFF;
        height: 32px;
        width: 80%;
        position: absolute;
        left: 8%;
        top: 135px;
        float: left;
        word-wrap: normal;
        text-align: center;
    .circle {
        background-color: #FFF;
        height: 300px;
        width: 300px;
        position: absolute;
        left: 1235px;
        top: 272px;
        border-radius: 200px;

  • Cannot Get Animated Buttons to Work in DPS (InDesign 6.0) Help Please!!

    In DPS tips, using the iPad app, some of the navigational buttons appear like SWF buttons, but, I cannot get SWF buttons to work in DPS. I have been trying with Multi-States, but, cannot get that to work either. Can you tell me how to get a SWF like button to work in DPS - I'm working with ID 6.0.
    Do you have an eaasy answer? Is there a tutorial out there I can view? Is their a step-by-step I can read?
    BTW, I do understand how buttons work and the types of events that work in DPS.
    Thank you
    Lain Kennedy

    Hi Uwe,
    First, let me say "I cannot even believe all the wonderful information I have recieved from my original post," and, I want to thank you for your understanding.
    I have been a designer for many years, working before the computer, and, since the mid 80's working with a variety of software to produce both print and web projects. I must say, I am biased on the Adobe Creative Suite, and, have had amazing success with these tools.
    Nonetheless, I have been working with DPS for about a month now (and a month does not make a career), and, have to admit, I am looking at DSP as a Hybrid between Print and Web. Yet, it is neither print or wed, it is it's own element, and, I'm just having growing pains learning, especially the terminology.
    Yes, I am trying to explain SWF Buttons, when in reality, it is DPS Buttons, and, my thinking is based on print and web. Now, it is - in some ways - like going back to school learning DPS and DSP terminology. It is a bit frustrating, but, I know I will get it.
    Now that I have looked at my first MSO test, I followed the instructions in DPS Tips, I realize that the Button is in the "Normal State" as I (interact, this is my terminology) touch or hover to make the button work. It is in the "Click" state that the Button triggers the MSO to work, and, I finally get that now - okay, I'm slow to learn. And, I will be building a complex MSO to prove the point to myself.
    I was wondering, besides DPS Tips, are there any books, apps, specific sites that are very specific on "ALL" the things one can do with DSP? 
    Again, thank you and, all the folks who have taken their time to respond to my post. All the information is truly appreciated.
    Sincerely,
    Lain Kennedy

  • Flash buttons dont work in Dreamweaver Preview

    I have made a intro using flash catalyst.  I can preview in internet explorer using flash catalyst and everything works great including all button actions taking you to a different url. I then publish to my website: I added ALL the exported webfiles into a folder in dreamweaver.  I than placed the main.swf on a  blank page.  It views perfect in Internet Explorer, Chrome, and Firefox.  The up and over state of all buttons works, but when you click the buttons that are supposed to take you to another URL nothing happens.   The buttons that change state do work completely however? I also opened the html file included from flash catalyst and it views fine as well, with the same result the url action buttons dont function.
    Thanks for any information I am new to dreamweaver.
    Andy

    Hi toodoo, What version of the flash plugin are you using and can you please provide an example url where this does not work?
    To make sure it is not an add on preventing the button from working you can also try safe mode.

  • I can't get my Button to work?

    Hello everyone,
    I been trying to get my Button working, but I don't understand what's wrong. I've tried a bunch of stuff, each with failure. Can any of you guys help me out here? I know that it's a little bit of a mess, but for some reason, it gives me a NullPointerException when I execute it. If I comment out 4 lines of code, about the getContentPane, it works without making a button. Problem is, I want to keep the Button in there. What should I do?
    Thanks
    import com.brackeen.javagamebook.graphics.ScreenManager;
    import com.brackeen.javagamebook.graphics.ScreenManager;
    import com.brackeen.javagamebook.sound.SoundManager;
    import com.brackeen.javagamebook.graphics.NullRepaintManager;
    import com.brackeen.javagamebook.input.*;
    import com.brackeen.javagamebook.input.GameAction;
    import com.brackeen.javagamebook.graphics.*;
    import com.brackeen.javagamebook.sound.*;
    import com.brackeen.javagamebook.test.GameCore;
    import java.util.List;
    import java.util.ArrayList;
    import javax.swing.border.Border;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.*;
    import java.io.File;
    import java.awt.event.KeyListener;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    import javax.swing.ImageIcon;
    import javax.swing.JFrame;
    import javax.sound.sampled.AudioFormat;
    import javax.sound.midi.Sequence;
    import java.applet.AudioClip;
    import javax.sound.midi.Sequencer;
    import java.awt.image.BufferStrategy;
    import java.awt.image.BufferedImage;
    import java.lang.reflect.InvocationTargetException;
    public class Graphic2 implements ActionListener
         public static void main(String[] args)
    new Graphic2().run();
    private JPanel startButtonSpace;
    private static final long DEMO_TIME = 30000;
    private static final String EXIT = "Exit";
    private ScreenManager screen;
    private ActionListener action;
    private Image Background, Title, Start;
    private boolean isRunning;
    private Sequence music;
    private SoundManager soundManager = new SoundManager(PLAYBACK_FORMAT);
    private MidiPlayer midiPlayer;
    private Sound titleMusic;
    //Uncompressed, 44100Hz, 16-bit, Sterio, Signed, Little-Endian
    private static final AudioFormat PLAYBACK_FORMAT =
    new AudioFormat(44100, 16, 2, true, false);
    protected InputManager inputManager;
    protected GameAction configAction;
    protected GameAction exit;
    private JButton startButton;
    private static final DisplayMode POSSIBLE_MODES[] = {
    new DisplayMode(1024, 768, 32, 0),
    new DisplayMode(1024, 768, 24, 0),
    new DisplayMode(1024, 768, 16, 0),
    new DisplayMode(800, 600, 32, 0),
    new DisplayMode(800, 600, 24, 0),
    new DisplayMode(800, 600, 16, 0)
    public void loadImages()
    // load images
    Background = loadImage("Title Screen.jpg");
    Title = loadImage("Title.gif");
    Start = loadImage("Start.gif");
    public Image loadImage(String fileName)
    return new ImageIcon(fileName).getImage();
    public void animationLoop()
    long startTime = System.currentTimeMillis();
    long currTime = startTime;
    while (isRunning)
    long elapsedTime = System.currentTimeMillis() - currTime;
    currTime += elapsedTime;
    // draw and update screen
    Graphics2D g = screen.getGraphics();
    draw(g);
    g.dispose();
    screen.update();
    // take a nap
    try
    Thread.sleep(20);
    catch (InterruptedException ex) { }
    public void initSounds()
    //midiPlayer = new MidiPlayer();
    titleMusic = soundManager.getSound("movie02.wav");
    //music = midiPlayer.getSequence("potc.mid");
    public void run()
         NullRepaintManager.install();
         isRunning = true;
         initSounds();
         NullRepaintManager.install();
         screen = new ScreenManager();
         JFrame frame = screen.getFullScreenWindow();
    // create buttons
    startButton = createButton("Start.gif");
    startButton.setLocation(460, 500);
    //frame.getContentPane().setLayout(new FlowLayout());
    //frame.getContentPane().add(startButton);
    try
    DisplayMode displayMode =
    screen.findFirstCompatibleMode(POSSIBLE_MODES);
    screen.setFullScreen(displayMode);
    loadImages();
    soundManager.play(titleMusic);
    //if (frame.getContentPane() instanceof JComponent)
         //((JComponent)frame.getContentPane()).setOpaque(false);
    animationLoop();
    finally
    screen.restoreScreen();
    soundManager.stop();
    frame.validate();
    Window window = screen.getFullScreenWindow();
         public void draw(Graphics2D g)
    // draw background
    g.drawImage(Background, 0, 0, null);
    // draw image
    g.drawImage(Title, 342, 244, null);
    //g.drawImage(Start, 460, 500, null);
    public void actionPerformed(ActionEvent e)
    Object src = e.getSource();
    if (src == startButton)
    exit.tap();
    public void checkSystemInput()
    if (exit.isPressed())
    stop();
    public void stop()
    isRunning = false;
    public void createGameActions()
    exit = new GameAction("exit",
    GameAction.DETECT_INITAL_PRESS_ONLY);
    inputManager.mapToKey(exit, KeyEvent.VK_ESCAPE);
    public JButton createButton(String name)
    // load the image
    String imagePath = name;
    ImageIcon iconRollover = new ImageIcon(imagePath);
    int w = iconRollover.getIconWidth();
    int h = iconRollover.getIconHeight();
    // get the cursor for this button
    Cursor cursor =
    Cursor.getPredefinedCursor(Cursor.HAND_CURSOR);
    // make translucent default image
    /*Image image = screen.createCompatibleImage(w, h);*/
    Graphics2D g = screen.getGraphics();
    /*g.drawImage(iconRollover.getImage(), 0, 0, null);*/
    // create the button
    JButton button = new JButton();
    button.addActionListener(this);
    button.setIgnoreRepaint(true);
    button.setFocusable(false);
    button.setBorder(null);
    button.setContentAreaFilled(false);
    button.setCursor(cursor);
    button.setIcon(iconRollover);
    button.setRolloverIcon(iconRollover);
    button.setPressedIcon(iconRollover);
    return button;
    }

    1) Swing related questions should be posted in the Swing forum
    2) Use the "code" formatting tags when posting code so the code is readable.
    3) Post [url http://www.physci.org/codes/sscce.jsp]Simple, Executable Sample that shows your problem. The code you posted uses non-standard API's so we can't execute your code to see the incorrect behaviour.
    4) Read the Swing tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/components/button.html]How to Use Buttons. Or maybe the section on "How to Use Layout Managers" will solve your problem. Either way read the tutorial.

  • 'Get Variant' button not working correctly for report

    Hi,
    I have created an internet service for a custom report.  For some reason, when I click the 'Get Variant' button I get a popup, but it does not have any entries to choose from.  It is blank.  In SE80, the button works correctly.  Any ideas?

    I figured it out myself.  I didn't have the parameter ~webgui set.

  • Why can't I get some buttons to work on websites? Need to enable something?

    Recently, I am not able to use certain portions of 3 websites that I used to be able to use. I can get to the pages, and some buttons/links work within pages, but when I try to click on some buttons on some pages, nothing happens at all. The computer is not frozen, I can do other things on the page. Example #1 - I was trying to access my photo albums at Snapfish.com but I cannot access my albums, or select albums to which I will download photos. #2. I was trying to create a gmail e-mail address. When I tried I had a message about enabling something. Didn't know what it meant or how to do that. Any ideas on what to adjust on my computer so that I can do what I used to be able to do?
    PowerBook G4 Titanium   Mac OS X (10.2.x)   768 MB Ram

    Which browser are you using? Do you have Enable Java checked in it's preferences? When you get a message it's a good idea to write down exactly what it says rather than dismiss it and wonder later what it said about something.

  • TWC Roadrunner "get mail" button not working in Mail client

    Roadrunner "Get Mail" button doesn't work in Mail client 10.4.6 on iMac Intel dual core running 10.6.8 . Activity bar shows 100's of emails downloading, but none appear in inbox.  sent and draft mails box updates normally. outgoing emails send normally. web version and iPhone Mail inbox work normally and showall incoming messages.  Preferences reset per TWC -  updated user names, servers, password etc.  Incoming and outgoing servers on desktop changed to "mail.twc.com" Ports correct.  Restarted computer, no help.  Connection doctor shows computer accesses internet and mail server.  memory capacity 65% of allowable by TWC.  Any suggestions appreciated. 

    *Mail client 4.6

  • I cannot get my @ button to work on the iMac why is this not working?

    Cant get the @ button on my iMac to wwork is there another way to get it to work other than the usual way of shift up and @

    If you have access to another keyboard, you could see if the issue is really in that,
    or if the problem could have some other cause... Even a PC keyboard may help
    to troubleshoot this one aspect. I try to always have a spare USB keyboard/mouse.
    Not sure if you could re-assign other keys, such as the F_ keys across the top, to
    have a different one for the @ symbol. There is a code for each one of those items
    and you could use it, or have a text document handy to copy-paste that one item.
    And if you have an antique iMac, or a newer intel-based one, they have different
    operating systems; and troubleshooting may take on different dimensions, too.
    So advice and results may vary depending on hardware & software in use.
    Good luck & happy computing!

  • Get mail button not working can not receive any mail

    Hello
    my mail stops working half way. I can sent messages but suddenly my get mail is not working anymore. not through the button and not through the mailbox menu.
    any help
    regards

    Who is your ISP, how is your mail configured - POP or IMAP and do you get any error messages and if so what are they?

  • Spotlight Get Info Button Not Working

    Hi,
    I see some older posts asking about the "get info" button in Spotlight but no solutions.
    It used to work for me also, but no longer is working.
    Does anyone know of a solution?
    Thanks so much,
    Deb

    Hi, I have no idea what a Spotlight Get Info button is, since the 1st thing I do with a new computer or install is to permanently disable Spotlight, I use EasyFind, as Spotlight isn't reliable or helpful to me...
    http://www.devon-technologies.com/download/
    Near the bottom of the page.

  • Can't get "Menu" button to work

    I have the 2nd gen, 4GB nano and the Menu button doesn't work. It is fully charged, I can play music, use all the other buttons, but cannot use the Menu button. Any ideas on what to do?

    I have same issue, except my MENU button doesnt work. All the other buttons work

  • Can't get flash buttons to work...'Cannot find path' Flash MX 2004

    I am trying to get the flash buttons for my website to work, but every time I do the getURL thing it keeps saying 'Cannot find (directory)'. The website is offline and I'm using Macromedia Flash MX 2004, I also might be able to use Flash 8 but these are the only two versions I have access to.
    The action script for the button is:
    on(release){
    getURL("..\****\****\(Website directory)\(sub directory)\(Website page).html")
    I am making the website in Dreamweaver 8 and this is really holding me back as it's nearly finished but the buttons still don't work.
    Thanks in advance.

    Hi,
    Sorry I should have mentioned tha. The structure is as follows:
    Website name\
                         \Animations
                         \Audio
                         \Buttons
                         \Images
                         \Scripts
                         \Templates
                         \Videos
    The buttons are contained in the buttons folder and the page I want to link it to is in the templates folder. I have tried putting the button flash file in the website root directory and trying that but it didn't work.
    Hope this helps.
    Thanks in advance.

  • Flash Buttons Not Working in DREAMWEAVER !!!!!!!!!!! :(

    Ive made an animation in flash of curtians opening to a stage of dancers, who are all buttons.
    When i put this animation into dreamweaver and test the web page the buttons do NOT work
    PLEASE HELP ME !!
    lmack

    Most likely a site definition problem.  Did you define a local site in DW BEFORE you created your web page?  This critical first step is necessary for DW to properly manage your site.
    If you don't already have web hosting (a commercial web server space), you need to sign-up for one.  There are countless hosts and hosting plans available.
    Use the log-in details provided by your web host to set-up your Remote Site connection in DW.  See link below for details.
    Creating  your first web site in DW CS5 -
    http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt1.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • "Get Risk" button not working inTaskList Safety Plan tab

    Hi Experts,
    I am implementing Worker Safety Management where I am trying to add Relevant Risks in Safety Plan using button Get Risks, but it does not show any risks to add. I have done required configuration in PM & Risk Management, also I am getting risks in PM order automatically (based on location).
    I am trying same thing for task list, Can you suggest what I am missing? Or any other configuration I need to Get the Risks in Task List's Safety Plan
    Thanks In Advance
    Amol

    Hello Amol
    for your requirement , you can use "job hazard Analysis" is a type of risk assessment , in which we will carried our risk analysis for each and every step of process , For example one technician is attending any job like assembling of pump , in this we will carried our Hazard analysis for each and every step involved in the pump assembly. based on the identified hazards we will determine the intial risk levels and determine the existing controlling methods , incase if any lapses are there we will implement new controls with respective worker safety.. and initiate the different notifications for implementing new controls (Maintenance task /Quality task).
    Refer below thread for getting overview on  Job hazard analysis
    Job Hazard Analysis - Risk Assessment (EHS-MGM-RAS) - SAP Library
    Balajee

Maybe you are looking for

  • Itunes update 11.4 (windows 7) and IOS 8 on iphone 5

    I just recently updated my iPhone 5 to the IOS 8 and when I went back into iTunes it said " The iPhone cannot be used because it requires iTunes version 11.2 or later". I tried to and it kept coming up with "Errors occurred while installing the updat

  • Why the "sent back" button, that I have setup in my form, not working on iPad??

    I have developed a form with Acrobat 9 Standard and I want to monitor the answer with tracker. everything working on desktop windows application but if I try to fill in a form on iPad, the button "sent report" doesn't work. Reader App can share the f

  • Item and Item description as Levels ?? In Demantra

    I have Item defined as the lowest level and its description also being defined (as level description) in oracle Demantra. From the staging table - I bring in item and item description. In the Oracle Demantra seeded model - I find that Item has been d

  • Pie chart With one value

    Hello Experts, I am new to apex. I want to plot a pie chart with only one value. that one value should look like a one slice in the pie chart. I tried it, but it showing as entire pie chart as one value. So Please help me in this regard. Its very urg

  • AIA PIP for CRM On-demans for R12

    Folks, One of our client is looking for AIA PIP for CRM On demand interface along with R12. We have never done this before, however, our understanding at the high-level is that it would require R12, FP, SOA Suite, Oracle Service Bus. Can someone poin