Help with adding a hyperlink to a button?

We have a simple little site we built in Catalyst and everything works great. The only problem is that we cannot figure out how to add a hyperlink to one of the buttons in the animation. We simply want to be able to click on the button and go to another site (the client's Facebook page specifically). Can anyone provide some insight? Thanks!

The message you sent requires that you verify that you
are a real live human being and not a spam source.
To complete this verification, simply reply to this message and leave
the subject line intact.
The headers of the message sent from your address are shown below:
From [email protected] Tue Nov 03 19:08:07 2009
Received: from mail.sgaur.hosted.jivesoftware.com (209.46.39.252:45105)
by host.pdgcreative.com with esmtp (Exim 4.69)
(envelope-from <[email protected]>)
id 1N5TPy-0001Sp-J1
for [email protected]; Tue, 03 Nov 2009 19:08:07 -0500
Received: from sgaurwa43p (unknown 10.137.24.44)
     by mail.sgaur.hosted.jivesoftware.com (Postfix) with ESMTP id 946C5E3018D
     for <[email protected]>; Tue,  3 Nov 2009 17:08:03 -0700 (MST)
Date: Tue, 03 Nov 2009 17:07:49 -0700
From: Tvoliter <[email protected]>
Reply-To: [email protected]
To: Matthew Pendergraff <[email protected]>
Message-ID: <299830586.358941257293283616.JavaMail.jive@sgaurwa43p>
Subject: Help with adding a hyperlink to a button?
MIME-Version: 1.0
Content-Type: multipart/mixed;
     boundary="----=_Part_36702_1132901390.1257293269030"
Content-Disposition: inline
X-Spam-Status: No, score=-3.4
X-Spam-Score: -33
X-Spam-Bar: ---
X-Spam-Flag: NO

Similar Messages

  • Help with adding image onclick

    Hey everyone,
    I am making a simple game in AS3 and need help with adding an image once they have click on something.
    On the left of the screen are sentences and on the right an image of a form. When they click each sentence on the left, writing appears on the form. Its very simple. With this said, what I would like to do is once the user click one of the sentences on the left, I would like a checkmark image to appear over the sentence so they know they have already clicked on it.
    How would I go about adding this to my code?
    var fields:Array = new Array();
    one_btn.addEventListener(MouseEvent.CLICK, onClick1a);
    one_btn.buttonMode = true;
    function onClick1a(event:MouseEvent):void
        fields.push(new one_form());
        fields[fields.length-1].x = 141;
        fields[fields.length-1].y = -85;
        this.addChild(fields[fields.length-1]);   
        one_btn.removeEventListener(MouseEvent.CLICK, onClick1a);
        one_btn.buttonMode = false;
        //gotoAndStop("one")
    two_btn.addEventListener(MouseEvent.CLICK, onClick2a);
    two_btn.buttonMode = true;
    function onClick2a(event:MouseEvent):void
        fields.push(new two_form());
        fields[fields.length-1].x = 343.25;
        fields[fields.length-1].y = -85;
        this.addChild(fields[fields.length-1]);
        two_btn.removeEventListener(MouseEvent.CLICK, onClick2a);
        two_btn.buttonMode = false;
        //gotoAndStop("two")

    I don't know where you're positioning the button that should enable/disable the checkbox but for "one_btn" let's just say it's at position: x=100, y=200. Say you'd want the checkbox to be to the left of it, so the checkbox would be displayed at: x=50, y=200. Also say you have a checkbox graphic in your library, exported for actionscript with the name "CheckBoxGraphic".
    Using your code with some sprinkles:
    // I'd turn this into a sprite but we'll use the default, MovieClip
    var _checkBox:MovieClip = new CheckBoxGraphic();
    // add to display list but hide
    _checkBox.visible = false;
    // just for optimization
    _checkBox.mouseEnabled = false;
    _checkBox.cacheAsBitmap = true;
    // adding it early so make sure the forms loaded don't overlap the
    // checkbox or it will cover it, otherwise swapping of depths is needed
    addChild(_checkBox);
    // I'll use a flag (a reference for this) to know what button is currently pushed
    var _currentButton:Object;
    one_btn.addEventListener(MouseEvent.CLICK, onClick1a);
    one_btn.buttonMode = true;
    function onClick1a(event:MouseEvent):void
         // Check if this button is currently the pressed button
         if (_currentButton == one_btn)
              // disable checkbox, remove form
              _checkBox.visible = false;
              // form should be last added to fields array, remove
              removeChild(fields[fields.length - 1]);
              fields.pop();
              // clear any reference to this button
              _currentButton = null;
         else
              // enable checkbox
              _checkBox.visible = true;
              _checkBox.x = 50;
              _checkBox.y = 200;
              // add form
              fields.push(new one_form());
              fields[fields.length-1].x = 141;
              fields[fields.length-1].y = -85;
              this.addChild(fields[fields.length-1]);
              // save this button as last clicked
              _currentButton = one_btn;
         // not sure what this is
        //gotoAndStop("one")
    I'd also centralize all the click handlers into a single handler and use the buttons name to branch on what to do, but that's a different discussion. Just see if this makes sense to you.
    The jist is a graphic of a checkbox that is a MovieClip symbol in your library exported to actionscript with the class name CheckBoxGraphic() is created and added to the display list.
    I made a variable that points itself to the last clicked button, when the "on" state is desired. If I detect the last clicked button was this button, I remove the form I added and the checkbox. If the last clicked button is not this button, I enable and position the checkbox as well as add the form.
    What is left to do is handle the sitation where multiple buttons are on the screen. When a new button is pushed it should remove anything the previous button added. This code simply demonstrates clicking the same button multiple times to toggle it "on and off".

  • Need help with adding emoji to my hubby's phone don't see it when I click on the keyboard tab

    I need help with adding emoji to my hubby's iPhone when I go to settings then the keyboard tab it's not there

    I did that bad it's not there and doesn't give me to option to click on it

  • Archive applet. Help with adding files to archive, then show.

    I need help with this applet: http://pastebin.com/589064
    The user is supposed to add, remove and open archives with text in it.
    My problem is now the highlited area in the code (the lines with the @@'s).
    This button should list all files i have added to the archive, however when i press the button, i only get a numberlisting. eg, if i have added 4 files to the archive I get: 0123
    However I want the Joptionpane to show a listing of the files in the archive.
    When I press "open" i can choose a file, press add, then open a new file, press add, and then when i click show archive, the filenames of the two files i added, should list through a Joptionpane..as you can see, i've tried, but i'm very unfamiliar with this.

    OK..i've done it
    check out http://pastebin.com/589268
    however, now i'd like to change the code, so that if i try to add to files with the same filename, the applet should show an error message..
    How do i do that, please? :-)

  • [CS3 JS] Help with adding textMacros

    I can get a textMacro added with the following.
    app.textMacros.add("myName", "this is some text")
    What I am having trouble with is having the Remember Text Attributes be grabed or set to true.
    Any one know what the syntax is for setting this during the add()
    also how do you insert a macro via a javascript?
    Mahalo
    David

    These forums are pointless. Adobe must believe that other users will cut the mustard. Absolutely a waste of effort for everyone. Adobe should PAY at least a junior developer involved in the projects to monitor and help with these posts. FLEX rules yeah and thousands more do scripting than develop plug ins...
    Come on Adobe, step up your better than this. Customer Service can be free to the customers ... we are not talking about GET IT ALL FREE, talking about buy it and create a community and support it, but then again LAYERS and INDESIGN SECRETS have people who actually want to help users rather than rabbit hole everything.
    Please join hands and SING...

  • Help with wav file, stop and play buttons

    Hey everyone,
    I'm new to actionscript, and flash for that matter. I created
    a new flash file, and a new layer. On that layer I put 2 buttons,
    btnPlay and btnStop.
    I found some code on this forum, and tried it, but it isn't
    working. The code is below. I get no errors, but when I test the
    movie, it doesn't play any music. I selected this layer, selected
    frame 1, and put this code in the actions window.
    mySound = new Sound();
    btnPlay.onRelease = function () {
    mySound.attachSound("adagio");
    mySound.start(0);
    btnStop.onRelease = function() {
    mySound.stop("adagio");
    I should also note, I have another layer with a movie clip on
    it, and another layer with a picture on it.
    Any help would be appreciated,
    Thanks,
    Jesse

    As another note--I right clicked on the wav file in my
    library and selected linkage and export to first frame as well as
    export for actionscript (and named the linkage "adagio"). Might
    help with a solution.

  • Help With Adding Back Up of Songs & Lists on Re-Installed iTunes v 7.0.2

    I have a portable hard drive with a back up of my 10,000 songs. I have to get my Gateway PC laptop serviced as it continues to crash, and so I will need to re-install iTunes v 7.0.2 and then add back my songs from the portable hard drive.
    I need help with a couple of questions:
    1) Is there a quicker way to add the songs back on to iTunes rather than adding individual files (for songs) and individual folders (for albums)?
    2) I have several song lists (some used to make CD's). How can these lists be backed up as well so that I do not have to re-create these lists?
    Any advice very much appreciated.

    There is a good article on backup here:
    http://discussions.apple.com/thread.jspa?messageID=1522195&#1522195
    If all your music is in the iTunes Music folder and you have room, just copy the iTunes folder to your external drive.
    This will include both your music files and the iTunes library files.
    If you music is stored in other places, you need to backup those too. When you restore you need to ensure the full path name is the same.
    Life is also much easier if you can keep exactly the same account name if you reinsall windows as the account name is part of the path to My Documents.

  • Adding a hyperlink to a button

    I am rather new to Flash and working on a project where I
    would like to have internet window popup after someone clicks on a
    name. I have tried scripting the button so it says on release get
    url....., but I wasn't able to get that to work. I think I might
    not be writing the script correctly. Could anyone show me the
    correct way to add a hyperlink to a button so that it will pop up a
    window after someone clicks on it?
    Thanks!!!!

    -

  • Need help with adding images option

    I was using the add images option a few weeks ago just fine.. using my tablet and uploading the images via usb. then all of the sudden it stopped working.
    please help with this issue.
    Danny

    A few questions. What result are you experiencing? Did PS Touch crash? Have you tried to force quit-and restart PS Touch? -Guido

  • Need help with adding buttons.

    I thought I could do this without help but I was wrong. I had to add buttons to my program and before it ran fine with the first four buttons I added but know there are many errors and I believe I messed up the whole thing now. Any advice would be greatly appreciated. Here is my code:
    import java.util.*;
    import java.text.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.JFrame.*;
    import java.io.*;
    import java.awt.font.*;
    import java.awt.geom.*;
    import javax.imageio.*;
    import java.awt.image.*;
    public class DVDInventory6
    public static void main(String[] args)
           Scanner input = new Scanner( System.in );
           int j;
          DVD_Genre [] inventory = new DVD_Genre[5]; // Size of the array
          // create DVD object
          inventory [ 0 ] = new DVD_Genre( "Rocky", "Action/Drama", 01, 15, 9.95 );
          inventory [ 1 ] = new DVD_Genre( "RockyII", "Action/Drama", 02, 13, 14.95 );
          inventory [ 2 ] = new DVD_Genre( "Matrix", "Action/Sci-Fi", 03, 23, 14.95 );
          inventory [ 3 ] = new DVD_Genre( "MatrixII", "Action/Sci-Fi", 04, 17, 19.95 );
          inventory [ 4 ] = new DVD_Genre( "Bambi", "Family", 05, 33, 12.95 );
          // Print out a screen title
          System.out.println();
          System.out.printf("Welcome to DVD Inventory:\n\n");
       GUI gui = new GUI();
          for(j=0; j<5; ++j)
               gui.add(inventory[j]);   
         double total = 0;
         for ( j=0; j<inventory.length; j++ )
             total += inventory[j].getvalueofdvds ();
    } // end for
             gui.setTotal(total);
       gui.display();
    public static void sortDVD(DVD[] inventory)
         //DVD_Genre temp[] =  new DVD_Genre[1];
          int i, j;
          for (i=1; i <inventory.length; i++)
             for (j=0; j < inventory.length-i; j++)
                if (inventory[j].getdvdName().compareTo(inventory[j+1].getdvdName())>0)
                   // exchange elements
                   DVD  temp = inventory[j]; //new DVD_Genre [1];
                   inventory[j] = inventory[j+1];
                   inventory[j+1] = temp; //temp [0];
       }//end method main
    }//end DVDInventory6
          class DVD
          protected String dvdName; //  DVD title
          protected String dvdGenre; // DVD genre
          protected int productnumber;  // DVD product number
          protected int numberofproducts; // the number of products in stock
          protected double price; // the price of the products in stock
            public DVD (String name, String genre, int productnumber, int numberofproducts,
    double price ) // class dvd constructor
            this.dvdName = name;
            this.productnumber = productnumber;
            this.numberofproducts = numberofproducts;
            this.price = price;
    this.dvdGenre = genre;
           public DVD( String name, int productnumber, int numberofproducts, double price ) //
    class dvd constructor
            this.dvdName = name;
            this.productnumber = productnumber;
            this.numberofproducts = numberofproducts;
            this.price = price;
          public void setdvdName( String name ) // method to set dvd name
          this.dvdName = name; // store the dvd name
          public String getdvdName()// method to get dvd name
          return dvdName;
          public void setproductnumber( int productnumber )  // method to set productnumber
          this.productnumber = productnumber; // store productnumber
          public int getproductnumber()// method to get productnumber
          return productnumber;
          public void setnumberofproducts( int numberofproducts )// method to set
    numberofproducts
          this.numberofproducts = numberofproducts; // store numberofproducts
          public int getnumberofproducts()// method to get numberofproducts
          return numberofproducts;
          public void setprice( double price )// method to set price
          this.price = price; // price of the products in stock
          public double getprice()// method to get price
          return price;
          public double getvalueofdvds()// method to get valueofdvds
          return numberofproducts * price;
    } // end class DVD
    class DVD_Genre extends DVD
             private String genre; // genre of DVD
      private double restockingFee; // percentage added to inventory value
       //constructor
    public DVD_Genre(String name, String genre, int productnumber, int numberofproducts, double
    price)
       super(name, genre, productnumber, numberofproducts, price);
      this.genre = genre;
                    this.restockingFee = restockingFee;
          public void setdvdGenre( String genre ) // method to set dvd genre
          this.dvdGenre = genre; // store the dvd genre
          public String getdvdGenre()// method to get dvd genre
          return dvdGenre;     
    // Calculates restocking fee based on previous data.
        public double restockFee() {
         double total = 0;
         double restock = 0;
         total = numberofproducts * price;
         restock = total * .05;
                return restock;
        public String toString()
       DecimalFormat Currency = new DecimalFormat("$0.00");
       return "\nDVD Title: " +  dvdName + "\nDVD Genre: " +  dvdGenre + "\nProduct number: " +
    productnumber +
              "\nNumber of products: " + numberofproducts + "\nPrice: " + price + "\nValue of
    DVD's: " +  Currency.format(numberofproducts * price) + "\nRestock Fee: "  +
    Currency.format(numberofproducts * price * .05);
    }// End class DVD_Genre
    class GUI {
    private DVD[] dvds;
        private int nCount;
    private double total;
    // Creates array DVD[]
        GUI() {
            dvds = new DVD[5];
            nCount = 0;
        public void add(DVD dvd) {
            dvds[nCount] = dvd;
            ++nCount;
    public void setTotal(double total)
      this.total = total;
        DecimalFormat Currency = new DecimalFormat("$0.00");
    //Displays the arrays contents element by element into a GUI pane
           public void display() {
      GUIDisplay(dvds, 5);
    public void GUIDisplay(DVD[] products, int numOfProducts)
              PanelFrame frame = new PanelFrame(products, numOfProducts);
              frame.pack();
              frame.setVisible(true);
              frame.setSize(600, 450);
    } // end class GUI
            class PanelFrame extends JFrame
            private JButton first;
            private JButton next;
            private JButton previous;
            private JButton last;
            private JButton add;
            private JButton delete;
            private JButton modify;
            private JButton search;
            private JButton save;
            JTextField dvdName;
            JTextField productnumber;
            JTextField numberofproducts;
            JTextField price;
            private DVD[] products;
            private int numOfProducts;
            private int currentIndex = 0;
    /** Creates a new instance of PanelFrame */
      public PanelFrame(DVD[] products, int numOfProducts)
            super("Welcome to the DVD Inventory");
            this.products = products;
            this.numOfProducts = numOfProducts;
            setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
            setLayout(new GridLayout(6,1,5,5));
            showLogo();
            showLabels();
            showInputFields();
            showButtons();
    public class MovieGraphics extends Component
            private BufferedImage image;
            private boolean imageFound = true;
      public MovieGraphics()
           super();
       try
           image = ImageIO.read(new File("logo.jpg"));
      catch (IOException x)
          x.printStackTrace();
          imageFound = false;
      public void paint(Graphics g)
      if (imageFound)
         g.drawImage(image,
         0, 0, 200, 100,
         0, 0, image.getWidth(null), image.getHeight(null),
    null);
      else
         g.drawString("Gary's DVD Krypt", 30, 30);
    } // end of class MovieGraphics
      public void showLogo()
            MovieGraphics myLogo = new MovieGraphics();
            this.add(myLogo);
      public void showLabels()
            JPanel panel = new JPanel();
            panel.add(new JLabel("DVD Title"));
            panel.add(new JLabel("Product number"));
            panel.add(new JLabel("Number of products"));
            panel.add(new JLabel("Price"));
            this.add(panel);
      public void showInputFields()
            JPanel panel = new JPanel();
            dvdName = new JTextField(10);
            productnumber = new JTextField(10);
            numberofproducts = new JTextField(10);
            price = new JTextField(10);
            dvdName.setEditable(false);
            productnumber .setEditable(false);
            numberofproducts.setEditable(false);
            price.setEditable(false);
            panel.add(dvdName);
            panel.add(productnumber );
            panel.add(numberofproducts);
            panel.add(price);
        this.add(panel);
      public void showButtons()
            JPanel panel = new JPanel();
            first = new JButton("First");
            next = new JButton("Next");
            previous = new JButton("Previous");
            last = new JButton("Last");
            add = new JButton("Add");
            delete = new JButton("Delete");
            modify = new JButton("Modify");
            search = new JButton("Search");
            save = new JButton("Save");
            panel.add(first);
            panel.add(next);
            panel.add(previous);
            panel.add(last);
            panel.add(add);
            panel.add(delete);
            panel.add(modify);
            panel.add(search);
            panel.add(save);
            ButtonActionHandler handler = new ButtonActionHandler();
              first.addActionListener(handler);
              next.addActionListener(handler);
              previous.addActionListener(handler);
              last.addActionListener(handler);
              add.addActionListener(handler);
              delete.addActionListener(handler);
              modify.addActionListener(handler);
              search.addActionListener(handler);
              save.addActionListener(handler);
              this.add(panel);
              setFields(0);
      protected void paintComponent(Graphics g)
      public void setFields(int i)
         setdvdName(i);
         setproductnumber(i);
         setnumberofproducts(i);
         setPrice(i);
      public void setdvdName(int i)
      dvdName.setText(products.getdvdName());
    public void setproductnumber(int i)
    productnumber.setText(String.valueOf(products[i].getproductnumber()));
    public void setnumberofproducts(int i)
    numberofproducts.setText(String.valueOf(products[i].getnumberofproducts()));
    public void setPrice(int i)
    price.setText(String.valueOf(products[i].getprice()));
    private class ButtonActionHandler implements ActionListener
    public void actionPerformed(ActionEvent event)
    if (event.getSource() == first)
    addClicked = false;
    currentIndex = 0;
    setFields(currentIndex);
    makeFieldsEditable(false);
    else if (event.getSource() == next)
    addClicked = false;
    currentIndex++;
    if (currentIndex == numOfProducts)
    currentIndex --;
    setFields(currentIndex);
    makeFieldsEditable(false);
    else if (event.getSource() == previous)
    addClicked = false;
    currentIndex--;
    if (currentIndex < 0)
    currentIndex = 0;
    setFields(currentIndex);
    makeFieldsEditable(false);
    else if (event.getSource() == last)
    addClicked = false;
    currentIndex = numOfProducts - 1;
    if (currentIndex < 0)
    currentIndex = 0;
    setFields(currentIndex);
    makeFieldsEditable(false);
    else if(event.getSource() ==add)
    //add actions for add here
    if (!addClicked)
    resetFields();
    makeFieldsEditable(true);
    int itemNum = incrementItemNumber();
    System.out.println(itemNum);
    itemNumber.setText(String.valueOf(itemNum));
    currentIndex = numOfProducts;
    addClicked = true;
    else if(event.getSource() ==save)
    //add actions for save here
    //we need to call SaveToFile.java
    // SaveToFile.save;
    addClicked = false;
    System.out.println(currentIndex);
    if (!updateProduct(currentIndex))
    JOptionPane.showMessageDialog(null, "You have reached maximum number of products!");
    currentIndex --;
    setFields(currentIndex);
    else
    saveProduct();
    makeFieldsEditable(false);
    else if(event.getSource() == edit)
    //add actions for edit here
    // Inventory.edit;
    addClicked = false;
    makeFieldsEditable(true);
    else if(event.getSource() == search)
    //add actions for search here
    // Inventory.findIndex;
    addClicked = false;
    String name = JOptionPane.showInputDialog("Enter Product Name: ");
    int index = searchName(name);
    System.out.println(index);
    if (index == -1)
    JOptionPane.showMessageDialog(null, "No matching product found! ");
    else
    currentIndex = index;
    setFields(index);
    Here are my errors:
    C:\java>javac DVDInventory6.java
    DVDInventory6.java:460: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:463: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(false);
    ^
    DVDInventory6.java:467: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:474: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(false);
    ^
    DVDInventory6.java:478: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:485: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(false);
    ^
    DVDInventory6.java:489: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:496: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(false);
    ^
    DVDInventory6.java:501: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    if (!addClicked)
    ^
    DVDInventory6.java:503: cannot find symbol
    symbol : method resetFields()
    location: class PanelFrame.ButtonActionHandler
    resetFields();
    ^
    DVDInventory6.java:504: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(true);
    ^
    DVDInventory6.java:505: cannot find symbol
    symbol : method incrementItemNumber()
    location: class PanelFrame.ButtonActionHandler
    int itemNum = incrementItemNumber();
    ^
    DVDInventory6.java:507: cannot find symbol
    symbol : variable itemNumber
    location: class PanelFrame.ButtonActionHandler
    itemNumber.setText(String.valueOf(itemNum));
    ^
    DVDInventory6.java:510: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = true;
    ^
    DVDInventory6.java:517: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:519: cannot find symbol
    symbol : method updateProduct(int)
    location: class PanelFrame.ButtonActionHandler
    if (!updateProduct(currentIndex))
    ^
    DVDInventory6.java:527: cannot find symbol
    symbol : method saveProduct()
    location: class PanelFrame.ButtonActionHandler
    saveProduct();
    ^
    DVDInventory6.java:529: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(false);
    ^
    DVDInventory6.java:531: cannot find symbol
    symbol : variable edit
    location: class PanelFrame.ButtonActionHandler
    else if(event.getSource() == edit)
    ^
    DVDInventory6.java:535: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:536: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(true);
    ^
    DVDInventory6.java:542: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:544: cannot find symbol
    symbol : method searchName(java.lang.String)
    location: class PanelFrame.ButtonActionHandler
    int index = searchName(name);
    ^
    23 errors

    and many more errors
    such as;
    * you need to declare a method called makeFieldsEditable that takes a boolean value
    eg private void makeFieldsEditable(boolean editable){
       // add your implememntation
    }* you need to declare a method called resetFields
    eg private void resetFields(){
       // add your implememntation
    }* you need to declare a method called updateProduct
    eg private void updateProduct(int index){
       // add your implememntation
    }etc

  • Need help with adding Facebook share button

    I need to add a simple Facebook share button in the row of social share buttons at the bottom of the page http://www.ottawapatentagency.com  I just need a simple button, I don't need any counts, nor any analytics. I tried to insert the code from the Facebook developers pages and follow the instructions, but I can't do it.
    I am neither a Facebook developer nor a programmer, for that matter, help!

    Have you created your Facebook share button code from the Facebook resource page below:
    Share Button
    Once you have done that copy the code and paste it in your pages code, directly after the opening <body> tag.
    Then add the <div> in which your Facebook share button will appear directly before your Google plus <div> (see below)
    <div class="fb-share-button" data-href="https://developers.facebook.com/docs/plugins/" data-width="200" data-type="button_count"></div>
    <div class="g-plus" data-action="share" data-annotation="none" data-href="http://www.ottawapatentagency.com/index.html#reaching_out"></div>

  • URGENT! Help with creating more than one linked button

    Hi!
    Could someone help a newbie with trying to figure out this.
    I work in Flash CS3, AS3.
    I've created a button that links to another webpage by using this code (the code is added to a separate layer):
    import flash.events.MouseEvent;
    steud.addEventListener(MouseEvent.CLICK, onMouseClick);
    function onMouseClick(e:MouseEvent):void
      var request:URLRequest = new URLRequest("http://www.xx.html");
      navigateToURL(request, "_blank");
    It works just fine, but the problem is that I want to add more buttons (and links) to it, and thats where I get stuck. When I try just adding a new layer and adding the code there, everything stops working. I've also tried copy/pasting the code beneath the first one, with no results.
    Does anyone know?
    /J

    I will try
    I've modified this tutorial http://www.tutcity.com/view/create-a-sliding-content-with-back-and-forward-navigation.2394 7.html and the intent is to make a sliding menue that contains images of plants that link to the url of the plant. I've got buttons (with a mouse over effect that shows the name of the plant), and in AS2 I could use GetURL to link an invisible button to the URL, but to create the sliding effect, I had to use AS3. I've understood that GetURL doesn't work in AS3.
    In scene 1 I have three layers; content, arrows and actions.
    The actionscript looks like this:
    // File downloaded from www.riacodes.com
    import com.greensock.*;
    var arrayX :Array = [0,-800,-1600,-2400,-3200,-4000,-4800];
    var currentIndex : Number = 0;
    left_mc.addEventListener(MouseEvent.CLICK,navigate);
    right_mc.addEventListener(MouseEvent.CLICK,navigate);
    left_mc.buttonMode = true;
    right_mc.buttonMode = true;
    checkArrows();
    function navigate(e:MouseEvent):void{
    if(e.currentTarget == left_mc) currentIndex --;
    else currentIndex ++;
    checkArrows();
    TweenLite.to(content_mc,.5 ,{x:arrayX[currentIndex]});
    function checkArrows():void{
    if(currentIndex == 0) left_mc.visible = false;
    else if (currentIndex == arrayX.length - 1) right_mc.visible = false;
    else{
    left_mc.visible = true;
    right_mc.visible= true;
    On the content layer I have the backgroundimages that slides as a movieclip.
    If I doubleclick on the movieclip I have two layers, one with the bakground images and the invisible buttons, and one layer where I've put the script:
    import flash.events.MouseEvent;
    JC.addEventListener(MouseEvent.CLICK, onMouseClick);
    function onMouseClick(e:MouseEvent):void
      var request:URLRequest = new URLRequest("http://www.blomsterbolaget.se/vaxtsidor/Dracaena_fragrans_JC.html");
      navigateToURL(request, "_blank");
    JC is the instance name of one of my buttons. So far everything works, but I want to add linking to another button, and I'm not sure how to do this correctly. When I've created the invisible buttons, I've drawn a square, converted it to a button, named it, and named the instance name. Changed the Alpha to 0. I've also added an On mouse over effect, but I don't think that has anything to do with this.
    Hope you can help med!
    /J

  • Help with adding new song to 2007 iPod shuffle

    I have an iPod shuffle from 2007 and just recently went to add new songs to it.  Itunes program keeps telling me I have to erase everything and reload w/ new playlist I've added??  Confused, don't remember it working like this last year when I added songs.  Any help??

    With the 1st and 2nd gen iPod shuffle, it can only be associated with one iTunes library at a time.  That has always been the design.  It is basically like a mobile playlist for iTunes the library.  The 3rd and 4th gen shuffles work more like the "bigger" iPods that have a screen, which is different from the very simple 1st and 2nd gen.
    If you previously used this shuffle with a different iTunes library, iTunes is asking if you want to associate the shuffle with the iTunes library you are now using.
    Any help??
    What do you want to do...?

  • Help with adding audio files to page

    I am using DW CS5.  I have had numerous troubles adding audio files to any page.  Please know that I am not at all computer savy when it comes to html codes etc.  But I have been working with DW CS5 and have a functional website and my pages validate.  That being said, please be patient with me if I am asking stupid questions or don't understand the solution.
    Now to the problem....I originally wanted to add mp3 files...but I am not sure how to work with plugins or which plugin to use.
    Therefore, I converted my mp3 files to swf and used the insert media file feature in DW CS5.  But when I look at the finished page...I only see a big white box.  Nothing happens when you click on it. 
    First question...which is the best method to add audio files?
    Second question...what steps do I need to follow achieve the desired result?
    Note:  there is one validation error on this page and I'm not sure why or how to fix it.  Any suggestions here would be greatly appreciated.
    Here is the code for the page (or you can go to this link:  http://02cada7.netsolhost.com//test2/cupotea.shtml):
    <!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>cupotea</title>
    <style type="text/css">
        body {
            margin: 0;
            width: 100%;
            background-color: #000; /* change this to whatever the background color should be for the sides (and the bottom) */
        #wrapper {
            min-width: 960px; /* this is how wide the actual content area will be (the centered part) */
            max-width:    1260px;
            margin-left: auto;
            margin-right: auto;
            padding: 0 0 5 5; /* keep the first two values at 0, the others are for left and right space from the edge of the background */
            background-color: #000; /* this is the background color of the main content area */
            color: #FFF; /* this is the default font color */
        #top {
            height: 75px;
            font-size: 60px;
            font-style: italic;
            font-weight: bold;
            color: #FFFDE6;
            background-color:#750700;
            text-align: center;
        #left {
            width: 120px; /* this is the width of the side area. this will take some of the width of the wrapper, above */
            float: left;
            padding-top:10px;
        #main {
            min-width: 840px; /* this is the width of the main content area. This, plus the width of the side, should equal the width of the wrapper */
            max-width: 1340px;
        float:left;
        background-color:#000;
        color: #000;
    #body {
        width:853px;
        float:left;
        color: #fffde6;
        padding-right: 10px;
        padding-left: 10px;
    #bodyleft {
        width:425px;
        float:left;
        padding-top:70px;
    #bodyleft2 {
        width:425px;
        float:left;
        padding-top:70px;
    #bodyright {
        width:425px;
        float:left;
        padding-top:70px;
    #bodymiddle {
        width:853px;
        float:left;
        color: #fffde6;
        padding-right: 10px;
        padding-left: 10px;
    a img {border:none; }
    .standardparagraph {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12pt;
        color: #fffde6;
        text-align: justify;
        font-weight: normal;
    .standardparagraph2{
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12pt;
        color: #fffde6;
        text-align: justify;
        font-weight: normal;
        border-top:thin;
        border-color:#666;
        border-bottom-style:solid;
    .standardparagraph3{
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12pt;
        color: #fffde6;
        text-align:    center;
        font-weight: normal;
    .standardparagraph4{
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12pt;
        color: #fffde6;
        text-align: center;
        font-weight: normal;
        border-top:thin;
        border-color:#666;
        border-bottom-style:solid;
    .pagetitle {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 16pt;
        font-weight: bold;
        color: #fffde6;
        text-align: center;
    </style>
    //<![CDATA[
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //]]>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryTooltip.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarVertical-2.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryTooltip.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="lightbox/js/prototype.js"></script>
    <script type="text/javascript" src="lightbox/js/scriptaculous.js?load=effects"></script>
    <script type="text/javascript" src="lightbox/js/lightbox.js"></script>
    <link rel="stylesheet" href="lightbox/css/lightbox.css" type="text/css" media="screen" />
    <style type="text/css">
    a:link {
        color: #06F;
    a:visited {
        color: #06F;
    a:hover {
        color: #06F;
    a:active {
        color: #06F;
    </style>
    </head>
    <body onload="MM_preloadImages(''images/buttons/miscfamily2.jpg','images/buttons/home2.jpg','im ages/buttons/familytrees2.jpg','images/buttons/legacy2.jpg','images/buttons/polska2.jpg',' images/buttons/dziekuje2.jpg','images/buttons/calendar2.jpg','images/buttons/dziekuje2.jpg ','images/buttons/StasikEarly1800sto1870-2.jpg','images/buttons/JanikMid1800sto1866-2.jpg' ,'images/buttons/Stasik1857toPresent-2.jpg','images/buttons/1st-generation-2.jpg','images/ buttons/2nd-generation-2.jpg','images/buttons/3rd-generation-2.jpg','images/buttons/4th-ge neration-2.jpg','images/buttons/5th-generation-2.jpg','images/buttons/6th-generation-2.jpg ','images/buttons/7th-generation-2.jpg','images/buttons/january-2.jpg','images/buttons/feb ruary-2.jpg','images/buttons/march-2.jpg''images/buttons/april-2.jpg','images/buttons/may- 2.jpg','images/buttons/june-2.jpg','images/buttons/july-2.jpg','images/buttons/august-2.jp g','images/buttons/september-2.jpg','images/buttons/october-2.jpg','images/buttons/novembe r-2.jpg','images/buttons/december-2.jpg')">
    <div id="wrapper">
      <div id="top">
        <div align="center">THE STASIK FAMILY</div>
      </div>
      <div id="left">
    <!--#include virtual="includes/menu.html" -->
      </div>
      <div id="main">
       <div align="center">
        <br />
        <span class="pagetitle">CUP O' TEA</span><br />
        </div>
        <div id="body">
            <p class="standardparagraph2">When preserving family history, nothing can compare to sitting down with a Grandparent or Great Aunt or Uncle over a cup of tea; listening to them reminicse about the past.  Unlike handwritten accounts, there is opportunity to ask questions or delve further into the subject.  Even better, recording such conversations so they can be shared for generations to come.<br />
    <br />
    The following audio files were created by Virginia (Stasik) Zarow at the request of Laura (Stasik) Schmidt and Carrie (Stasik) Kot.  There were a total of five cassette tapes, ranging from 1 hour to a 1 1/2 halfs in length.  Scott Freeson converted each tape to digital format and then they were broken down into various segments for a total of 7 audio files.  It is recommended that you listen to each tape in the order presented to maintain the proper timeline and context.<br /><br /></p>
    <p class="standardparagraph">The first five audio files were recorded by Aunt Virginia in response to questions posed by Laura (Stasik) Schmidt and her sister Carrie (Stasik) Kot.  Aunt Virginia re-recorded her responses in August 2009 after noticing some mistakes in the original recording.<br />
    <br />
    Note:  Virginia refers to her father as "tata", which is the Polish word for dad.</p>
    <div id="bodyleft">
    <span class="standardparagraph">What are the recollections you have about your parents, in particular their interests, their hobbies, and their lives and faith?<br />
    What did your dad do around the house?<br />
    How did your mom relax?<br /><br /></span>
    <span class="standardparagraph">How did you celebrate holidays and birthdays? <br />
    Did you go on vacations?<br />
    What did you and your brothers do for fun?<br /><br /></span>
    <span class="standardparagraph">What do you know about Jacob Sikora and Catherine Dziwak, the extended family and their faith?<br />
      - Jacob Sikora and Catherine (Dziwak) Sikora<br />
      - Michael (aka Patsy)<br />
      - Magdeline (aka Chochi)<br />
      - Angeline (aka Nellie) - includes information about Frank &amp; their children<br />
      - Elizabeth (aka Diane)<br />
      - John<br />
      - Peter<br />
      - Walter<br /><br /></span>
    <span class="standardparagraph">  What was the house like?<br />
      - In the beginning<br />
      - The 1936 flood<br />
      - Renovations<br />
      - The final demise<br /><br /></span>
    <span class="standardparagraph2">Miscellaneous tidbits...<br />
      - Polish Proverbs<br />
      - Ancedotes<br /><br /></span>  </div>
    <div id="bodyright">
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="50" height="25" id="FlashID" title="virginia1of5">
      <param name="movie" value="audiofiles/virginia1of5.swf" />
      <param name="quality" value="high" />
      <param name="wmode" value="opaque" />
      <param name="swfversion" value="15.0.0.0" />
      <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
      <param name="expressinstall" value="Scripts/expressInstall.swf" />
      <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="audiofiles/virginia1of5.swf" width="50" height="250">
        <!--<![endif]-->
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="15.0.0.0" />
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
        <div>
          <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
          <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
        </div>
        <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>
    <span class="standardparagraph3">for the media file<br /><br /><br /><br /></span>
    <span class="standardparagraph3">for the media file<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /></span> 
    <span class="standardparagraph3">for the media file<br /><br /><br /><br /><br /><br /></span>
    <span class="standardparagraph4">for the media file<br /><br /><br /><br /></span>
        </div>
        <div id="bodymiddle"><span class="standardparagraph">The second tape, also recorded in August 2009, consists of 2 clips and covers the years 1944 through 1947.</span></div>
    <div id="bodyleft2">
    <span class="standardparagraph">Summer of 1944 to December of 1945<br />
      - Meeting of Frank Zarow<br />
      - New Years Eve - 1944<br />
      - Prom Night - May 1945<br />
      - First boyfriend, Eddie Yesh<br />
      - First job as a hygienist<br />
      - Meeting of John Zarow<br />
      - Enrolled at Indiana State Teachers College<br />
      - Meeting of Ted Zaroff<br />
      - Thanksgiving - 1945<br />
      - Florian Stasik Airforce injury<br />
      - Christmas - 1945<br />
      - New Years Eve - 1945</span>
    <span class="standardparagraph">Note:  Per Virginia, Ted's name should be spelled Zarow, like most of his brothers.  There was a mixup with his birth certificate and his last name was mispelled (although it is phonetically correct).  He chose to keep this spelling as did one of his brothers.<br /><br /></span>
    <span class="standardparagraph">January 1946 to December 1947<br />
      - Takes job as cook/housekeeper<br />
      - Break-up with Eddie Yesh<br />
      - Frank Zarow passes away<br />
      - Christmas 1946<br />
      - Meets John Zarow again<br />
      - New Years Eve 1946<br />
      - John courts Virginia<br />
      - First date with John<br />
      - John's father passes away<br />
      - Christmas 1947</span>
    <span class="standardparagraph">Virginia mentions visiting cousin Helena in Poland.  She is referring to <a href="4-0-helenastasikguzik.shtml">Helena (Stasik) Guzik </a>and her trip to Poland in 1990.  </span></div>
    <div id="bodyright2">
    <span class="standardparagraph3">for the media file<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /></span>
    <span class="standardparagraph3">for the media file<br /><br /><br /><br /></span></div>   
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </div>
    </div>
    <script type="text/javascript">
    swfobject.registerObject("FlashID");
      </script>
      </div>
    </body>
    </html>

    Woohoo! I was able to resolve the issue including the validation issue.  But I have a follow up question...
    Currently if you click on the play button another window pops up which has the play/control/stop buttons to control the audio file.  The attribute is set to new window.  If I change the attribute to parent window, then the page that has the control buttons overlays ontop of the page with the link.
    To get back to the original page, one must click on the back arrow near the address bar.
    Isn't there a way to not have a separate window appear?  In other words, the controls are embeded into the parent page?

  • Need help with adding a Key flex field to a seeded OAF page

    We have a seeded OAF page on which we already have Account Key Flex Field.
    Properties of this flex field are:
    The ApplShortName - SQLGL
    Name - GL#
    Type - Key
    As per the client requirement, in the KFF screen, we have disabled the seeded structure for Accounting Flexfield and created a custom structure.
    Our custom structure for the KFF is displayed correctly on the OAF page.
    But now the requirement is to add a new KFF on the OAF page which is duplicate of the existing KFF, along with the existing KFF field; the structure and segments are same. Only difference being the display name of the existing KFF field is Account; the new one needs to be Tax structure.
    Using personalization we added a new flex item and added the properties same as the existing KFF.
    ApplShortName - SQLGL
    Name - GL#
    Type - Key
    But the page is giving following error:
    The data that defines the flexfield on this field may be inconsistent. Inform your system administrator that the function: KeyFlexfieldDefinitionFactory.getStructureNumber could not find the structure definition for the flexfield specified by Application = SQLGL, Code = GL# and Structure number =
    We tried options like compiling the flexfield definition, but the error persists.
    Any help in this regard is highly appreciated.
    Regards,
    Kiranmayi.

    Hi,
    Please check whether your key flex structure is frozen or not. If now please freeze it and re compile and try.
    This may helps too
    error while developing KFF in oaf
    Thanks
    Bharat
    Edited by: Bharat on May 10, 2013 4:51 AM

Maybe you are looking for

  • Dispatcher stopped and not able to connect with sql server

    Hi ,                    In one of test system disp+work is started and then within no time its stopped. I am able to connect with  sql server 2005 database but while starting sap  dispatcher is stopping. Here is the log of  dev_wo trc file: "dev_w0",

  • Metadata load into EPMA

    Hello All, I am trying t load metadata via Interface tables in my EPMA application. I loaded all the metadata correctly & my application got delpoyed with any error. Hoewever I am having some issue with loading member fromula in my version dimension.

  • Will the new photos app and icloud photos library support all formats of pics and videos from my iphoto library?

    I will be migrating my whole 200gb iPhoto library 9.5.1 mavericks over to Yosemite iPhoto 9.6.1 and then migrate to the new photos app and hopefully to the icloud.photos online. Does this all support all of my formats such as AVI videos in my iPhoto

  • Stuck in the stone age and need some advice

    while ($true) $A = (Get-Date -DisplayHint time) $log = "c:\Alert-2.csv" Myscript | wc > c:Alert.log Get-Content -path c:Alert.log | % { $_.Substring(1,7).Trim( ); } > c:Alert-1.log Get-Content -path c:Alert-1.log >> c:Alert-2.csv Add-Content >> ($(c:

  • Creating Views on multiple databases

    In our database environment we have three databases Prod, Test, and Dev. Can anyone tell me if there is any value to ensuring that all three databases have exactly the same views on each of them all the time.(most views are fairly simplistic). Also i