Help with making a back button

hi
in a game im making i have a start menu that then when you click play goes to the game after playing the game, when you die a game over screen appears with a play again button in it i want to put a back button to go to the first frame.
the way this is set up is that the game over menue is a movie clip with the play again button in it i want to have a back movie clip to make it go to the first frame
gotoAndStop(1) dosent seem to work or mabye i am doing it wrong
this my game class file as the game over menu does not have a class file:
package com.alienattack{
          import flash.display.MovieClip;
          import flash.events.Event;
          import flash.utils.Timer;
          import flash.text.TextField;
          import flash.text.TextFormat;
          import flash.display.Stage;
          public class Game extends MovieClip          {
                    static var ship:MovieClip;
                    static var enemyShipTimer:Timer;
                    static var scoreText:TextField;
                    static var score:Number;
                    static var healthMeter:HealthMeter;
                    static var enemyHealthMeter:EnemyHealthMeter;
                    static var gameOverMenu:GameOverMenu;
                    static var powerUpTimer:Timer;
                    static var miniBossTimer:Timer;
                    static var RocketShipTimer:Timer;
                    var bossCountdown:Number;
                    static var Bombtimer:Timer;
                    private var _stage:Stage;
                    static var backgroundMusic = new BackgroundMusic();
                    var Bullet;
                    public function Game(){
                                 this.addEventListener(Event.ADDED_TO_STAGE,init);
                    function init(e:Event):void{
                              _stage=stage;
                              KeyClass.initialize(stage);
                              stage.focus = this;
                              ship = new Ship();
                              ship.x = 300;
                              ship.y = 150;
                              _stage.addChild(ship);
                              enemyShipTimer = new Timer(2000);
                              enemyShipTimer.addEventListener("timer", sendEnemy);
                              enemyShipTimer.start();
                              RocketShipTimer = new Timer(3500);
                              RocketShipTimer.addEventListener("timer", sendEnemyRocket);
                              RocketShipTimer.start();
                              resetScore();
                              gameOverMenu = new GameOverMenu();
                              gameOverMenu.x = 0;
                              gameOverMenu.y = 0;
                              addChild(gameOverMenu);
                              gameOverMenu.visible = false;
gameOverMenu.playAgainButton.addEventListener("mouseDown", newGame); (this is where i think the play again button is but how would i make it so it when to the first frame)
            backgroundMusic.play(0,1000);
                    static function gameOver()
                              gameOverMenu.visible = true;
                              enemyShipTimer.stop();
                              miniBossTimer.stop();
                              RocketShipTimer.stop();
                              Bombtimer.stop();
                              powerUpTimer.stop();
                              for (var i in EnemyShip.list)
                                        EnemyShip.list[i].kill();
                    function newGame(e:Event)
                              gameOverMenu.visible = false;
                              ship.visible = true;
                              ship.x = 300;
                              ship.y = 150;
                              ship.takeDamage(-ship.maxHealth);
                              ship.addEventListener("enterFrame", ship.move);
                              resetScore();
                              enemyShipTimer.start();
                              miniBossTimer.start();
                              RocketShipTimer.start();
                              Bombtimer.start();
                              powerUpTimer.start();

hi
i make a new function back and change the new game to back but the screen does not go to the first frame
gameOverMenu.backbutton.addEventListener("mouseDown", back);
function back(e:Event)
                              gotoAndStop(1);
any help?

Similar Messages

  • Need help with java browser "Back" button

    All:
    I'm trying to make the "Back" button in my Java web browser work. Any help would be greatly appreciated. Here is my code:
    import javax.swing.*;
    import java.net.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    import java.util.*;
    import java.io.*;
    import javax.swing.text.html.*;
    import javax.swing.text.*;
    public class Browser implements HyperlinkListener, ActionListener
    String source = "http://www.google.com";
    final String GO = "Go";
    final String Back = "Back";
    JEditorPane ep = new JEditorPane(); //a JEditorPane allows display of HTML & RTF
    JToolBar tb = new JToolBar(); //a JToolBar sits above the JEditorPane & contains
    JTextField tf = new JTextField(40); // the JTextField & go button
    JLabel address = new JLabel(" Address: ");
    JButton back = new JButton(Back);
    JButton go = new JButton(GO);
    BorderLayout bl = new BorderLayout();
    JPanel panel = new JPanel(bl);
    JFrame frame = new JFrame("Billy Wolfe's Browser");
    protected Vector history;
    public Browser()
    openURL(source); //this method (defined below) opens a page with address source
    ep.setEditable(false); //this makes the HTML viewable only in teh JEditorPane, ep
    ep.addHyperlinkListener(this); //this adds a listener for clicking on links
    JScrollPane scroll = new JScrollPane(ep); //this puts the ep inside a scroll pane
    panel.add(scroll,BorderLayout.CENTER); //adds the scroll pane to center of panel
    tf.setActionCommand(GO); //gives the ActionListener on tf a name for its ActionEvent
    tf.setActionCommand(Back);
    tf.addActionListener(this); //adds an ActionListener to the JTextField (so user can
    go.addActionListener(this); //use "Enter Key")
    tb.add(back); //this adds the back button to the JToolBar
    tb.add(address); //this adds the Label "Address:" to the JToolBar
    tb.add(tf); //this adds the JTextField to the JToolBar
    tb.add(go); //this adds the go button to the JToolBar
    panel.add(tb,BorderLayout.NORTH); //adds the JToolBar to the top (North) of panel
    frame.setContentPane(panel);
    frame.setSize(1000,900);
    frame.setVisible(true);
    }// end Browser()
    public void openURL(String urlString)
    String start = urlString.substring(0,4);
    if(!start.equals("http")) //adds "http://" to the URL if needed
    urlString = "http://"+urlString;
    }//end if
    try
    URL url = new URL(urlString);
    ep.setPage(url); //this sets the ep page to the URL page
    tf.setText(urlString); //this sets the JTextField, tf, to the URL
    catch (Exception e)
    { System.out.println("Can't open "+source+" "+e);
    }//end try-catch
    }//end openURL
    public void hyperlinkUpdate(HyperlinkEvent he) //this allows linking
    HyperlinkEvent.EventType type = he.getEventType();
    if(type == HyperlinkEvent.EventType.ACTIVATED)
    openURL(he.getURL().toExternalForm());
    history.add(he.getURL().toExternalForm());
    }//end hyperlinkUpdate()
    public void actionPerformed(ActionEvent ae) //for the GO and BACK buttons
    String command = ae.getActionCommand();
    if(command.equals(GO))
    openURL(tf.getText());
    history.add(tf.getText());
    //JOptionPane.showMessageDialog(null, "This is a test");
    if(command.equals(Back))
    try
    String lastURL = (String)history.lastElement();
    history.removeElement(lastURL);
    lastURL = (String)history.lastElement();
    // JOptionPane.showMessageDialog(null, lastURL);
    ep.setPage(lastURL);
    if (history.size() == 1)
    back.setEnabled(false);
    catch (Exception e)
    System.out.println("ERROR: Trouble fetching URL");}
    }//end actionPerformed()
    }// end Browser class

    Here it is. I need to be able to click the Back button and view the previous URL.
    import javax.swing.*;
    import java.net.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    import java.util.*;
    import java.io.*;
    import javax.swing.text.html.*;
    import javax.swing.text.*;
    public class Browser implements HyperlinkListener, ActionListener
    String source = "http://www.google.com";
    final String GO = "Go";
    final String Back = "Back";
    JEditorPane ep = new JEditorPane(); //a JEditorPane allows display of HTML & RTF
    JToolBar tb = new JToolBar(); //a JToolBar sits above the JEditorPane & contains
    JTextField tf = new JTextField(40); // the JTextField & go button
    JLabel address = new JLabel(" Address: ");
    JButton back = new JButton(Back);
    JButton go = new JButton(GO);
    BorderLayout bl = new BorderLayout();
    JPanel panel = new JPanel(bl);
    JFrame frame = new JFrame("Billy Wolfe's Browser");
    protected Vector history;
    public Browser()
    openURL(source); //this method (defined below) opens a page with address source
    ep.setEditable(false); //this makes the HTML viewable only in teh JEditorPane, ep
    ep.addHyperlinkListener(this); //this adds a listener for clicking on links
    JScrollPane scroll = new JScrollPane(ep); //this puts the ep inside a scroll pane
    panel.add(scroll,BorderLayout.CENTER); //adds the scroll pane to center of panel
    tf.setActionCommand(GO); //gives the ActionListener on tf a name for its ActionEvent
    tf.setActionCommand(Back);
    tf.addActionListener(this); //adds an ActionListener to the JTextField (so user can
    go.addActionListener(this); //use "Enter Key")
    tb.add(back); //this adds the back button to the JToolBar
    tb.add(address); //this adds the Label "Address:" to the JToolBar
    tb.add(tf); //this adds the JTextField to the JToolBar
    tb.add(go); //this adds the go button to the JToolBar
    panel.add(tb,BorderLayout.NORTH); //adds the JToolBar to the top (North) of panel
    frame.setContentPane(panel);
    frame.setSize(1000,900);
    frame.setVisible(true);
    }// end Browser()
    public void openURL(String urlString)
    String start = urlString.substring(0,4);
    if(!start.equals("http")) //adds "http://" to the URL if needed
    urlString = "http://"+urlString;
    }//end if
    try
    URL url = new URL(urlString);
    ep.setPage(url); //this sets the ep page to the URL page
    tf.setText(urlString); //this sets the JTextField, tf, to the URL
    catch (Exception e)
    { System.out.println("Can't open "+source+" "+e);
    }//end try-catch
    }//end openURL
    public void hyperlinkUpdate(HyperlinkEvent he) //this allows linking
    HyperlinkEvent.EventType type = he.getEventType();
    if(type == HyperlinkEvent.EventType.ACTIVATED)
    openURL(he.getURL().toExternalForm());
    history.add(he.getURL().toExternalForm());
    }//end hyperlinkUpdate()
    public void actionPerformed(ActionEvent ae) //for the GO and BACK buttons
    String command = ae.getActionCommand();
    if(command.equals(GO))
    openURL(tf.getText());
    history.add(tf.getText());
    //JOptionPane.showMessageDialog(null, "This is a test");
    if(command.equals(Back))
    try
    String lastURL = (String)history.lastElement();
    history.removeElement(lastURL);
    lastURL = (String)history.lastElement();
    // JOptionPane.showMessageDialog(null, lastURL);
    ep.setPage(lastURL);
    if (history.size() == 1)
    back.setEnabled(false);
    catch (Exception e)
    System.out.println("ERROR: Trouble fetching URL");}
    }//end actionPerformed()
    }// end Browser class

  • Help with making JLabel visible for a few seconds only

    Hello guys,
    I need help with making a JLabel object visible for a few seconds only and disappear when a JButton has been clicked.
    Here is piece of code where I add mouse listener to the JButton object in my case is (jrbFigure1) and
    when is called sets icon and text to the JLabel jlbl object:
    jrbFigure1.addMouseListener(new MouseAdapter() {
    jrbFigure1.addMouseListener(new MouseAdapter() {
    public void mouseClicked(MouseEvent e) {
    jlbl.setIcon(cross);
    jlbl.setText(wrong);
    This piece of code is in a switch statement, the statement is in a method.
    The JLabel jlbl object is added in a panel in the constructor of the class.
    I really hope someone could help me on this issue.
    I would like to thank you in advance for any help or advice given.

    Bobson wrote:
    Sorry for posting my issue twice, I thought, I posted it in a wrong forum:)It's OK. We'll ask the mods to delete the other thread.
    I want the label to appear for X seconds when then button is pressed and disappear after that.Then a Swing Timer is what you want to use.
    I need to do this in a number of cases from a switch statement because I several buttons.Better to have several ActionListeners, one for each button or each type of button, rather than one ActionListener with a large switch statement, a so-called switch-board listener. They're messy to debug and upgrade.
    I tried to use Swing Timer, but I cannot set it properly.Go through the Sun Swing tutorial on Swing Timers. It's all outlined for you there: [http://java.sun.com/docs/books/tutorial/uiswing/misc/timer.html]

  • Had problem with bookmarks, history, back button and google links not working.

    For the last five days i've had problems with firefox. First, i noticed that it was running incredibly slowly and then that all the links in the google search were not working. Then i noticed that neither was the history, bookmarks or back button. I went on to facebook chat to ask for help. First, I was told to reinstall firefox, which didn't work. Then i was told to do a "clean" install where you rename the old firefox folder in the programs folder so that it makes sure when it's installed that everything is new and nothing is corrupted. That didn't work either. I then disabled my antivirus software and firewall to see if that was causing the problem. It was not. Then I installed an anti-malware program to remove any adware or spywar,e which it did remove from my computer, but it didn't solve the problem. The chat person was at a loss and I don't blame him/her because so was I.
    The reason I'm writing this is in case anyone else has the same problem. The only way I solved it was first by uninstalling and making sure to check the little box asking if you want all personal data and such associated with firefox also removed (which removes cookies as well) and then I finally thought to delete all the cookies from the rest of my computer also. Once all the cookies were gone and i had fully uninstalled firefox and personal data, I reinstalled it with a newly downloaded file and it is once again functioning properly. Hope this is helpful to anyone who's been ripping their hair out. :)

    '''I have the same problem!!
    But in my case, not just Google links.
    The problem happens with all the websites links.
    Please...
    Help us!!
    Thnx'''

  • Problems with Next and Back Buttons ActionScript 3.0

    Hi,
    I have set up a Back, Play and Next buttons in a slideshow I am making.  The next and back buttons work correctly until it gets to the end. 
    If I press the Next button it goes back to what appears to be Frame 1 and will not go to the next slide. If I press the Back button it will then go to Frame 201 and If I press next again it will go to Frame 1.  It will only go back and forth in between those frames.
    If I press the Back button from the beginning it goes through the slide show correctly then it gets stuck at Frame 1.  If I press next button it goes to Frame 121 and gets stuck in between 121 and 1.
    I can't figure this out please help.
    My code on Frame 1 is:
    stop();
    play_btn.addEventListener(MouseEvent.CLICK,playslideshow);
    function playslideshow(event:MouseEvent) { gotoAndPlay(2); }
    forward_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_2);
    function fl_ClickToGoToAndStopAtFrame_2(event:MouseEvent):void
      gotoAndStop(40);
    back_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_8);
    function fl_ClickToGoToAndStopAtFrame_8(event:MouseEvent):void
      gotoAndStop(281);
    My code on Frame 40 is:
    forward_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_7);
    function fl_ClickToGoToAndStopAtFrame_7(event:MouseEvent):void
      gotoAndStop(121);
    back_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_9);
    function fl_ClickToGoToAndStopAtFrame_9(event:MouseEvent):void
      gotoAndStop(1);
    My code on Frame 121 is:
    forward_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_3);
    function fl_ClickToGoToAndStopAtFrame_3(event:MouseEvent):void
      gotoAndStop(201);
    back_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_10);
    function fl_ClickToGoToAndStopAtFrame_10(event:MouseEvent):void
      gotoAndStop(40);
    My code on Frame 201 is:
    forward_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_4);
    function fl_ClickToGoToAndStopAtFrame_4(event:MouseEvent):void
      gotoAndStop(281);
    back_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_11);
    function fl_ClickToGoToAndStopAtFrame_11(event:MouseEvent):void
      gotoAndStop(121);
    My code on Frame 281 is:
    forward_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_5);
    function fl_ClickToGoToAndStopAtFrame_5(event:MouseEvent):void
      gotoAndStop(1);
    back_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_12);
    function fl_ClickToGoToAndStopAtFrame_12(event:MouseEvent):void
      gotoAndStop(201);

    I found the solution!  Flash CS5 Tutorial 6 Click On Button Go To Another Frame.avi - YouTube
    I had to Convert to Keyframes each frames I wanted to jump to on the buttons layer.  Then highlight the button and give each another instance name! Like forward1_btn, forward2_btn, back1_btn, back2_btn...  I did that and adjusted the action-script for each button.
    Frame 1
    stop();
    play_btn.addEventListener(MouseEvent.CLICK,playslideshow);
    function playslideshow(event:MouseEvent)
    gotoAndPlay(2);
    forward1_btn.addEventListener(MouseEvent.CLICK, Shoot_1);
    function Shoot_1(event:MouseEvent):void
      gotoAndStop(40);
    back1_btn.addEventListener(MouseEvent.CLICK, Back_1);
    function Back_1(event:MouseEvent):void
      gotoAndStop(281);
    Frame 40
    forward2_btn.addEventListener(MouseEvent.CLICK, Shoot_2);
    function Shoot_2(event:MouseEvent):void
      gotoAndStop(121);
    back5_btn.addEventListener(MouseEvent.CLICK, Back_5);
    function Back_5(event:MouseEvent):void
      gotoAndStop(1);
    And so on...

  • Help with making your own theme... (question)

    I have a Imovie HD 6.0.3, I wanted to make my own theme. The other themes are great, but i want to create my own, so I could show to make friends. I cant find anything related with making a new theme. PLEASE, PLEASE, PLEASE help me...

    Hi
    As Klaus1 writes - or taking the full step over to FinalCut.
    Here there is no themes in Express and a few title themes in FC Pro.
    BUT - When You master it - You can make nearly anything You like.
    Except themes - ready to be imported into iMovie - This require even more skill
    and very special tools eg to make the drop zones etc.
    Your - Using FCE/P and loving it Bengt W

  • Photoshop elements 6 help with making a clipping mask

    I have a button template (for a pinback) I put into elements. What I would like to do is make a country flag button. Right now the flag image is sitting ontop of the template. I would like to make a clipping mask (I think that's what's it's called) so that the image covers the entire part of the button that will be seen when it is printed. Here is a link to a button. This is what I am trying to do, but am not having any luck. I would a appreciate a step by step guide. I am using photoshop elements 6 on a mac OSX (ver. 10.5.8
    any help would be great
    http://www.petergreenberg.com/wp-content/uploads/2008/11/canadian_flag.jpg

    This is user to user tech support for folks having issues with Intel-based iMacs. This is not any kind of Adobe product support. If you need help with an Adobe product I suggest that you look for that help at the Adobe website.
    Dah•veed

  • Having issues with longMessage and back button usage

    Hello,
    I have part of an app that consists of 2 pages. The first page is a set of checkboxes and an Analyze (submit) button. when the user hits Analyze, I commit the transaction and forward to the second page which displays the checkboxes they checked and some other information regarding those choices. If a user wants to change their answers, they use the browser's back button and change their choices, then click Analyze again. This is working fine.
    I now want to add a longMessage to each checkbox above with some additional information about each choice. I've setup these up and they work fine; the dialog box launches just fine when they click the little (i) icon.
    So that's the status quo; here's my problem:
    Scenario
    1. User clicks one of the longMessage icons
    2. clears that box by clicking OK
    3. then hits Analyze to progress to the second page
    4. now user hits browser's Back button to go back to questions
    5. PROBLEM
    At this point, all my checkboxes are blank. If I try to re-check one and hit Analyze, I get an error stating "No current row for View (XXXLProcNavVO1)"
    If I don't ever click a longMessage icon, everything works fine. I can only replicate this if I follow the exact steps in the scenario.
    So what is wrong? Why am I losing my current row in my VO when I use the longMessage?
    I've included my CO from page 1 for reference below.
    Thanks!
    /*===========================================================================+
    | Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
    | All rights reserved. |
    +===========================================================================+
    | HISTORY |
    +===========================================================================*/
    package lanl.oracle.apps.icx.por.req.webui;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
    import oracle.apps.fnd.framework.webui.TransactionUnitHelper;
    //import oracle.apps.fnd.framework.webui.OADialogPage;
    import oracle.jbo.domain.Number;
    import oracle.jbo.Row;
    import oracle.apps.fnd.framework.OARow;
    * Controller for ...
    public class LANLProcNavCO extends OAControllerImpl
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject vo = (OAViewObject)am.findViewObject("XXXLProcNavVO1");
    if (!pageContext.isBackNavigationFired(false))
    // We indicate that we are starting the create transaction (this
    // is used to ensure correct Back button behavior).
    TransactionUnitHelper.startTransactionUnit(pageContext, "createProcNavForm");
    // This test ensures that we don't try to create a new doc if
    // we had a JVM failover, or if a recyled application module
    // is activated after passivation. If these things happen, BC4J will
    // be able to find the row that you created so the user can resume
    // work.
    if (!pageContext.isFormSubmission())
    am.invokeMethod("initPVO");
    String stringReqHeaderId = pageContext.getParameter("REQ_ID");
    Number defaultReqHeaderId = null;
    try
    defaultReqHeaderId = new Number(stringReqHeaderId);
    catch(Exception e)
    throw new OAException("ICX", "XXXL_INVALID_NUMBER");
    // set this value for subsequent form buttons pressed
    vo.setWhereClauseParams(null);
    vo.setWhereClauseParam(0,defaultReqHeaderId);
    vo.executeQuery();
    if (vo.getRowCount() == 0)
    vo.insertRow(vo.createRow());
    Row voRow = (Row)vo.first();
    voRow.setNewRowState(Row.STATUS_INITIALIZED);
    voRow.setAttribute("ReqHeaderId",defaultReqHeaderId);
    OAViewObject pvo = (OAViewObject)am.findViewObject("LANL838cPVO1");
    OARow prow = (OARow)pvo.first();
    prow.setAttribute("lReqID",stringReqHeaderId);
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject vo = (OAViewObject)am.findViewObject("XXXLProcNavVO1");
    // Pressing the "Apply" button means the transaction should be validated
    // and committed.
    if (pageContext.getParameter("Analyze") != null)
    // Simply telling the transaction to commit will cause all the Entity Object validation
    // to fire.
    // Note: there's no reason for a developer to perform a rollback. This is handled by
    // the framework if errors are encountered.
    am.invokeMethod("apply");
    // Assuming the "commit" succeeds, navigate back to the prev page with
    // and display a "Confirmation" message at the top of the page.
    TransactionUnitHelper.endTransactionUnit(pageContext, "createProcNavForm");
    // OAException confirmMessage = new OAException("XXXL", "XXXL_PROCNAV_CREATE_CONFIRM", null, OAException.CONFIRMATION, null);
    // Per the UI guidelines, we want to add the confirmation message at the
    // top of the search/results page and we want the old search criteria and
    // results to display.
    // pageContext.putDialogMessage(confirmMessage);
    vo.clearCache();
    vo.reset();
    pageContext.forwardImmediately("OA.jsp?page=/lanl/oracle/apps/icx/por/req/webui/LANLSupplDocSummaryPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    else if (pageContext.getParameter("Cancel") != null)
    am.invokeMethod("rollbackDoc");
    // Indicate that the Create transaction is complete.
    TransactionUnitHelper.endTransactionUnit(pageContext, "createProcNavForm");
    pageContext.forwardImmediately("OA.jsp?page=/oracle/apps/icx/por/req/webui/ShoppingCartPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    }

    Hi
    in this scenarion control is not going inside the condition
    if (vo.getRowCount() == 0) and therefore VO is not getting initialized
    why u are counting the row of VO to initialize the VO ,if possible pls remove this condition check ,problem will be solved .pls let me know in case of any issues.
    thanx
    Pratap

  • Need Help with Transporting Playlists Back to I-Tunes

    If anyone can help with this issue, I would really appreciate it. Here's my situation:
    After many long hours organizing my playlists on I-Tunes, my pc malfunctioned and I needed a complete software overhaul. Therefore, I have had to reinstall all software programs on my computer...including I-Tunes. Due to these procedures, I have lost all of my playlists on I-Tunes.
    I did manage to save all of my songs to an external hard drive, and I have copied them back to my I-Tunes library (albeit without any playlists). What I would like to be able to do is transfer the organized playlists from my ipod back to I-Tunes to avoid a massive reorganization project.
    I should point out that hardly any of my music has come from buying songs on I-Tunes so the "Transfer Purchases" option does not seem a viable option.
    Thanks so much to anyone who can offer suggestions.

    Aside from the method I already mentioned in this thread, there is Yamipod. This is a free program that transfers music from iPod back to the computer. However, it does not transfer playcounts/ratings etc.
    Other free programs are Pod Player, SharePod and Floola.

  • Row validation with Browser navigation (back button)

    I have created two pages for adding/editing rows in a view object (one for the add/edit page and the other for the DataEditComponent page) as per posting:
    Re: New user's access to views
    Scenario:
    * User fills in only part of the form leaving at least one mandatory field blank.
    * The form is displayed again with the error message as per the JboException (specifically the AttrValException).
    * The user then hits the Back button on the browser to go to some other page that uses a <jbo:RowsetIterate> tag to display the values in some other ViewObject.
    * It seems that validation occurs whenever the current row is changed in the framework. So eventhough a different RowSet is being displayed on the other page, the same execption is thrown.
    How should this incomplete row that is now in the cache be handled when the user navigates to a different page using the back button.
    It is inevitable that the current row will be changed by some other page in the site, so how should "invalid" rows be handled.
    I wouldn't be able to assume that other RowSet iteration logic will not affect the current row.
    Seems like it would be a problem, whether the new row is created on the DataEditComponent page or on the add/edit page itself, after the form is submitted.
    Thoughts?

    I have created two pages for adding/editing rows in a view object (one for the add/edit page and the other for the DataEditComponent page) as per posting:
    Re: New user's access to views
    Scenario:
    * User fills in only part of the form leaving at least one mandatory field blank.
    * The form is displayed again with the error message as per the JboException (specifically the AttrValException).
    * The user then hits the Back button on the browser to go to some other page that uses a <jbo:RowsetIterate> tag to display the values in some other ViewObject.
    * It seems that validation occurs whenever the current row is changed in the framework. So eventhough a different RowSet is being displayed on the other page, the same execption is thrown.
    How should this incomplete row that is now in the cache be handled when the user navigates to a different page using the back button.
    It is inevitable that the current row will be changed by some other page in the site, so how should "invalid" rows be handled.
    I wouldn't be able to assume that other RowSet iteration logic will not affect the current row.
    Seems like it would be a problem, whether the new row is created on the DataEditComponent page or on the add/edit page itself, after the form is submitted.
    Thoughts?

  • Issue with Safari's back-button, swipe, and scrolling

    After installing the recent security and iTunes update (12.0.1) I installed this morning, I've noticed that Safari's back-button, back mouse-swipe, and mouse scrolling will stop working on occasion. When this happens I can open a new tab or restart the browser and things are OK for a while. Safari's keyboard controls continue work when this happens. Mouse controls in other apps are fine.
    I'm running:
    - OS X 10.9.5 (13F34)
    - MacBook Pro, 13-inch, Early 2011
    Any ideas?

    The site you visited (with the trailer in it) uses a redirect script. When you hit the "Back" button, you are going back to the redirect page, which then redirects you back to the trailer, lol! What you want to do is to press and hold down the "Back" button, then go back two (sometimes more) pages and avoid the redirect.
    It's a common occurrence on many sites. It's not a Safari glitch. I agree it is annoying.

  • Problem with making a radio button default

    i am making a radio button default using : setSelected(true) method . the radio button is shown as selected but the event that should happen when the radio button gets selected is not done. should fire an event in code? help me out.

    private JRadioButton normal_ves_RB = new JRadioButton();
    private JRadioButton Barge_ves_RB = new JRadioButton();
    ButtonGroup bg=new ButtonGroup();
    bg.add(normal_ves_RB);
    bg.add(Barge_ves_RB);
    normal_ves_RB.setSelected(true); // here i am making this button default. its not firing the event bydefault.
    normal_ves_RB.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    normal_ves_RB_actionPerformed(e);
    private void normal_ves_RB_actionPerformed(ActionEvent e)
    how to make my action performed work when i first run this code by default. setSelected is making the button default but the event is not fired.

  • Help with making part of a picture transparent

    I am very new to Indesign, and I am trying to teach myself how to use it. I was using Microsoft Publisher for my last project, in which I was able to use a transparency tool to click on part of a .gif image to make it transparent, whilst leaving the rest of the image intact.
    I am trying to place an image on top of a background image using Indesign. My image is a picture of a sun, surrounded with a white box. When I place the sun on top of the background colour, I still get the white box around the sun, and I can't find any way of eliminating the white box, whilst retaining the yellow sun image. I hope this makes sense!
    Can anyone help with his? I will need to do this quite a few times during the course of my project so any help would be greatly appreciated.
    Many thanks. Bev

    Jeremy bowmangraphics wrote:
    Eugene,
    Is it fair to make the sweeping statement that "GIF is not a print format"?
    I don't know how “fair” the statement is, but it’s balls accurate. GIFs are RGB, limited to 256 colours only, and have only one bit of transparency. The format is absolutely inappropriate for print.
    I can think of a few situations in which GIFs are useful for print as well as the web. For example, GIFs allow nonprofessionals to use logos with solid blocks of color, simple transparency, without color management concerns, and so on, both on the web and in almost all print applications that nonprofessionals use.
    Automatic transmissions and power steering make it possible for a recent driver’s license recipient to take the family station wagon around Laguna Seca. That doesn’t make him Emerson Fitipaldi or make the car a Formula-1 racer.
    Isn't it a cheap-and-cheerful, universal, perfectly OK format for print?
    No.
    It has limitations that are obvious to professionals, but it isn't always a mistake to use it in print.
    It sure is. Print does not mean “printed to my $60 inkjet.” Print means “printed on a digital colour printer or on a press.” In that context, GIF’s only use is as a source for later conversion to a superior format. Even if printing to a POS inket, conversion to PSD, TIF, Illustrator, PDF, or even PNG would put the image into a superior format that is more suitable for print.
    GIF is not suitable for print. Period.

  • Help with making an Email Submit button on a form!

    Im making a form using livecycle for the first time.
    Im trying to put on it a email submit button - i used email submit field and made the button. Then in the Objects Palette, in the box that says email address i put in the email address that i want it to be sent to. I then tried to email the form, and i received an email, but the attachment was just a bunch of codes, not the form. I want the email to come through with the PDF form.
    I searched on help and this is what i found:
    3.
    In the Control Type area, select Submit. Data will be submitted according to the settings in the Submit tab.
    4.
    Click the Submit tab and type the URL protocol in the Submit to URL box.
    To
    Use this URL protocol
    Example
    Submit the package to an ftp site
    ftp
    ftp://ftp.gnu.org/gnu/GPL
    Submit the package to a web server
    http
    http://myserver/cgi-bin/
    Submit the package to a secure web server
    https
    https://myserver/cgi-bin/
    Submit the package to an email address
    mailto
    mailto:[email protected]
    5.
    Select PDF from the Submit As list.
    I cant find where to change these options - can someone help?
    Thanks!

    Hi,
    The issue is that if the form is not Reader Enabled, then users with Reader cannot submit the form as a PDF.
    They can submit it as an XML file and then you would re-import this back into the form on receipt. It is an extra step, but it does have the advantage that the data being submitted as an XML file is very small.
    If you really need/want the form to be submitted as a PDF AND your users have Reader, then the form will have to be Reader Enabled.
    There are two options:
    Reader Enable using Acrobat Standard (version 9) or Acrobat Professional (version 8). This will give certain rights, like the ability for users with Reader to save the form and for the form to be submitted as a PDF. However there are licensing restrictions, see EULA.
    The other option is to Reader Enable the form using LiveCycle Reader Extensions ES2. This is a server product, which entails additional cost and a cost to Reader Enable each form. It is intended for processing large volumes of forms/large volumes of data.
    There is a summary here:
    http://assure.ly/gYyYc2
    So there are a couple of options.
    Form NOT Reader Enabled:
    Users cannot save the data they input.
    Data must be submitted as an XML file and processed on receipt.
    Form IS Reader Enabled:
    Users can save the data they input.
    Data can be submitted as a PDF (or XML file).
    Hope that helps,
    Niall
    Assure Dynamics

  • Help with making buttons work within mc/shape tween

    hi,
    i've created a movie clip for a navigation link named
    "Products". when you mouse over the "Products" mc, the movie clip
    has a sub-navbar that tweens horizontally out of the movie clip.
    when the subnav is done coming out and stops, i have buttons that
    appear that i would like the user to be able to click on.
    everything works out fine until i roll over the button the rollover
    state doesn't work. i have a feeling it is because the button is
    nested, but not sure.
    i set up a simple example here:
    http://kurtcom.com/examples/jeannettes_damn_navbar.html
    let me know if you want me to email you the file as well,
    thanks!

    A single Path would just be an out line of your three shapes.  As you knew to create  the above using vectors requires three shape layers.  Shapes can only be filled  with a single color or pattern.  They also can be stroked and have layer styles added. Additional strokes may be need to highlight the green area like you show above..
    With CS6 you can merge shape layers into a single shape layer your result would be a single color shape however the merged paths would be the outlining path you seem to want. you can save the path in the path palette when the merged shape is the active layer.
    adding an empty layer and stroking the merged path,
    Message was edited by: JJMack

Maybe you are looking for

  • In Report,order by clause is not working

    Hi All, For the report i prepared the query in this one am using the order by clause,i run the query in the sql plus working fine am getting the data based on the order by clause.when i use the same query for the report am getting the data but not in

  • Word wrap with Flex 4

    Hi, Can someone help me in getting a wordwrap in Spark. Below is my code. Any help regarding this is highly Appreciated I  am trying to get wordwrap within a spark component, but I couldn't. Can someone fix this. Usoing Label or richtext or any contr

  • How can I get rid of Mystart Incredibar as my hoepage?

    You see, this sort of happened after I was downloading Photoshop CS2. Before then it was Babylon, but the Mystart is really bothering me because when I want a new tab, it freezes Firefox. I find it really annoying when I am loading something ''import

  • Automate USER BASED PACKAGE installations in SCCM 2012

    Hi All, I want to automate the installation of software(in my case a user based package) from the Application Catalog. Here is just some general information: 1. All software(Applications and Packages) deployed to Device Colllections will be published

  • Accessing BrowserLab behind a proxy

    Hi When I go to use BrowserLab from Dreamweaver CS5 I get this message: Your network preferences prevent us from communicating with the server. My work has a proxy with authentication needed to access the net. I can't find any internet access setting