Arrary of buttons help

Hi,I'm creating a calendar/diary program and i need help with the following:
I have 3 classes. One called Calendar_Notetaker.java. This one is the main applet class. The other called MonthDate.java. This class figures out the number of days in month, leap year ect. using the java.util.date. Then another class called CalendarPanel.java. This class creates the actual caladar.
I used a button array to print the days. However i'm having problems accessing the buttons. i need to put an actionlister on them so when a user clicks on them it opens a new window. i know how to open a new window from a button but i cant figure out how to do it from a button array.
here are my classes..note these are all in sepearte files.
any suggestions would be appreciated
thanks
Kevin
package calendar_notetaker;
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
public class Calendar_NoteTaker extends Applet {
private int currentYear;
private int currentMonth;
private MonthDate myMonth;
CalendarPanel monthPanel;
private boolean isStandalone = false;
//Get a parameter value
public String getParameter(String key, String def) {
return isStandalone ? System.getProperty(key, def) :
(getParameter(key) != null ? getParameter(key) : def);
//Construct the applet
public Calendar_NoteTaker() {
//Initialize the applet
public void init() {
try {
jbInit();
catch(Exception e) {
e.printStackTrace();
//Component initialization
private void jbInit() throws Exception {
setLayout(new BorderLayout());
myMonth = new MonthDate();
currentYear = myMonth.getYear();
currentMonth = myMonth.getMonth() + 1;
monthPanel = new CalendarPanel(myMonth);
add("Center", monthPanel);
Panel panel = new Panel();
panel.add(new Button("Previous Year"));
panel.add(new Button("Previous Month"));
panel.add(new Button("Next Month"));
panel.add(new Button("Next Year"));
add("South", panel);
show();
public void setNewMonth()
myMonth.setMonth(currentMonth - 1);
myMonth.setYear(currentYear);
monthPanel.showMonth();
public boolean action(Event event, Object obj)
if(event.target instanceof Button)
if("Previous Month".equals(obj))
if(--currentMonth < 1)//goes before january
currentYear--;
currentMonth = 12;
if(currentYear < 70)//year < 1970
currentYear = 70;
} else
if("Next Month".equals(obj))
if(++currentMonth > 12)//if you go past 12 months
currentYear++;//set to next year
currentMonth = 1;//set back to january
if(currentYear > 137)//137 years from current year.
currentYear = 137;
} else
if("Previous Year".equals(obj))
if(--currentYear < 70)
currentYear = 70;
} else
if("Next Year".equals(obj) && ++currentYear > 137)
currentYear = 137;
setNewMonth();
return true;
//Start the applet
public void start() {
//Stop the applet
public void stop() {
//Destroy the applet
public void destroy() {
//Get Applet information
public String getAppletInfo() {
return "Applet Information";
//Get parameter info
public String[][] getParameterInfo() {
return null;
package calendar_notetaker;
import java.awt.*;
import java.util.Date;
public class CalendarPanel extends Panel
private MonthDate myMonth;
Label lblMonth;//month label
Button MonthButtons[];//button arrary for month names
public CalendarPanel(MonthDate monthdate)
lblMonth = new Label("",1);//0 left 1 midele 2 right side
MonthButtons = new Button[42];//42 buttons 7x6 some wont be used
myMonth = monthdate;
setLayout(new BorderLayout());
add("North", lblMonth);
Panel panel = new Panel();
panel.setLayout(new GridLayout(7, 7));//7rows x 7cols
for(int i = 0; i < 7; i++)
panel.add(new Label(MonthDate.WEEK_LABEL));
//0 to 42 monthbuttons above is 42
for(int j = 0; j < MonthButtons.length; j++)
MonthButtons[j] = new Button(" ");
panel.add(MonthButtons[j]);//add the butttons to the panel
showMonth();
add("Center", panel);
show();
public void showMonth()
lblMonth.setText(myMonth.monthYear());//monthyear is built in util.date
int i = myMonth.getDay();//get current day
if(myMonth.weeksInMonth() < 5)//if month has less than 5 weeks
i += 7;//we still want to have a 7x7 grid
for(int j = 0; j < i; j++)
{//add the begging set of empty spaces
MonthButtons[j].setLabel(" ");
MonthButtons[j].disable();
// k<days in month user picks
for(int k = 0; k < myMonth.daysInMonth(); k++)
{//add days in month + empty spaces
MonthButtons[k+ i ].setLabel("" + (k + 1));
MonthButtons[k+ i ].enable();
for(int l = myMonth.daysInMonth() + i; l < MonthButtons.length; l++)
{//add ending number of empty spaces
MonthButtons[l].setLabel(" ");
MonthButtons[l].disable();
package calendar_notetaker;
import java.util.Date;
public class MonthDate extends Date
//week header
public static final String WEEK_LABEL[] = {
"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"
//days in month assuming feburary is not a leap year
final int MonthDays[] = {
31, 28, 31, 30, 31, 30, 31, 31, 30, 31,
30, 31
//label to print month names
public static final String MONTH_LABEL[] = {
"January", "February", "March", "April", "May", "June", "July", "August", "September", "October",
"November", "December"
//create constructor
public MonthDate()
this(new Date());
public MonthDate(Date date)
{//get the current system date and month add one cause its off one
this(date.getYear(), date.getMonth()+1);
public MonthDate(int year, int monthName)
super(year,monthName-1,1);//year, monthname,start day posistion
public boolean isLeapYear()
int year;
Date date = new Date();
year=date.getYear();
return ( ((year % 4 == 0) && (year % 100 != 0))
|| (year % 400 == 0) );
public int daysInMonth()
int i = getMonth();
if(i == 1 && isLeapYear())
return 29;
} else
return MonthDays[i];//return the array declared above
public int weeksInMonth()
{ //finds howmany weeks are in a month
return (daysInMonth() + getDay() + 6) / 7;
public String monthLabel()
{ //method to return the month names for printing later
return MONTH_LABEL[getMonth()];
public String monthYear()
{//method to return the month and year for printing later
return monthLabel() + " " + (1900 + getYear());

Ok my main problem is how to access the array of buttons. Do i need the listner in the class that i created the buttons or do i need to create an instance in the main applet. I know i have to use a loop but not sure exactly how to go about this.
thanks
Kevin
package calendar_notetaker;
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
public class Calendar_NoteTaker extends Applet {
    private int currentYear;
    private int currentMonth;
    private MonthDate myMonth;
    CalendarPanel monthPanel;
  private boolean isStandalone = false;
  //Get a parameter value
  public String getParameter(String key, String def) {
    return isStandalone ? System.getProperty(key, def) :
      (getParameter(key) != null ? getParameter(key) : def);
  //Construct the applet
  public Calendar_NoteTaker() {
  //Initialize the applet
  public void init() {
    try {
      jbInit();
    catch(Exception e) {
      e.printStackTrace();
  //Component initialization
  private void jbInit() throws Exception {
    setLayout(new BorderLayout());
       myMonth = new MonthDate();
       currentYear = myMonth.getYear();
       currentMonth = myMonth.getMonth() + 1;
       monthPanel = new CalendarPanel(myMonth);
       add("Center", monthPanel);
       Panel panel = new Panel();
       panel.add(new Button("Previous Year"));
       panel.add(new Button("Previous Month"));
       panel.add(new Button("Next Month"));
       panel.add(new Button("Next Year"));
       add("South", panel);
       show();
    public void setNewMonth()
         myMonth.setMonth(currentMonth - 1);
         myMonth.setYear(currentYear);
         monthPanel.showMonth();
    public boolean action(Event event, Object obj)
       if(event.target instanceof Button)
           if("Previous Month".equals(obj))
               if(--currentMonth < 1)//goes before january
                   currentYear--;
                   currentMonth = 12;
                   if(currentYear < 70)//year < 1970
                       currentYear = 70;
           } else
           if("Next Month".equals(obj))
               if(++currentMonth > 12)//if you go past 12 months
                   currentYear++;//set to next year
                   currentMonth = 1;//set back to january
                   if(currentYear > 137)//137 years from current year.
                       currentYear = 137;
           } else
           if("Previous Year".equals(obj))
               if(--currentYear < 70)
                   currentYear = 70;
           } else
           if("Next Year".equals(obj) && ++currentYear > 137)
               currentYear = 137;
           setNewMonth();
       return true;
  //Start the applet
  public void start() {
  //Stop the applet
  public void stop() {
  //Destroy the applet
  public void destroy() {
  //Get Applet information
  public String getAppletInfo() {
    return "Applet Information";
  //Get parameter info
  public String[][] getParameterInfo() {
    return null;
package calendar_notetaker;
import java.awt.*;
import java.util.Date;
public class CalendarPanel extends Panel
    private MonthDate myMonth;
    Label lblMonth;//month label
    Button MonthButtons[];//button arrary for month names
    public CalendarPanel(MonthDate monthdate)
        lblMonth = new Label("",1);//0 left 1 midele 2 right side
        MonthButtons = new Button[42];//42 buttons 7x6 some wont be used
        myMonth = monthdate;
        setLayout(new BorderLayout());
        add("North", lblMonth);
        Panel panel = new Panel();
        panel.setLayout(new GridLayout(7, 7));//7rows x 7cols
        for(int i = 0; i < 7; i++)
            panel.add(new Label(MonthDate.WEEK_LABEL));
//0 to 42 monthbuttons above is 42
for(int j = 0; j < MonthButtons.length; j++)
MonthButtons[j] = new Button(" ");
panel.add(MonthButtons[j]);//add the butttons to the panel
showMonth();
add("Center", panel);
show();
public void showMonth()
lblMonth.setText(myMonth.monthYear());//monthyear is built in util.date
int i = myMonth.getDay();//get current day
if(myMonth.weeksInMonth() < 5)//if month has less than 5 weeks
i += 7;//we still want to have a 7x7 grid
for(int j = 0; j < i; j++)
{//add the begging set of empty spaces
MonthButtons[j].setLabel(" ");
MonthButtons[j].disable();
// k<days in month user picks
for(int k = 0; k < myMonth.daysInMonth(); k++)
{//add days in month + empty spaces
MonthButtons[k+ i ].setLabel("" + (k + 1));
MonthButtons[k+ i ].enable();
for(int l = myMonth.daysInMonth() + i; l < MonthButtons.length; l++)
{//add ending number of empty spaces
MonthButtons[l].setLabel(" ");
MonthButtons[l].disable();
package calendar_notetaker;
import java.util.Date;
public class MonthDate extends Date
//week header
    public static final String WEEK_LABEL[] = {
        "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"
    //days in month assuming feburary is not a leap year
    final int MonthDays[] = {
        31, 28, 31, 30, 31, 30, 31, 31, 30, 31,
        30, 31
    //label to print month names
    public static final String MONTH_LABEL[] = {
        "January", "February", "March", "April", "May", "June", "July", "August", "September", "October",
        "November", "December"
//create constructor
    public MonthDate()
        this(new Date());
    public MonthDate(Date date)
    {//get the current system date and month add one cause its off one
        this(date.getYear(), date.getMonth()+1);
    public MonthDate(int year, int monthName)
        super(year,monthName-1,1);//year, monthname,start day posistion
    public boolean isLeapYear()
        int year;
        Date date = new Date();
        year=date.getYear();
        return ( ((year % 4 == 0) && (year % 100 != 0))
             || (year % 400 == 0) );
    public int daysInMonth()
        int i = getMonth();
        if(i == 1 && isLeapYear())
            return 29;
        } else
            return MonthDays;//return the array declared above
public int weeksInMonth()
{ //finds howmany weeks are in a month
return (daysInMonth() + getDay() + 6) / 7;
public String monthLabel()
{ //method to return the month names for printing later
return MONTH_LABEL[getMonth()];
public String monthYear()
{//method to return the month and year for printing later
return monthLabel() + " " + (1900 + getYear());

Similar Messages

  • Right now, I'm stuck in the settings, when I press the sleep/wake button or the home button it doesnt let me. But is not frozen or any thing just the buttons. help me please!!!!!

    Right now, I'm stuck in the settings, when I press the sleep/wake button or the home button it doesnt let me. But is not frozen or any thing just the buttons. help me please!!!!!

    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 another cable       
    - 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

  • Array of buttons help please

    Hi,I'm creating a calendar/diary program and i need help with the following:
    I have 3 classes. One called Calendar_Notetaker.java. This one is the main applet class. The other called MonthDate.java. This class figures out the number of days in month, leap year ect. using the java.util.date. Then another class called CalendarPanel.java. This class creates the actual caladar.
    I used a button array to print the days. However i'm having problems accessing the buttons. i need to put an actionlister on them so when a user clicks on them it opens a new window. i know how to open a new window from a button but i cant figure out how to do it from a button array. Do i need need to create an instance from the main applet or can i do it in the class that generates the buttons?
    here are my classes..note these are all in sepearte files.
    any suggestions would be appreciated
    thanks
    Kevin
    PS. These were done in Borland Jbuilder 7 Enterprise
    package calendar_notetaker;
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    public class Calendar_NoteTaker extends Applet {
    private int currentYear;
    private int currentMonth;
    private MonthDate myMonth;
    CalendarPanel monthPanel;
    private boolean isStandalone = false;
    //Get a parameter value
    public String getParameter(String key, String def) {
    return isStandalone ? System.getProperty(key, def) :
    (getParameter(key) != null ? getParameter(key) : def);
    //Construct the applet
    public Calendar_NoteTaker() {
    //Initialize the applet
    public void init() {
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    //Component initialization
    private void jbInit() throws Exception {
    setLayout(new BorderLayout());
    myMonth = new MonthDate();
    currentYear = myMonth.getYear();
    currentMonth = myMonth.getMonth() + 1;
    monthPanel = new CalendarPanel(myMonth);
    add("Center", monthPanel);
    Panel panel = new Panel();
    panel.add(new Button("Previous Year"));
    panel.add(new Button("Previous Month"));
    panel.add(new Button("Next Month"));
    panel.add(new Button("Next Year"));
    add("South", panel);
    show();
    public void setNewMonth()
    myMonth.setMonth(currentMonth - 1);
    myMonth.setYear(currentYear);
    monthPanel.showMonth();
    public boolean action(Event event, Object obj)
    if(event.target instanceof Button)
    if("Previous Month".equals(obj))
    if(--currentMonth < 1)//goes before january
    currentYear--;
    currentMonth = 12;
    if(currentYear < 70)//year < 1970
    currentYear = 70;
    } else
    if("Next Month".equals(obj))
    if(++currentMonth > 12)//if you go past 12 months
    currentYear++;//set to next year
    currentMonth = 1;//set back to january
    if(currentYear > 137)//137 years from current year.
    currentYear = 137;
    } else
    if("Previous Year".equals(obj))
    if(--currentYear < 70)
    currentYear = 70;
    } else
    if("Next Year".equals(obj) && ++currentYear > 137)
    currentYear = 137;
    setNewMonth();
    return true;
    //Start the applet
    public void start() {
    //Stop the applet
    public void stop() {
    //Destroy the applet
    public void destroy() {
    //Get Applet information
    public String getAppletInfo() {
    return "Applet Information";
    //Get parameter info
    public String[][] getParameterInfo() {
    return null;
    package calendar_notetaker;
    import java.awt.*;
    import java.util.Date;
    public class CalendarPanel extends Panel
    private MonthDate myMonth;
    Label lblMonth;//month label
    Button MonthButtons[];//button arrary for month names
    public CalendarPanel(MonthDate monthdate)
    lblMonth = new Label("",1);//0 left 1 midele 2 right side
    MonthButtons = new Button[42];//42 buttons 7x6 some wont be used
    myMonth = monthdate;
    setLayout(new BorderLayout());
    add("North", lblMonth);
    Panel panel = new Panel();
    panel.setLayout(new GridLayout(7, 7));//7rows x 7cols
    for(int i = 0; i < 7; i++)
    panel.add(new Label(MonthDate.WEEK_LABEL));
    //0 to 42 monthbuttons above is 42
    for(int j = 0; j < MonthButtons.length; j++)
    MonthButtons[j] = new Button(" ");
    panel.add(MonthButtons[j]);//add the butttons to the panel
    showMonth();
    add("Center", panel);
    show();
    public void showMonth()
    lblMonth.setText(myMonth.monthYear());//monthyear is built in util.date
    int i = myMonth.getDay();//get current day
    if(myMonth.weeksInMonth() < 5)//if month has less than 5 weeks
    i += 7;//we still want to have a 7x7 grid
    for(int j = 0; j < i; j++)
    {//add the begging set of empty spaces
    MonthButtons[j].setLabel(" ");
    MonthButtons[j].disable();
    // k<days in month user picks
    for(int k = 0; k < myMonth.daysInMonth(); k++)
    {//add days in month + empty spaces
    MonthButtons[k+ i ].setLabel("" + (k + 1));
    MonthButtons[k+ i ].enable();
    for(int l = myMonth.daysInMonth() + i; l < MonthButtons.length; l++)
    {//add ending number of empty spaces
    MonthButtons[l].setLabel(" ");
    MonthButtons[l].disable();
    package calendar_notetaker;
    import java.util.Date;
    public class MonthDate extends Date
    //week header
    public static final String WEEK_LABEL[] = {
    "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"
    //days in month assuming feburary is not a leap year
    final int MonthDays[] = {
    31, 28, 31, 30, 31, 30, 31, 31, 30, 31,
    30, 31
    //label to print month names
    public static final String MONTH_LABEL[] = {
    "January", "February", "March", "April", "May", "June", "July", "August", "September", "October",
    "November", "December"
    //create constructor
    public MonthDate()
    this(new Date());
    public MonthDate(Date date)
    {//get the current system date and month add one cause its off one
    this(date.getYear(), date.getMonth()+1);
    public MonthDate(int year, int monthName)
    super(year,monthName-1,1);//year, monthname,start day posistion
    public boolean isLeapYear()
    int year;
    Date date = new Date();
    year=date.getYear();
    return ( ((year % 4 == 0) && (year % 100 != 0))
    || (year % 400 == 0) );
    public int daysInMonth()
    int i = getMonth();
    if(i == 1 && isLeapYear())
    return 29;
    } else
    return MonthDays;//return the array declared above
    public int weeksInMonth()
    { //finds howmany weeks are in a month
    return (daysInMonth() + getDay() + 6) / 7;
    public String monthLabel()
    { //method to return the month names for printing later
    return MONTH_LABEL[getMonth()];
    public String monthYear()
    {//method to return the month and year for printing later
    return monthLabel() + " " + (1900 + getYear());

    add a listener and do it from there.

  • Simple button help needed!

    I want to make a simple round button that glows when you
    mouse over it and depresses when you click it.
    Apparently to do this I need to use Filters to make the glow
    and bevels. But Filtersonly work on movie clips, buttons and text.
    So I make a circle and convert it into a button symbol
    (Btn1). Then I make another button symbol (Btn2) and use the first
    button symbol (Btn 1) on the Up Over and Down frames of Btn 2.
    Assorted Filters are applied to Btn 1 on the Up Over and Down
    frames to get the effects I want.
    I test the button (Btn2) using Enable Simple Buttons. It
    works perfectly - glows on mouse over and depresses on click. Then
    I try Test Movie -- and the button doesn't work!!!
    Not does it work when exported as a SWF file!!!
    I watched a tutorial video that came with my Flash Pro 8
    Hands-On-Training (HOT) book and he used pretty much the same
    technique -- except he only tested his button with Enable Simple
    Buttons. I'll bet my house his didn't work with Test Movie either!
    The stupid thing, is I was just able to achieve exactly what
    I wanted very quickly using LiveMotion 2!
    What is wrong here? Why is it so impossible to create a glow
    button in Flash? Why has it been easy in Live Motion for years?
    All help appreciated!
    Thanks
    craig

    I thought the nesting button situation might be the problem
    BUT there is no other way to apply Filters to Up, Down, etc. Also,
    a freaking tutorial book described that as a valid method, but
    obviously it ain't.
    I tried using movieclips as well but basically had the same
    problem.
    I mentioned LiveMotion 2 because that ancient program can do
    easily what Flash Pro 8 seems incapable of.
    What is the logic behind not allowing Filters to be applied
    to simple graphics? It's absurd!
    There's got to be a way...

  • Simple Button Help

    Hi
    I am new to flash and having a bit of trouble. All I would
    like to do is be able to create a button and have that button
    navigate to a frame.
    What I am doing now is:
    Insert - New Symbol - Button and name the button (ex: about)
    Go through the up/over/down/hit steps and return to scene 1
    I then drag the about button onto the stage
    I give the about button the instance name of about_btn
    In the action layer, I enter the following code:
    stop();
    _root.about_btn.onRelease = function(){
    gotoAndStop("about");
    "about" being the keyframe I would like to go to
    When I test the button, I get error 1120: "Access of
    undefined property onrelease".
    I am working on adobe flash cs3 on a pc. I know this is a
    very simple issue and any help would be greatly appreciated.
    Thank you.

    what have you done so far? what don't you know how to do?
    where are you stuck at? need way more detail to help any
    further.

  • Im having problems with my iPod Touch 2nd gen. It's disabled and tells me to connect to iTunes. But when I do that, iTunes wont detect the iPod.I have put the iPod in USB- mode, and by that I mean I have tried connecting with holding the home button Help?

    It's disabled and tells me to connect to iTunes. But when I do that, iTunes wont detect the iPod.I have put the iPod in USB- mode, and by that I mean I have tried connecting with holding the home button when connecting the USB. Help?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes       
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        
    If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode.

  • My firefox toolbar disappeared and I can't do what the solutions say because I don't have a back arrow, file button, tool button, bookmark button, help button, or navagation bar, so how do I get my toolbar back?

    How do I restore my firefox toolbar? It was my main toolbar. My other one is google. And then another site tried to install a toolbar that I did not want. When I unchecked to get rid of it, apparently I unchecked the firefox toolbar by accident. I don't know if that's what happened for sure, but I'm guessing that's what happened.

    '''<u>Menu Bar</u>''' (File, Edit, View, History, Bookmarks, Tools, Help) , see: <br/>
    http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
    * Press F10, Menu bar will appear, click View, click Toolbars, click Menu bar
    * Press ALT, the Menu bar will appear, click View, click Toolbars, click Menu bar<br />
    * Hold down the ALT button while pressing V+T+M
    '''<u>Navigation Toolbar</u>''' (Back/forward, Refresh...Home, URL/Location Bar, Search Bar): Do one of the following
    #click View > Toolbars, click on "Navigation Toolbar" to place a check mark, OR#right-click the Menu Bar, click "Navigation Toolbar" to place a check mark. See: <br />
    #*https://support.mozilla.com/en-US/kb/Back+and+forward+or+other+toolbar+items+are+missing
    #*http://support.mozilla.com/en-US/kb/How+to+customize+the+toolbar
    #*http://kb.mozillazine.org/Toolbar_customization
    #*http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    #*http://support.mozilla.com/en-US/kb/Navigation+Toolbar+items
    '''<u>Bookmarks Toolbar</u>''': Same procedure as Navigation Bar except click "Bookmarks Toolbar".<br />
    '''<u>Status Bar</u>''': click View, click Status Bar to place a check mark<br />
    '''<u>Full Screen Mode</u>''': If you have no Toolbars or Tab Bar: Press F11 (F11 is an on/off toggle). See: http://kb.mozillazine.org/Netbooks#Full_screen<br />
    Also see: http://kb.mozillazine.org/Toolbar_customization_-_Firefox#Restoring_missing_menu_or_other_toolbars
    <br />
    The information submitted with your question indicates that you have out of date plugins with known security issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post.
    * Shockwave Flash 10.1 r82
    * Next Generation Java Plug-in 1.6.0_14 for Mozilla browsers
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Shockwave Flash'''
    #*Use Firefox to Download and SAVE to your hard drive from one of the links below; '''<u>the links take you directly to the download and you avoid the "getplus" download manager and "extras" (i.e., toolbars, virus scan links, etc.) on the main Adobe page.</u>'''
    #*SAVE to your Desktop so you can find it
    #*After download completes, close Firefox
    #*Click on the file you just downloaded and install
    #**Note: Vista and Win7 users may need to right-click the installer downloaded and choose "Run as Administrator"
    #**Note: Most browsers other than IE will also get updated with this one download
    #**Note: To update IE, same procedure '''<u>but use IE</u>''' to go: http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_ax.exe
    #*After installation, restart Firefox and check your version again.
    #*'''<u>Download links and other information</u>''':
    #** https://support.mozilla.com/en-US/kb/Managing+the+Flash+plugin#Updating_Flash
    #** '''<u>or</u>''' you can download, save, then run the manual installers for IE, then for Firefox (and all other browsers) from here: http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #* Also see: http://support.mozilla.com/en-US/kb/Installing+the+Flash+plugin
    #* Also see (if needed): http://kb2.adobe.com/cps/191/tn_19166.html#main_Uninstall
    #'''Update Java:'''
    #* Download and update instructions: https://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions
    #* After the installation, start Firefox and check your version again.

  • Button help with asp database in dreamweaver

    Hey i have a page that has an iframe inside it with 2 menu's
    side by side with buttons in between to move items from one menu to
    another and i have them set with javascript to move back and forth
    works great only problem is its also supposed to update to the
    database as well and i used the update command feature in
    dreamwaver and i set it up but its still not working if i post my
    code can someone help me?

    If you're good with Flash and Action Script you could build a custom player.  Otherwise, pick-one from the links below. Some are free, some are not.
    Coffee Cup Video Player -- (supports playlists)
    http://www.coffeecup.com/video-player/
    Video LightBox --
    http://videolightbox.com/
    WWD Player -- supports playlists
    http://www.woosterwebdesign.com/flvplayer/
    Wimpy Rave -- supports playlists
    http://www.wimpyplayer.com/index.html
    JW Player --
    http://www.longtailvideo.com/
    FlowPlayer --
    http://flowplayer.org/
    YouTube --
    http://code.google.com/apis/youtube/getting_started.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Submit button help (please)

    I have tried asking for help on this topic before, but didn't get any replies. So I try again.
    I have created a pdf form with a submit button that submits the form to a webservice url. I submit it as HTML.
    I receive the form data just fine in my webservice, but I don't know what to return. It seems that the webservice always returns something. I have tried returning a string but get the following:
    Is it possible to return a message saying that the form was receive ok or that an error occurred?
    Does anyone have an example?
    Thanks
    Birthe

    When you have a form, the form has to point to something so that the action of pushing a button on the page has the website do something.
    <form method="post" action="dothis">
    That pretty much needs to lead the form. In my case, "dothis" is a php page that does the actual heavy lifting. I do not think it is a good idea to put a "mailto" on a website because it invites spam. One might as well announce one's email address to all of the spambots in the world. I don't do that for myself and I won't do that for a client.
    So, in my case, "dothis" is a php call.
    Here, your question probably needs to migrate over to the php help area, but I'll offer a solution:
    <?php
    mail("[email protected]", $subject, $message, $from);
    ?>
    In php, the "mail" command will tell a server (that can send an email) to send an email to the address, along with the text that you have set up for the email subject, the text of the message and the text you gathered from the form for either the name or the email address of the person filling out your form.
    The "dothis" php call takes the information from the filled out form as a post and you use php to parse that posting for the information you need from your form. You can also have php check for form validity or for blanks where you don't want them and stop the script if the visitor did not fill out the form:
    if(!$visitormail == "" && (!strstr($visitormail,"@") || !strstr($visitormail,".")))
    echo "<h2>Use Back - Enter valid e-mail</h2>\n";
    $badinput = "<h2>Your message was NOT submitted</h2>\n";
    echo $badinput;
    die ("Go back! ! ");
    if(empty($visitor) || empty($visitormail) || empty($visitorphone) || empty($notes )) {
    echo "<h2>Use your Back button - fill in all fields, No message was sent.</h2>\n";
    die ("Use back! ! ");
    The first "if" statement checks for something approximating a real email address, the second checks for blank fields that are required.
    That should get you started.

  • Need HELP with BUTTONS (help! help!)

    I am trying to create a "return to previous page" button, one that acts like the "Back" arrow on your web browser.
    I want to add this on my Master page, so that every chapter will have the same button in the same place with the same result.
    My manual says that "Return to Previous View" is a button option. But I can't get it to work.
    Please help, I need to finish this thing TODAY (July 16)

    Hate to be the bearer of bad news, but I don't think what you want is going to be so easy. It isn't something you can set up in a snap. And buttons may not be what you want at all. Buttons serve rather simple functions. I think you are looking at Indexing, and some fairly complex indexing at that.
    Now having said that, Return to Previous View does work (You do realize that these buttons only work in a PDF exported with Include Interactive Elements checked, right?), but you need something to get you to that next view in the first place. And I'm not sure how you can define that without indexing. Perhaps you could use anchored objects and Go to Anchor button, but I think the anchor would have to have something placed in it because it's found via the link in the object. Then a button in the appendix could be defined as Return to Previous View to get you back to the page you came from.
    As you can see, this could get pretty messy. Indexing tends to move you around the book much more seamlessly. But it is also something that has to be meticulously set up after the book is completely laid out.
    The InDesigner Podcast has a lesson on indexing as a request from one of his viewers. But in order to explain it he started with a lesson on Book Basics, then one on Table of Contents, Advanced TOC, Indexing, and finally Generating an Index. You can download the five podcasts from the InDesigner.com and watch them to get an idea of what's involved and how it may help in your situation.
    Sorry, but even if someone here with more expertise than I in this matter comes to your aid, you still have quite a bit of learning ahead of you to pull this off.

  • Dreamweaver, flash button help

    hi i am createing a website using dream weaver and my
    navigation bar has flash buttons as the links to other pages i have
    created, i have the buttons working fine but the users have to
    Double click on the button for the next page to be displayed. Is
    there away that the users will only have to click the flash button
    once for the new page to load up?
    i am using Dreamweaver 8, and the code for one of my buttons
    is like this
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
    width="100" height="23" align="absmiddle">
    <param name="movie" value="HomeButton.swf" />
    <param name="quality" value="high" /><param
    name="BGCOLOR" value="#333333" />
    <embed src="HomeButton.swf" width="100" height="23"
    align="absmiddle" quality="high" pluginspage="
    http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
    type="application/x-shockwave-flash" bgcolor="#333333"
    ></embed>
    </object>
    can any one help me with this please

    What will happen to those who do not have Flash installed?
    What will search
    engines (which don't read Flash links) do to spider your
    site? What will
    screen assistive devices (which don't read Flash links) do to
    navigate your
    site? What will you do when you move or rename a linked page
    (DW cannot
    manage the links)?
    Most experienced people don't use Flash navigation for these
    reasons.
    > Double click
    It's IE-only behaviour as a result of changes Microsoft made
    last
    year to their browser, regarding how Active Content (Flash,
    Quicktime etc)
    is handled, after losing a high profile court case.
    http://blog.deconcept.com/2005/12/15/internet-explorer-eolas-changes-and-the-flash-plugin/
    Background:
    http://en.wikipedia.org/wiki/Eolas
    See also
    http://www.adobe.com/devnet/activecontent/
    If you're running Dreamweaver 8.0.2, the fix is already built
    into DW's
    interface.
    If not, try
    http://blog.deconcept.com/swfobject/
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "tricky_utd" <[email protected]> wrote in
    message
    news:[email protected]...
    > hi i am createing a website using dream weaver and my
    navigation bar has
    > flash
    > buttons as the links to other pages i have created, i
    have the buttons
    > working
    > fine but the users have to Double click on the button
    for the next page to
    > be
    > displayed. Is there away that the users will only have
    to click the flash
    > button once for the new page to load up?
    >
    > i am using Dreamweaver 8, and the code for one of my
    buttons is like this
    >
    > <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=5,0,0,0" width="100" height="23"
    align="absmiddle">
    > <param name="movie" value="HomeButton.swf" />
    > <param name="quality" value="high" /><param
    name="BGCOLOR"
    > value="#333333" />
    > <embed src="HomeButton.swf" width="100" height="23"
    > align="absmiddle" quality="high"
    > pluginspage="
    http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Vers
    > ion=ShockwaveFlash" type="application/x-shockwave-flash"
    bgcolor="#333333"
    >></embed>
    > </object>
    >
    > can any one help me with this please
    >

  • Flash CS5 Button Help

    To start, I'm a total newbie in Flash, so I'm sorry if what I'm asking is ridiculously primitive, but I was literally thrown into this blindfolded and I'm using google and several forums to help me out.
    What I'm doing:  redesigning a website.  At the moment, the website has a flash file that introduces it's logo and subcategories of its' website on the top of the page.  What I wanted to do was make sure there was a hyperlink on the logo that would bring anyone back to the homepage, very basic stuff.  The issue I have run into is that the logo is actually a flash movie.  Different parts of the logo appear at different times, and I think this is what is specifically causing me issues.
    The logo that I want to hyperlink has several layers, and what I've done so far is select them all and create a button (F8, select 'Button' and rename it).  When I did that, I noticed the layers significantly changed and when I tested the movie, it looks terrible, choppy and not how it originally looked.
    I know the step after that is to go into behaviors and insert the url to which I want it to be hyperlinked.  The only thing is that I don't want to show a terrible flash movie to my boss even if it's hyperlinked to the homepage. 
    Anyone understand all that gibberish I wrote down?  Or does anyone see a flaw in what I'm doing?  I'm not 100% positive if the steps I'm taking are correct, I've been to several different sites, all of which tell me to do different things. 
    Initially I tried coding it with ActionScript, but I was having terrible issues with that as well. 
    If it helps, the file I'm working on was altered a while back.  Could it be that the file is not compatible or proper for Flash CS5? 
    Help!!!

    ... how do I give that shape/button a url?
    Since it is a button, it is already a self animating object that will react to mouse interactions, but only visually at this stage.  The first thing you need to do to make it useful code-wise is to assign it a unique instance name.  So you drag a copy of it out to the stage from the library, and while it's still selected, you enter that unique instance name for it in the Properties panel... let's say you name it "btn1"
    In AS3, to make a button work with code, you need to add an event listener and event handler function for it.  You might need to add a few (for different events, like rollover, rollout, clicking it, but for now we'll just say you want to be able to click it to get a web page to open.  In the timeline that holds that button, in a separate actions layer that you create, in a frame numbered the same as where that button exists, you would add the event listener:
    btn1.addEventListener(MouseEvent.CLICK, btn1Click);
    The name of the unique function for processing the clicking of that button is specified at the end of the event listener assignment, so now you just have to write that function out:
    function btn1Click(evt:MouseEvent):void {
       var url:String = "http://www.awebsite.com/awebpage.html";
       var req:URLRequest = new URLRequest(url);
       navigateToURL(req);
    ... how do I know it's properly placed on the correct area?
    What area?  If you place it where you want it, that should be correct. (?)
    ... how do I make sure it's invisible...?
    If you can't see it when you test the file and you know it's there and your cursor turns into  a hand when you are over where it should be, it's invisible.
    ...how do I see the other objects in the flash file I'm working on?
    Select Edit -> Edit Document to get out of the symbol editing mode and back to the file editing mode.  If you doubleclick an object on the stage, rather than clickingit in the library, you open it up in editing mode on the stage, but the stage and everything else will still be visible behind it in a faded tone.

  • My iPhoto book making process lost an option button, help?

    Hi, I have now ordered 3 medium softcovered books. After I placed these orders I realized that I should have increased my preference settings to the 300 dpi as suggested by many on this discussion board. So, I have since done so.
    Now when I go back into iPhoto and attempt to make an album one of the option buttons along the bottom, (just to the right of the "Page Type" pull down menu) has disappeared. It used to give me options as to how many photos, caption, colors of page to choose from.
    I am wondering if changing the preference setting could be at all the culprit? I am perplexed as to why this would have happened?
    Any knowledge would be appreciated. I do see that the "Page Type" pull down menu has some of these choices, but the other button had more options and I miss it.
    Thank you!
    iMac   Mac OS X (10.4.3)   800 MHz PowerPC G4, memory 512 MB SDRAM
    iMac   Mac OS X (10.4.3)   800 MHz PowerPC G4, memory 512 MB SDRAM

    Judy,
    To the right of "Page Type" are there two little arrowheads pointing to the right? If they are there, click on them and you will get a drop down menu with the options.
    Hope this helps!
    Karen
    iMac G3 450MHz   Mac OS X (10.4.3)  

  • Flash CS3 Button HELP

    Ok, so i'm very new to Flash.
    I have a web page & it has 9 buttons. I want the user to
    be able to click on anyone of these buttons & be taken to that
    page.
    I don't know how to do this in CS3?
    I have each button set up on it's own layer & set as a
    symbol. That is it, now what?
    If anyone can give me step-by-step instructions that would be
    great!
    I need this for a class project for tomorrow & I have
    spent a week trying to make it work but nothing!
    I'm very frustrated & confussed!
    Please, help if you can.
    thanks!!

    If you're doing this .fla in AS2.0 there are at least two
    popular ways of doing this. (I'm not sure of the AS3.0 syntax.)
    1) Click on a button, open the Actions panel and have
    ScriptAssist open. In the toolbox on the left you should see a list
    of functions, with headings Global Functions / Movie Clip Control.
    See the word 'on'? The basic functions you want begin with
    'on'...so click it, and you'll get a choice of onPress, onRelease,
    etc. Pick what you want the button to do and you're done. You
    should end up with code that looks something like this
    on (release) {
    gotoAndStop("Scene5", 16);
    (My above example would take you to frame 16 in Scene 5. If
    you have just one scene, leave out the Scene name.)
    You have to do this to each button, individually.
    2) If you'd rather stick all the code in one place, do it
    this way instead. First make sure each button has an instance name.
    In other words, select each button and in the Properties panel give
    it a name like: startButton_btn, stopButton_btn, etc. Open a new
    layer, call it Actions. Click on the first frame, open the Actions
    panel, and enter code like this for each button instance name you
    have:
    startButton_btn.onRelease = function() {
    play();
    If you have nine buttons, you should have nine functions set
    up like the above. Now save and test. If it doesn't work at first,
    you probably just typed something wrong.

  • Movie Clips/buttons  HELP!!

    I have 4 movie clips on a stage that are supposed to act as
    buttons(About, Resume, Work, Contact) When I roll over one movie I
    want the movie to play and stay on the screen. When the user goes
    to the next button and clicks and releases I want the previous
    movie clip that was on stage to disappear. I have tried with
    success with this code on the main stage but it only works for
    rollovers. I want releases. Here is the code.....
    b1. onRollOver = over;
    b1. onRollOut = out;
    b2. onRollOver = over;
    b2. onRollOut = out;
    b3. onRollOver = over;
    b3. onRollOut = out;
    b4. onRollOver = over;
    b4. onRollOut = out;
    b5. onRollOver = over;
    b5. onRollOut = out;
    function over() {
    this. gotoAndPlay(2);
    function out() {
    this. gotoAndPlay(3);
    Any help is appreciated!!

    Assuming that frame 1 is the "hidden" state for the clips,
    just change the code as follows:
    // add a variable to the root timeline
    var currentClip;
    // add function
    function click() {
    this._root.currentClip.gotoAndPlay(1);
    this._root.currentClip = this;
    // add code to buttons
    b1.onRelease = click;
    b2.onRelease = click;
    // and so on...
    if frame one is not the hidden state, just change the first
    line of the click() function:
    this._root.currentClip._alpha = 0;
    // then change the over() function
    function over() {
    this._alpha = 100;
    this.gotoAndPlay(2);
    Hope this helps,
    Albee

Maybe you are looking for

  • 3d bar ...counter-intuitive

    Post Author: Jon80 CA Forum: WebIntelligence Reporting HTML Interactive Viewer The Format chart dialog > Pivot tab screen is slightly counter-intuitive: - The order of the options Y-Axis, Z-Axis (optional) and X-Axis is usually meant to be sorted alp

  • BAPI for customer group wise sales

    Hello Experts, I m developing one report,in which i want customer group wise sales , collection & outstanding as on date. Is there any BAPI which helps. Please suggest. Ravi

  • BSP session management in Portal

    Hi all, I'm not sure if this is a Portal or BSP question... I have several BSP Iviews in my portal, and when i'm navigating between the different iview, I'm getting a large number of session of type  "Pluggin HTTP" in SM04 transaction. When the users

  • Problem with receiving photos

    Hello, If My Wife sending me some photos via send photo aplication nothing can to do and nothing is to get - message photo is unavailable. Thank you for ansver what do do 

  • Some bugs / errors with subforms and id references

    Hi! Just hit another issue: when I put few subforms on the page, the performances of JDeveloper drop to snail running speed! Any keypress took 15 seconds. CPU was 50% (one core full, other not used – looks like JDev on Windows does not utilize dual c