How to connect "Next" and "Previous" ?

Hi everyone,
I am new in this with videoediting etc but I just managed to finish my first real videoproject and burned a DVD last night.
My first Encore project crashed after 3 days but I could start a new project and finish that one within 4 hours. Great program.
The DVD works fine except for1 thing:
I could not figure out how to connect "Next" and "Previous" in my Submenu for choosing clips.
So I just deleted these functions (!)
Looking forward to next project but I would like to use these 2 functions!
Thanks in advance!
Great forums in Adobe with Great People!

Thank you !
I thought it was to go to Next clip and previous clip. Not very good thinking.....
Now I understand!
Thanks again!

Similar Messages

  • How to make next and previous button function

    Hello
    Can anybody help me with how to achieve next and previous button function such as the one at www.bestbuy.com?
    I would appreciate any help or suggestion.
    Thank you!

    if you're not familiar with flash it might be easiest to place your initial "page" in frame 1, the 2nd (or next) page in frame 2, the 3rd/next page in frame 3 etc.
    place your previous and next buttons in their own layer that spans the main timeline (which will have as many frames as you have "pages").  give them instance names (say prevBtn and nextBtn).
    you can then use the following code placed in frame 1:
    var tl:MovieClip=this
    prevBtn.onRelease=function(){
    tl.prevFrame();
    nextBtn.onRelease=function(){
    tl.nextFrame();

  • How to done Next and Previous operations using(struts or jsp and servlets).

    I have some problem with Next and Previous Operations in my application. I solve that problem by my own. But I need some more information to solve that problem.
    In order to solve this problem, 1st i moved all the Dara Base records into one collection.And I set that collection Object in Session scope in Servlet file.And i dispatch the request to one jsp(Show.jsp) . The code of that is given bellow.
    <%@page language="java"%>
    <%@page import="java.util.*"%>
    <%@page import="home.servlet.beans.*"%>
    <%!
         public static int no=0;
    %>
    <html>
         <body>          
                   <%
                        String s=request.getParameter("nam");
                        if(s==null)
                             s="some";
                        ArrayList a=(ArrayList)session.getAttribute("tv");
                        if(!s.equals("pre"))
                             int i=no;
                             %>
                             <table border=1>
                   <tr>
                        <th>DEPTNO</th>
                        <th>DNAME</th>
                        <th>LOC</th>
                   </tr>
                   <%
                        if((no+1)<a.size())
                        for(i=no;i<(no+2);i++)
                             SelectBean sb=(SelectBean)a.get(i);
                             %>
                             <tr>
                                  <td><%=sb.getDeptno()%></td>
                                  <td><%=sb.getDname()%></td>
                                  <td><%=sb.getLoc()%></td>
                             </tr>
                             <%
                             no=no+2;
                        else
                             if(i<a.size())
                             for(i=no;i<a.size();i++)
                             SelectBean sb=(SelectBean)a.get(i);
                             %>
                             <tr>
                                  <td><%=sb.getDeptno()%></td>
                                  <td><%=sb.getDname()%></td>
                                  <td><%=sb.getLoc()%></td>
                             </tr>
                             <%
                             else
                                  out.println("<tr><td colspan='3'>There is no records to display</td></tr>");
                        else
                             %>
                             <table border=1>
                   <tr>
                        <th>DEPTNO</th>
                        <th>DNAME</th>
                        <th>LOC</th>
                   </tr>
                   <%
                             if(no==a.size())
                                  no=no-1;
                             int i=no;
                             for(i=no;i>(no-2);i--)
                                  if(i==-1)
                                       break;
                                  SelectBean sb=(SelectBean)a.get(i);
                             %>
                             <tr>
                                  <td><%=sb.getDeptno()%></td>
                                  <td><%=sb.getDname()%></td>
                                  <td><%=sb.getLoc()%></td>
                             </tr>
                             <%                               
                             no=no-2;
                             if(no<0)
                                  no=0;
                   %>
                   </table>
                   <br>
                   next
                   previous
         </body>
    </html>
    If u have any other idea please reply to me. Please copy the above code and work with your application.

    It's a classic paging feature.
    And since it's a classic feature, you have most of the work already done for you, like JSP paging tags.
    You just need to Google for "jsp tag paging" or something to that effect to get several useful links.

  • X6 : how to get next and previous controls working...

    Hi,
    May be i am missing how to do the same...but i can't get the the next video by pressing the next icon on the real player...i am viewing the video files from the gallery..Or the next and prev controls won't work..

    Hi,
    In that case it's too bad..

  • How to get next and previous page  in a Train Flow .

    Hi,
    For creating record I am using multi-step flow (train).
    I have three page and I want to navigate the page via multi-step flow (train).
    I followed the steps given in the Toolbox Tutorial of create purchase order and
    Locator Element: Page/Record Navigation in developer's guide.
    page1=/uttara/oracle/apps/uttaraimc/createcitizen/webui/PropertyCreatePG
    page2=/uttara/oracle/apps/uttaraimc/createcitizen/webui/HouseDetailsCreatePG"
    page3=/uttara/oracle/apps/uttaraimc/createcitizen/webui/EducationCreatePG"
    The page1 is navigated via 'Create' button in CitizenSearchPG
    Now on this Page1, when I clicks on the 'Next' button (to navigate to the next page in the same multi-step flow) I am getting following exception and its not navigating to page2.
    Error: Cannot Display Page
    You cannot complete this task because one of the following events caused a loss of page data:
    * You accessed this page using the browser's navigation buttons (the browser Back button, for example).
    * Your login session has expired.
    * A system failure has occurred.
    To proceed, please select the Home link at the top of the application page to return to the main menu. Then, access this page again using the application's navigation controls (menu, links, and so on) instead of using the browser's navigation controls like Back and Forward.
    Here is the code for CreateFooterCO,
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OANavigationBarBean navBean =
    (OANavigationBarBean)webBean.findChildRecursive("NavBar");
    if (navBean == null)
    MessageToken[] tokens = { new MessageToken("OBJECT_NAME", "NavBar") };
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", tokens);
    // Determine which page we're on so we can set the selected value. Each
    // time we navigate to and within the flow, the URL includes a parameter
    // telling us what page we're on.
    int step = Integer.parseInt(pageContext.getParameter("ccStep"));
    navBean.setValue(step);
    // Figure out whether the "Submit" button should be rendered or not;
    // this should appear only on the final page (Step 3).
    OASubmitButtonBean submitButton =
    (OASubmitButtonBean)webBean.findIndexedChildRecursive("Submit");
    if (submitButton == null)
    MessageToken[] tokens = { new MessageToken("OBJECT_NAME", "Submit") };
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", tokens);
    if (step != 3)
    submitButton.setRendered(false);
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    int currentStep = Integer.parseInt(pageContext.getParameter("ccStep"));
    // This button should only be displayed on the final page...
    if (pageContext.getParameter("Submit") != null)
    // Simply telling the transaction to commit will cause all the Entity Object validation
         // to fire.
    // Note that you must commit before asking WF for the next page, because
    // asking for the next page at this point will transition the WF to a
    // completed state, which means you won't be able to navigate back
    // if there are errors during the commit processing.
    am.invokeMethod("apply");
    TransactionUnitHelper.endTransactionUnit(pageContext, "citizenCreateTxn");
    // Don't forget to call this even on the last page so the activity associated with
    // this page completes and the Workflow transitions appropriately.
    String nextPage = OANavigation.getNextPage(pageContext);
    // For the final page, Workflow should be returning null -- and the user
    // can select the "Submit" button only on the last page. Something's
    // wrong.
    if (nextPage != null)
    throw new OAException("AK", "FWK_TBX_T_WF_UNEXPECTED_TRANS");
    else // we've just completed the flow
    // Assuming the "commit" succeeds, we'll display a Confirmation dialog that takes
         // the user back to the main "Purchase Orders".
    /* String poNumber = (String)pageContext.getTransactionValue("PO_NUMBER");
    MessageToken[] tokens = { new MessageToken("PO_NUMBER", poNumber),
    new MessageToken("PO_APPROVER", pageContext.getUserName()) };
    OAException confirmMessage = new OAException("AK", "FWK_TBX_T_PO_CREATE_CONFIRM", tokens);
    OADialogPage dialogPage = new OADialogPage(OAException.CONFIRMATION,
    confirmMessage,
    null,
    pageContext.getApplicationJSP() + "?OAFunc=FWK_TOOLBOX_PO_SUMMARY_CR&retainAM=Y",
    null);
    pageContext.redirectToDialogPage(dialogPage);
    else if ("goto".equals(pageContext.getParameter(EVENT_PARAM)) &&
    "NavBar".equals(pageContext.getParameter(SOURCE_PARAM)))
    // Note that the OANavigationBean publishes a "goto" event paremeter when
    // either the Back or Next button is pressed. You need to determine which way to
    // go based on the related "value" parameter.
    // Also note the check of "source" above to ensure we're dealing with the
    // page-level navigation here and not table-level navigation which is
    // implemented with the same Bean configured differently.
    int target = Integer.parseInt(pageContext.getParameter("value"));
    String workflowResult;
    if (target < currentStep)
    workflowResult = "PREVIOUS";
    else
    workflowResult = "NEXT";
    String nextPage = OANavigation.getNextPage(pageContext, workflowResult);
    if (nextPage != null)
    HashMap params = new HashMap(1);
    params.put("ccStep", IntegerUtils.getInteger(target));
    pageContext.setForwardURL(pageContext.getApplicationJSP() + "?" + nextPage, // target page
    null,
    KEEP_MENU_CONTEXT,
    "", // No need to specify since we're keeping menu context
    params, // Page parameters
    true, // Be sure to retain the AM!
    ADD_BREAD_CRUMB_NO, // Do not display breadcrumbs
    OAException.ERROR); // Do not forward w/ errors
    else
    throw new OAException("AK", "FWK_TBX_T_WF_NO_NEXT_PAGE");
    else if (pageContext.getParameter("Cancel") != null)
    am.invokeMethod("rollbackCitizenInfo");
    // Remove the "in transaction" indicator
    TransactionUnitHelper.endTransactionUnit(pageContext, "citizenCreateTxn");
    pageContext.forwardImmediately("OA.jsp?page=/uttara/oracle/apps/uttaraimc/createcitizen/webui/CreateCitizenSearchPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    How to resolve this issue?
    please suggest.
    Thanks & Regards,
    Sagarika

    Sagarika,
    Please go thru the dev guide which explains the train flow in the multistep update exercise. Compare the steps with ur implementation.
    - Senthil

  • Use "next" and "previous" buttons in two scroll panes

    Hello, I have a question about how to use next and previous buttons in two scroll panes. In fact, I plan to display two similar files (HTML) in two scroll panes seperately. the purpose is to find their differences, highlight these differences and finally traverse these differences one by one by using next and previous buttons.
    To realize this function, how should I mark their differences so that next and prevous buttons can recognize their locations? does anyone have idea?
    Thank you very much.

    Can "focus" resolve this problem? But how should I add focus to a line in one HTML files? Thank you.

  • How do I change the lable of next and previous button in GAF of FPM

    Hi Experts,
    How do I change the label of next and previous button in GAF application using FPM in each individual step?
    Thanks!

    Hello Anthony,
    as far as I am aware only the final step before the confirmation screen can be changed. Which you can do by clicking on it in the configuration view - click on the last but one step - and click on the next button - at the bottom of the screen you'll get a view where you can change the label of the step.
    There is some logic in this - in that it does make for a more consistent user experience across various apps.
    It's different to how we could do things in Java - but it's nice that there is a certain level of conformity across FPM apps.
    hope this helps,
    Cheers,
    Chris

  • How to disable browser next and previous buttons for entire ADF application

    Hi,
    JDev Ver : 11.1.1.2.0
    How can I disable the browser navigation buttons next and previous for my entire ADF application.
    If user click on page and then if it press backspace key then it should not go back to the previous opend url and the current page should remain as it is.
    How can I do this ?
    regards,
    devang

    Back button (and backspace) will always go to the previous page. However, with a single master page, the previous page will be the page that called the application so users won't be likely to use it to navigate. The idea of opening the application in a new window/tab is also a nice addition to prevent the back button from being enabled and yes that would block backspace as well. Combine both solutions and you'll have a tab with both back and forward button disabled for the whole application. I don't think there's any document specifically about this solution, but it's not exactly complicated, you seem to already have it actually. Can you precise your question?
    ~ Simon

  • Next and previous button

    Hi,
    Just got back from the APEX class. Very new at this.
    I just created two button called PREVIOUS AND NEXT. When I press PREVIOUS or NEXT button I want it to go to previous or next record within the same form page.
    What do I have to do to make it functional in APEX. I mean, what code,processes is needed and how to do it.
    I would appreciate it if someone has done it and maybe show me the code/process of how to do it. Maybe they can share their application on apex.oracle.com.
    Please let me know.
    Appreciate a lot
    Munish
    Edited by: user4848861 on Sep 4, 2009 8:37 AM

    Hi,
    When I first come to a page, I show an interactive report. Interactive report has an edit button.
    When user clicks on the edit button, it goes to a form where user can edit the record.
    Once the user edits the record, they want to go to the next or previous record. What needs to be done on next and previous button to accomplish that.
    For eg. If I am on record 1, when I press NEXT I should go to record 2.

  • Next and Previous button on detail page

    I am new to Apex development and have a need to develop an application that has 2 pages. The first page displays a list of employees for instance and allows the user to sort the list on difference columns e.g., first name, last name, salary etc. The user then clicks on a employee and navigates to a second page which shows the details of the employee that the user can update and save. The second page should also include Next and Previous buttons which show the details of the next or previous employee from the SORTED list on the first page so that the user can avoid constantly switching between the two pages. How do I implement this? I thought of using collections but I don't know how to populate the collection when the user navigates out of the first page and how to reference the collection on the second page. Note that in the real application there could be a large number of rows on the first page (a few thousand) and response time is critical. Any help would be much appreciated. I am using Apex 2.2.
    Thanks
    Sadanand

    Thanks Anton. And apologies for the delay in responding to your message. I will give it a try soon.
    On a related note and as alternate implementation (i.e. not using collections), is it possible to have a tabular form (showing only one row) on the second page using the same query and filter/sort conditions as the first page with an additional feature that the first time the page is displayed, the record selected on the first page is the one shown in the tabular form? I can then use the default Next and Prev buttons of tabular forms to navigate through the records in exactly same order as the first page (assuming ofcourse that new rows have not been added by an external process in the meantime). I hope I am clear in my description.
    Thanks for your help.
    Regards
    Sadanand

  • Next and Previous Button Question

    First my code :)
    import java.util.*;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.GridLayout;
    import java.lang.Object;
    import java.awt.Image;
    public class Inventory // Main class
    //main method begins execution of java application
    public static void main(String args[])
         int i;
         double totalInventory = 0.0;
         final int dispProd = 0; // variable for actionEvents
         final part[] myPart = new part[4];
         for (i=0; i<4; i++)
                   myPart[0] = new part("Glass Break", 730, 12, 32.19);
                  myPart[1] = new part("Motion", 995, 14, 37.69);
                  myPart[2] = new part("Keypad", 220, 12, 50.69);
                  myPart[3] = new part("Contact", 944, 44, 1.19);
         final JButton firstBtn = new JButton("First");
         final JButton prevBtn = new JButton("Previous");
         final JButton nextBtn = new JButton("Next");
         final JButton lastBtn = new JButton("Last");
         final JLabel label;
         final JTextArea textArea;
         final JPanel buttonJPanel;
         //Add Logo          
         ImageIcon icon = new ImageIcon("javashield.JPG");
                   label = new JLabel("Some Company Inc.", icon, JLabel.RIGHT);
         //Set the position of the text, relative to the icon:
         label.setVerticalTextPosition(JLabel.BOTTOM);
         label.setHorizontalTextPosition(JLabel.CENTER);
         buttonJPanel = new JPanel(); // set up panel
         buttonJPanel.setLayout( new GridLayout(1, 4)); //set layout
              // add buttons to buttonPanel
         buttonJPanel.add(firstBtn);
         buttonJPanel.add(prevBtn);
         buttonJPanel.add(nextBtn);
         buttonJPanel.add(lastBtn);
    textArea = new JTextArea(myPart[3]+" "); // create textArea for product display
         // add total inventory value to GUI
    textArea.append("\nTotal value of Inventory "+new java.text.DecimalFormat("$0.00").format(totalInventory)+"\n\n");
    textArea.setEditable(false);
    JFrame invFrame = new JFrame();
    invFrame.setLayout(new BorderLayout());
    invFrame.getContentPane().add(new JScrollPane(textArea), BorderLayout.CENTER);
    invFrame.getContentPane().add(buttonJPanel, BorderLayout.SOUTH);
    invFrame.getContentPane().add(label, BorderLayout.NORTH);
    invFrame.setTitle("INVENTORY:");
    invFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    invFrame.setSize(350, 350);
    invFrame.setLocationRelativeTo(null);
    invFrame.setVisible(true);
    // assign actionListener and actionEvent for each button
    firstBtn.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    textArea.setText(myPart[0]+"\n");
    }); // end firstBtn
    prevBtn.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    textArea.setText(myPart[1]+"\n");
    }); // end prevBtn
    nextBtn.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    textArea.setText(myPart[2]+"\n");
    }); // end nextBtn
    lastBtn.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    textArea.setText(myPart[3]+"\n");
    }); // end lastBtn
    } // end main
    } // end class Inventory6
    class part
       public String partName;
       public int itemNum;
       public double units;
       public double price;
       //default constructor
    public part()
            partName = "";
            itemNum = 0;
            units = 0.0;
             price = 0.00;
        }//end default constructor
         //Parameterized Constructor
    public part( String partName, int itemNum, double units, double price)
            this.partName = partName;
             this.itemNum = itemNum;
             this.units = units;
             this.price = price;
        }//end constructor
         public void setpartName(String partName) {
             this.partName = partName;
            public String getpartName()
                return partName;
        public void setitemNum ( int itemNum )
           this.itemNum = itemNum;
        public int getitemNum()
         return itemNum;
        public void setunits ( double units )
             this.units = units;
         public double getunits()
              return units;
         public void setprice ( double price )
             this.price = price;
         public double getprice()
         return price;
      //calculates product total     
         public double invTotal()
         return (units * price);
    public String toString()
              return "Part:  "+partName+
                        "\nPart Number:  "+itemNum+
                        "\nUnits on hand: "+(int)units+
                        "\nPrice per unit:  $"+price+
                        "\nPart Total:  $"+invTotal();
    //end Class Part
    // Class Part holds Part information
    class Wireless extends part
    private String wlPart; // variable for added feature
    public Wireless(String partName, int itemNum, double units, double price, String addWL)
    // call to superclass  constructor
    super(partName, itemNum, units, price);
    wlPart = addWL;
    }// end constructor
    public void setwlPart(String addWL) // method to set added feature
    wlPart = addWL;
    public String getwlPart() // method to get added feature
    return wlPart;
    public double totalRestock() // method to set value and add restock fee
    return units * price * 0.05;
    public String toString()
    return "Part:  "+partName+
                        "\nPart Number:  "+itemNum+
                        "\nUnits on hand: "+(int)units+
                        "\nPrice per unit:  $"+price+
                        "\nRestock Fee:  $"+totalRestock()+     
                        "\nPart Total:  $"+invTotal();
    } I need to make my next and previous button keep going through the array. They go next or previous one time and stop. I know it is because of the way I wrote the statement
    textArea.setText(myPart[2]+"\n");What I can't figure out is how to make that statement be the current myPart and add 1 to it. I tried textArea.setText(myPart[i]+1+"\n");and it did not work either, I got these errors:
    C:\Inventory\Inventory.java:92: local variable i is accessed from within inner class; needs to be declared final
    textArea.setText(myPart[i]+1+"\n");
    ^
    C:\Inventory\Inventory.java:92: operator + cannot be applied to part,int
    textArea.setText(myPart[i]+1+"\n");
    ^
    2 errors
    So I tried to write {nextItem()}
    and writing a method for next item,
    nextBtn.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    nextItem();
    }); // end nextBtn
    lastBtn.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    textArea.setText(myPart[3]+"n");
    } // end lastBtn actionEvent
    }); // end lastBtn actionListener
    } // end main
    private static void nextItem();
    if (myPart < myPart[]-1)
         myPart++;
         textArea.setText(myPart[0]);
    }and I get this error
    C:\Inventory\Inventory.java:109: '.class' expected
    if (myPart < myPart[]-1){
    ^
    1 error
    I thought '.class' expected meant I was missing a bracket, but I can't see where I am missing a bracket.
    I feel dumber by the minute.
    Am I not seeing something?

    Another suggestion. First create a non-GUI Inventory class, something like this:
    public class Inventory
        private part[] myPart;
        private int index = 0;
        public Inventory()
            myPart = new part[4];
            myPart[0] = new part("Glass Break", 730, 12, 32.19);
            myPart[1] = new part("Motion", 995, 14, 37.69);
            myPart[2] = new part("Keypad", 220, 12, 50.69);
            myPart[3] = new part("Contact", 944, 44, 1.19);
        public part getPart(int i)
            //TODO fill this in
        public part getFirst()
            //TODO fill this in
        public part getLast()
            //TODO fill this in
        public part getNext()
            //TODO fill this in
        public part getPrev()
            //TODO fill this in
        public double getTotalInventory()
            //TODO fill this in
        // this main is here only to test out the class
        public static void main(String[] args)
            Inventory inv = new Inventory();
            for (int i = 0; i < 4; i++)
                System.out.println(inv.getPart(i));  
                System.out.println();
            System.out.println("getFirst: " + inv.getFirst());
            System.out.println();
            for (int j = 0; j < 6; j++) // deliberately set to be > 4
                System.out.println("getNext: " + inv.getNext());
                System.out.println();
            for (int j = 0; j < 6; j++)
                System.out.println("getPrev: " + inv.getPrev());
                System.out.println();
            System.out.println("getLast: " + inv.getLast());
    }Then use this class as a variable within another class, say InventoryGUI. In this second class, the "next" button would call the Inventory object's getNext() method.

  • Next and previous button issue with Prettyphoto in filtered gallery

    Hi there,
    I'm stryggeling with a next and previous button issue with Prettyphoto in filtered gallery.
    Like to have it like this: http://demohtml.templatesquare.com/think/portfolio.html#!prettyPhoto
    (next and previous buttun are there as well social connection)
    My problem is this: http://finca-sonrisa.bitl.nl/sonrisa_gallery.html
    (social connection is there but no next and previous buttons??)
    Anybody who has a solution fot this. Have tried to change the CSS, Javascript and has followed the instructions from Prettyphoto but without any succes.
    Your help we muchly appriciated,
    Best Regards,
    Rolf

    bump PLEASE HELP

  • 'Next' and 'Previous' buttons in master/detail region

    Hi,
    I've managed to successfully create a master/detail region
    which is basically a very simple photo gallery.
    The left column shows the thumbnails, and when I click on
    them it shows the full-size version in the right column.
    I've been trawling userguides and forums for hours now, and I
    just can't work out how I can put a 'next' and 'previous' button
    beneath the large image enabling the viewer to move to the next
    image.
    I'm guessing it might be something to do with setRowNumber,
    but I'm just not sure.
    I'm pulling my (receding) hair out on this one, so any help
    or useful links would be much appreciated!
    My (basic) code below
    <div spry:region="dsGT" id="thumbholder">
    <div id="thumb" spry:repeat="dsGT"><img
    src="onlinegallery/thumbs/{@path}" width="50" height="50"
    spry:setrow="dsGT"></div>
    </div>
    </div>
    <!--End Navigation Div-->
    <div id="copy">
    <div id="fullimage">
    <div spry:detailregion="dsGT">
    <img src="onlinegallery/main/{@path}" />
    </div>
    Many thanks!

    They make a call to JavaScript, I'm guessing you knew that?
    I'm 96.7% JS illiterate, so I'm incapable of explaining it.
    You have to download the Spry Framework, unpackage it, look
    in the Demos folder, then look in the Gallery folder. Gallery.js, i
    think, is where that JS call goes to in order to switch out the
    next/prev image.
    the download is here:
    http://labs.adobe.com/technologies/spry/

  • Next and Previous Buttons, n00b edition

    OK, I am trying to construct a "timeline" flash file, where
    basically you click either a next or previous button to move
    through different frames, and I think I know how to do everything
    other than the next and previous buttons. Two questions:
    Would this be easier as AS2.0 or AS3.0?
    If I use AS3, would this code work, and is "my_mc" simply the
    name of the layer with the navigable frames?
    next_btn.addEventListener(MouseEvent.MOUSE_UP,buttonPressed);
    prev_btn.addEventListener(MouseEvent.MOUSE_UP,buttonPressedprev);
    function buttonPressed(event:MouseEvent){
    my_mc.nextFrame()
    function buttonPressedprev(event:MouseEvent){
    my_mc.prevFrame()
    Sorry if this is confusing, I am such a n00b I don't even
    know how to ask questions properly.

    sholditch,
    > This is a huge help and one of the better explanations
    of AS
    > coding I've ever seen. Thanks a ton.
    Thanks!
    > However, I think I may be jumping ahead too much.
    Sure, no worries. It's definitely dizzying at the beginning.
    > Follow up questions, n00b style:
    >
    > 1. What would be the equivalent of the nextFrame()
    method
    > for previous? Tried searching help and googling, but
    getting
    > too much other stuff to wade through.
    Google absolutely rocks, but I hear ya ... you have to be
    willing to
    wade through numerous search results. Fortunately, the Help
    docs usually
    get you directly to your answer -- and quickly, at that -- if
    you just know
    how to navigate them. If you're using Flash CS3, the Help
    docs are local,
    though optionally available online. If you're using Flash
    CS4, the docs are
    online and open in a browser, in either case, what you're
    looking for
    specifically is the ActionScript 2.0 Language Reference (if
    you're using
    AS2) or the ActionScript 3.0 Language and Components
    reference (if you're
    using AS3).
    AS2:
    http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=Part2_AS2_LangRef_1.html
    AS3:
    http://help.adobe.com/en_US/AS3LCR/Flash_10.0/index.html
    In the case of AS2, you'll click on the lefthand side. Open
    up
    "ActionScript 2.0 Language Reference," then "ActionScript
    classes," and
    you're in. In the case of AS3, you'll see the classes already
    listed on the
    lefthand side.
    Now ... you've coded up your button, which means you
    consulted the
    Button (AS2) or SimpleButton (AS3) class to see what was
    available to you.
    (I'm speaking hypothetically, of course. When you've become
    more
    comfortable with the docs, this will often describe your
    initial steps.)
    You want to code up a button symbol, so that means you've
    looked up the
    Events heading for the appropriate class to see what this
    object can react
    to, such as a button click. You've found your event --
    onRelease or
    MouseEvent.CLICK -- and have associated that event with a
    custom function.
    Now, you're on to the next step. In this case, the object
    you're
    looking for is no longer a button. It's a movie clip, because
    you want this
    function to send the main timeline forward or backward.
    Again, your first
    question is always: a) what object am I dealing with? Here,
    it's the
    MovieClip class, so that's where you flip to. Your second
    question is: b)
    what category am I looking for? If characteristics, look up
    Properties; if
    something the object can do, look up Methods; if something
    the object can
    react to, look up Events. In this case, you want to send the
    timeline
    somewhere. That's something the timeline (that is, this
    particular movie
    clip) can do. The things-an-object-can-do category is
    Methods, so that's
    where you flip to.
    You'll see a decent selection in either language, including
    the common
    gotoAndPlay(), gotoAndStop(), and so on. You'll also see
    nextFrame() and
    prevFrame(). Bingo! (Note, both versions of the language rely
    on something
    called inheritance, which behaves just like it sounds. Just
    as we humans
    inherit traits from our predecessors, most classes inherit
    traits from other
    classes up the family tree. In the AS3 docs, you'll see a
    "Show Inherited
    Public Methdods [or Properties, or Events]" hyperlink. If you
    need more
    detail, be sure to click that link. In the AS2 docs, the
    inherited items
    are listed in a box beneath each heading. Any given class may
    or may not
    have inherited items.)
    So you really don't have to wade too far. Think of what
    object you're
    dealing with, then jump to the relevant category.
    > 2. How do I make the next and previous buttons the only
    > controls that will move to the next or previous frames?
    I
    > plugged in the code into a separate as_layer and when I
    > test the scene it just goes through the frames
    automatically.
    Movie clips (including the main timeline) just animate
    naturally -- they
    *want* to move -- so if you want a timeline to stop, you have
    to instruct it
    to. Here again, you'll look up the MovieClip class and,
    because you want to
    find out how to *do* something (how to stop this movie clip),
    you'll jump to
    the Methods section. Sure enough, there's a MovieClip.stop()
    method.
    In frame 1 of your main timeline, simply type stop(), and
    that'll do it.
    The reason it works is because you're invoking a MovieClip
    method on a
    MovieClip instance -- the main timeline. If you wanted to
    stop a movie clip
    symbol, you'd have to give it an instance name, then invoke
    the method on
    that particular instance, like this:
    myMovieClip.stop();
    ... in which case, myMovieClip is the instance name, and this
    clip happens
    to site in the same timeline as this code appears.
    Alternatively, you could enter the timeline of that movie
    clip and
    simply put stop() in its own first frame. That would do it
    too. In either
    case, you've invoked a MovieClip method on a particular movie
    clip. All you
    ever need is an object reference (implicit, because you're in
    that object's
    scope) or an instance name (or a variable that, by some other
    mechanism,
    refers to a particular object) and then you're set. With that
    reference in
    hand, you simply name the reference, put a dot, then invoke
    the desired
    property, method, or event.
    In the case where you simply invoke stop() on the main
    timeline, you
    *could* reference the main timeline directly, like this:
    this.stop();
    The "this" keyword is a special reference that refers to
    whatever scope
    its in. Because your code appears inside a keyframe, its
    scope is the movie
    clip in which that keyframe appears, therefore "this" -- in
    that context --
    refers to that movie clip. But as I showed earlier, you can
    also simply
    leave off the prefix object reference because Flash will know
    what you mean
    (that is, which movie clip you mean).
    Eventually, when you're more comfortable, you'll reference
    instances of
    other kinds of objects, such as sounds, text formatting
    objects, and more.
    In those cases, your object reference -- an instance name, or
    a variable --
    will act the same way, but you'll only be able to invoke
    functionality from
    the relevant class.
    If you have Sound instance, for example, you couldn't do
    this:
    mySound.gotoAndPlay(15);
    ... because sounds don't have timelines, and the Sound
    class's Methods
    section doesn't feature a gotoAndPlay() method. And that
    totally makes
    sense, right?
    > If you have a beginner's guide to actionscripting,
    focused
    > on AS3, I will buy it today.
    I'm happy to keep answering your questions here, but yes, I
    do have a
    few books you might be interested in. If you're using Flash
    CS3, you might
    consider Tom Green's and my Foundation Flash CS3 for
    Designers (friends of
    ED) (
    http://tinyurl.com/2k29mj),
    and if you're using Flash CS4, you'll want
    the current version of that book (
    http://tinyurl.com/5j55cv).
    Bear in mind,
    these are "foundation" books, so they cover all of Flash, not
    just
    ActionScript. Still, there's tons of ActionScript in either
    one
    (exclusively AS3, by happenstance), and we've received
    positive feedback on
    the ActionScript Basics chapter, in particular.
    I also recently finished an AS2-to-AS3 migration book for
    O'Reilly
    http://tinyurl.com/2s28a5),
    but that one may not be especially useful for
    you, because it focuses more on developers who have a basic
    understanding of
    AS2 but feel bewildered when it comes to AS3.
    There's also my blog, (quip.net/blog), which has tons of AS2
    stuff, and
    is slowly growing new AS3 content. One of my co-authors for
    the O'Reilly
    book, Rich Shupe, co-authored an ActionScript 3.0 book
    specifically for
    beginners, so take a look, read the reviews, and see if the
    publisher offers
    sample chapters. They often do, and that's usually a good
    indicator -- to
    me, anyway -- of how a particular author's style gels (or
    doesn't gel) with
    your particular learning style.
    David Stiller
    Contributor, How to Cheat in Adobe Flash CS3
    http://tinyurl.com/2cp6na
    "Luck is the residue of good design."

  • Enabling Next and Previous buttons in their conventional functions

    How do I enable standard "Next" and "Previous" buttons for
    WebHelp in RoboHelp 2002 r2?
    I learned from a previous message that the default "Next" and
    "Previous" buttons that are displayed on the (small) Nav bar are
    for Browse sequences only. I need to display "Next" and "Previous"
    in their more conventional functions - as a method for moving
    sequentially to topics already viewed.
    Thanks for all your help - CKA

    Hi beckela and welcome to our community
    The link below should help with this.
    Click
    here

Maybe you are looking for

  • Cfchart static items

    I have a query that I am outputing to a chart. That is all working fine. The question I have is has anyone out there added static items to a cfchart. I need to add to horizontal lines and one sloping line to my chart and they are always in the same l

  • Will the Palm TX sync with my macbook 10.5.1 osx??

    I need to buy a palm and I am interested in the Palm TX.  It does not say that it supports MAC 10.5.1, so will I not be able to sync it to my computer?  What is the best option when looking for a palm to sync with my mac??  I appreciate any advice! P

  • Is this product fit for beta?

    Hi all I can't seem to get the Oracle connections working, except by using a thin driver. Also the general speed of Jdeveloper 2 is appalling. The user interface is extreamly slow and freezes up when you click to fast, is this going to change in the

  • Over-riding autocorrect in Pages

    Hi, I want to be able to over-ride autocorrect in Pages - in MSWord it is possible to over-rule an automatically corrected word by simple retyping it, but this does not seem to work for me in Pages, at least in the following example. I want to start

  • Http server run as services on win2k?

    Hi, I have installed oracle 9i to my win2k and would like to setup the http server to run as services, but can't found any document about it. This is command line how I start OC4J from report 9i (startinst.bat): C:\work\programs\oracle\developer\jdk\