Adding functionality to Next button

Hi,
I am inplementing a train with 3 pages. While navigating from page 2 to page 3. I need to fire a server side API. I am having difficulty in distinguishing the "Next" and "Back" buttons since both buttons raised the "goto" event. As a result my validation fires on both Next and Back button. How can I distinguish the Next button from Back button, or how can I work around it.
Thnaks a lot

I figured it out. It seeme like the framework is maintaing a parameter name "value" which contain the target page. Here is how it work for me..
if (("goto".equals(pageContext.getParameter(EVENT_PARAM))) &&
("3".equals(pageContext.getParameter("value"))))

Similar Messages

  • Adding functionality to existing buttons, not overriding

    Hi,
    I have a toolbar that I created that has some new buttons as well as some of the already existing buttons in acrobat. I know we can use AVSetExecuteProc() to set the functionality of the buttons. For the already existing buttons, is there some way to add to the existing functionality and not completely override it?

    Hi,
    I'm trying to "head patch" the button's execution proc. How could I achieve
    this?

  • I want to call dynamically next 12 images by function on next button...

    my script is ........
    import mx.transitions.Tween;
    import mx.transitions.Zoom.*;
    import caurina.transitions.*;
    var myGalleryXML = new XML();
    myGalleryXML.ignoreWhite = true;
    myGalleryXML.load("gallery24.xml");
    myGalleryXML.onLoad = function() {
        _root.gallery_x = myGalleryXML.firstChild.attributes.gallery_x=100;
        _root.gallery_y = myGalleryXML.firstChild.attributes.gallery_y;
        _root.gallery_width = myGalleryXML.firstChild.attributes.gallery_width;
        _root.gallery_height = myGalleryXML.firstChild.attributes.gallery_height;
        _root.myImages = myGalleryXML.firstChild.childNodes;
        _root.myImagesTotal = myImages.length;
        _root.thumb_height = myGalleryXML.firstChild.attributes.thumb_height;
        _root.thumb_width = myGalleryXML.firstChild.attributes.thumb_width;
        _root.full_x = myGalleryXML.firstChild.attributes.full_x;
        _root.full_y = myGalleryXML.firstChild.attributes.full_y;
        callThumbs();
    function callThumbs() {           
        _root.createEmptyMovieClip("wall",_root.getNextHighestDepth());
        wall._x = _root.gallery_x=0;
        wall._y = _root.gallery_y=230;
    wall.addEventListener(MouseEvent.CLICK);
        var clipLoader = new MovieClipLoader();
        var preloader = new Object();
        clipLoader.addListener(preloader);
               /*myImagesTotal*/
    for (i=0; i<6; i++) {
            thumbURL = myImages[i].attributes.thumb_url;
            myThumb_mc = wall.createEmptyMovieClip(i, wall.getNextHighestDepth());
            myThumb_mc._x = _root.thumb_height*i;
            myThumb_mc._x = _root.thumb_position=-3260+i*765;
            clipLoader.loadClip("shop/"+thumbURL,myThumb_mc);
            preloader.onLoadStart = function(target) {
                target.createTextField("my_txt",target.getNextHighestDepth(),0,0,10,10);
                target.my_txt.selectable = false;
            preloader.onLoadProgress = function(target, loadedBytes, totalBytes) {
                target.my_txt.text = Math.floor((loadedBytes/totalBytes)*100);
            preloader.onLoadComplete = function(target) {
                new Tween(target, "_alpha", Strong.easeOut, 0, 100, .5, true);
                target.my_txt.removeTextField();
                target.onRelease = function() {
                    callFullImage(this._name);
                target.onRollOver = function() {
                    this._alpha = 100;
                target.onRollOut = function() {
                    this._alpha = 100;
    for (i=6; i<12; i++) {
            thumbURL = myImages[i].attributes.thumb_url;
            myThumb_mc = wall.createEmptyMovieClip(i, wall.getNextHighestDepth());
            myThumb_mc._x = _root.thumb_height*i;
            myThumb_mc._x = _root.thumb_position=-7367+i*765;
            myThumb_mc._y = _root.thumb_position=180;
            clipLoader.loadClip("banner/"+thumbURL,myThumb_mc);
            preloader.onLoadStart = function(target) {
                target.createTextField("my_txt",target.getNextHighestDepth(),0,0,10,10);
                target.my_txt.selectable = false;
            preloader.onLoadProgress = function(target, loadedBytes, totalBytes) {
                target.my_txt.text = Math.floor((loadedBytes/totalBytes)*100);
            preloader.onLoadComplete = function(target) {
                new Tween(target, "_alpha", Strong.easeOut, 0, 100, .5, true);
                target.my_txt.removeTextField();
                target.onRelease = function() {
                callFullImage(this._name);
                target.onRollOver = function() {
                    this._alpha = 100;
                target.onRollOut = function() {
                    this._alpha = 100;
    function callFullImage(myNumber) {
        myURL = myImages[myNumber].attributes.full_url;
        myTitle = myImages[myNumber].attributes.title;
        _root.createEmptyMovieClip("ajit",_root.getNextHighestDepth());
        ajit._x = _root.full_x=130;
        ajit._y = _root.full_y=32;
        /*by forum*/
        _root.onEnterFrame = function() {
       wall._alpha = 0;
       if(_root._currentframe==2)
          wall._alpha = 100;
    this.gotoAndStop(21);
        var fullClipLoader = new MovieClipLoader("ajit");
        var fullPreloader = new Object();
        fullClipLoader.addListener(fullPreloader);
        fullPreloader.onLoadStart = function(target) {
            target.createTextField("my_txt",ajit.getNextHighestDepth(),0,0,400,20);
            target.my_txt.selectable = false;
        fullPreloader.onLoadProgress = function(target, loadedBytes, totalBytes) {
            target.my_txt.text = Math.floor((loadedBytes/totalBytes)*100);
        fullPreloader.onLoadComplete = function(target) {
            new Tween(target, "_alpha", Strong.easeOut, 0, 100, .5, true);
            target.my_txt.text = myTitle;
        fullClipLoader.loadClip("full_images/"+myURL,ajit);
    /*function for call next 12 images*/
    var gapX:Number=5;
    var nextX:Number = 13;
    var loadNum:Number=13;
    var preloader:Object={};
    var clipLoader:MovieClipLoader=new MovieClipLoader();
    clipLoader.addListener(preloader);
    function loadnextF(){
        thumbURL = myImages[loadNum].attributes.thumb_url;
            myThumb_mc = wall.createEmptyMovieClip(loadNum, wall.getNextHighestDepth())
    myThumb_mc._alpha=0;
            clipLoader.loadClip("shop/"+thumbURL,myThumb_mc);
            preloader.onLoadStart = function(target) {
                target.createTextField("my_txt",target.getNextHighestDepth(),0,0,10,10);
                target.my_txt.selectable = false;
            preloader.onLoadProgress = function(target, loadedBytes, totalBytes) {
                target.my_txt.text = Math.floor((loadedBytes/totalBytes)*100);
            preloader.onLoadComplete = function(target) {
    target._x = nextX;
    nextX += target._width+gapX;
    loadNum++;
    if(loadNum<12){
    loadnextF();
    } else {
    // all images loaded.  do whatever.
                new Tween(target, "_alpha", Strong.easeOut, 0, 100, .5, true);
                target.my_txt.removeTextField();
                target.onRelease = function() {
                    callFullImage(this._name);
                target.onRollOver = function() {
                    this._alpha = 100;
                target.onRollOut = function() {
                    this._alpha = 100;

    This appears to be the same issue as your other post, just less meaningful information.  Please don't post twice for the same problem.

  • Adding a functionality to the next button

    Hi,
    In SSHR pages, i need to add a message to display when a next button is pressed in a seeded page.
    But am unable to find the functionality in the CO's for the next button so that i can modify it.
    There are functionalities written for back, saveforlater but not for Next button.
    Can somebody explain me?
    Thnaks a lot

    When the user selects a value from the poplist and moves to thenext page that is pushed to the vo and will be retained when the user navigates back and the AM is retained in all these navigation.
    I donot understand what you are trying to achieve, the user is still in the same transaction and the value selected by him in one step of the transaction is going to be retained through out the transaction. Why do you want the value to be blank again when he uses the back navigation button.
    You can still achieve that by programmatically resetting the value in PR of the page, but I donot understand what you are trying to achieve by doing that.

  • HT5295 changing function of next and back buttons on podcast app

    is there a way to set the next or back functions to skip ahead or back 15 or 30 seconds?  So instead of going to the next track, when i would press the next button on a bluetooth device, the podcast would skip 30 seconds.

    No.

  • Additional Next Button Functionality

    I would like to see some additional next button functionality.
    For example when I am in Residential Products and Services I will read each of the sections.  if I am in Fios Internet and which to go FIOS TV Programming I wish there was a next button that would take me to Fios TV Programming (which is the next topic) instead of having to go back to Residental products and services and then choose Fios TV programming.  I read each section so having that next button functionality would help moving around here a bit quicker.
    Jim
    Solved!
    Go to Solution.

    Jim,
    Thanks for your suggestion. Have you tried using the "Go To" menu, which is just beside the board search button? It allows you to jump to another board fairly easily.
    Not exactly what you ask for, but maybe it will help in the interim?
    Becky

  • Adding a function to a button

    I'm trying to attach a javascript funtion to a button and I
    am having problems with it. Original the javascript function is
    attached to a dynamically created text string. Well when I want to
    attach the same function to the button it won't work, let me know
    what to do make this button work with the function.
    ~~~~~Script~~~~~
    function addRowClass(tableID, tableBody, instructionArray)
    // write add link to page
    var oTable = document.getElementById(tableID);
    if(oTable)
    // make the link
    oAddLink = document.createElement("a");
    oAddLink.setAttribute("href", "#");
    oAddLink.onclick = function() { addFormRow(tableBody,
    instructionArray); return false; }
    var oLinkText = document.createTextNode("Add Another Row");
    oAddLink.appendChild(oLinkText);
    document.body.insertBefore(oAddLink,
    document.body.firstChild);
    /* main function */ <--The Function I want to attach to
    button
    function addFormRow(tableBody, fieldArray)
    tableBody = document.getElementById(tableBody);
    newRow = document.createElement("tr");
    rowNum = tableBody.getElementsByTagName("tr").length - 1;
    <-- ****The Error****
    for (var i = 0; i <= fieldArray.length; i++)
    oCell = document.createElement("td");
    oInput = document.createElement("input");
    switch(fieldArray[0]
    case "text":
    createTextbox(fieldArray[2], rowNum, fieldArray[1]
    , fieldArray[3]);
    break;
    default:
    //an input error has occurred. Nothing will be written out
    to the cell.
    break;
    oCell.appendChild(oInput)
    newRow.appendChild(oCell)
    rowNum += 1;
    tableBody.appendChild(newRow)
    ~~~~ERROR~~~~
    Line 149 * <-- ****The Error**** Located in the script
    "Null" is null
    ~~~~My Button~~~~
    <input type="button" name="Button1" value="Create Row"
    class="NewRowButton" value="javascript=addFormRow()">
    ~~~~End~~~~~
    Thanks for the help

    Try <input type="button" name="Button1" value="Create Row"
    class="NewRowButton"
    onClick="addFormRow();">
    "TGuthrie" <[email protected]> wrote in
    message
    news:[email protected]...
    > I'm trying to attach a javascript funtion to a button
    and I am having
    > problems
    > with it. Original the javascript function is attached to
    a dynamically
    > created
    > text string. Well when I want to attach the same
    function to the button it
    > won't work, let me know what to do make this button work
    with the
    > function.
    >
    > ~~~~~Script~~~~~
    >
    > function addRowClass(tableID, tableBody,
    instructionArray)
    > {
    > // write add link to page
    > var oTable = document.getElementById(tableID);
    > if(oTable)
    > {
    > // make the link
    > oAddLink = document.createElement("a");
    > oAddLink.setAttribute("href", "#");
    > oAddLink.onclick = function() { addFormRow(tableBody,
    instructionArray);
    > return false; }
    > var oLinkText = document.createTextNode("Add Another
    Row");
    > oAddLink.appendChild(oLinkText);
    >
    > document.body.insertBefore(oAddLink,
    document.body.firstChild);
    > }
    > }
    >
    > /* main function */ <--The Function I want to attach
    to button
    > function addFormRow(tableBody, fieldArray)
    > {
    > tableBody = document.getElementById(tableBody);
    > newRow = document.createElement("tr");
    > rowNum = tableBody.getElementsByTagName("tr").length -
    1; <-- ****The
    > Error****
    >
    > for (var i = 0; i <= fieldArray.length; i++)
    > {
    > oCell = document.createElement("td");
    > oInput = document.createElement("input");
    >
    > switch(fieldArray[0]
    > {
    > case "text":
    > createTextbox(fieldArray[2], rowNum, fieldArray[1]
    > fieldArray[3]);
    >
    > break;
    >
    > default:
    > //an input error has occurred. Nothing will be written
    out to the cell.
    > break;
    > }
    > oCell.appendChild(oInput)
    > newRow.appendChild(oCell)
    > }
    > rowNum += 1;
    > tableBody.appendChild(newRow)
    > }
    >
    > ~~~~ERROR~~~~
    >
    > Line 149 * <-- ****The Error**** Located in the
    script
    > "Null" is null
    >
    > ~~~~My Button~~~~
    > <input type="button" name="Button1" value="Create
    Row"
    > class="NewRowButton"
    > value="javascript=addFormRow()">
    >
    > ~~~~End~~~~~
    >
    > Thanks for the help
    >

  • I'm trying to add prev and next button to a gallery

    I've found a free flash gallery which looks good for my need here: http://www.flashgallery.org/
    The only problem is that the gallery doesn't have prev and next buttons for the full size images, so I'm trying to add them.
    I've been able to add those buttons, but they only work if I don't click on a thumb, as I click on a thumb they stop working.
    In the code there is a function called loadGImage which loads the full size images, originally that function accepted 2 parameters, I've added a 3rd one which store the current image's index inside an array, so that I can use my buttons to call that function with index+1 for next and index-1 for prev.
    In addition to this I've added a variable which is updated everytime a full image is shown, that variable contains the image's index.
    Clicking on thumb the buttons stop working because the current image's index turns to "undefined" so they can't pass a correct value to loadGImage.
    I've checked the code of the gallery, but I can't find where is said to the thumbs to call loadGImage, if I'd found that code I could add the index parameter and my buttons would work.
    I'm sure that the thumbs call loadGImage because I've put a trace() inside the function to see when it is activated.
    Here you can find the source file of the gallery (plus some images to see how the gallery works)
    http://www.fileden.com/files/2008/4/9/1858524/FlashGallery2.rar
    The code commented using /*   */ is the code written by me.
    Can you help me to find where the thumbs make the call to loadGImage?

    The informations about the images are read from an XML file.
    These variables will contain the informations
    _root.description = new Array();
    _root.small_image = new Array();
    _root.big_image = new Array();
    _root.total_images = 0;
    This code creates the thumbs
    function createSmall()
        _root.smallContainer.createEmptyMovieClip("smallImageContainer", 10);
        var _loc4 = 0;
        var _loc3 = 0;
        for (var _loc2 = 0; _loc2 < _root.small_image.length; ++_loc2)
            _root.smallContainer.imageContainer.attachMovie("smallImage", "smallImage_" + _loc2, 100 + _loc2);
            m = _root.smallContainer.imageContainer["smallImage_" + _loc2];
            m._x = _loc3 * 50;
            m._y = 0;
            m.imageContainer.loadMovie(_root.small_image[_loc2], 100);
            m.iData = Array();
            m.iData.big = _root.big_image[_loc2];
            m.iData.title = _root.description[_loc2];
            ++_loc3;
        } // end of for
        _root.smallImageContainer._x = 5;
        _root.smallImageContainer._y = 0;
    } // End of the function
    And this is how full size images are loaded
    function loadGImage(title, bigImgURL)
        _root.bigImage.imageContainer.loadMovie(bigImgURL, 100);
        _root.bigImage.imageContainer._x = 0;
        _root.bigImage.imageContainer._y = 0;
        _root.title.text = title;
        //trace(bigImgURL);
    } // End of the function
    I've checked around the fla file, but I haven't found any code associated to the thumbs which says to call loadGImage, that's my problem, because the code itself is not hard to understand.

  • Sliding panels prev/next buttons

    Using graphic buttons for previous and next navigation with Spry Sliding Panels, how can the 'previous' button be dimmed or hidden when you're on the first slide, and conversly, have the 'next' button dimmed or hidden when you're at the end of the slides? Ideally there would be a CSS class added to one button or the other to change states. Or can the Spry Fade Effect be used here to fade the buttons on and off?

    The default Spry Widget has no functionality to indicate the current panel. I have created a small hack for that before. You might want to check out this post here:  http://forums.adobe.com/message/2175472#2175472
    Hopes this helps.

  • How do I make a learner attempt a question, without having the option of a 'Next' button?

    Hi,
    Is it possible to display the feedback option (learner selected) from a multiple choice Question by clicking the next (or previous) page button?
    I have set the progress to the next page, with the option 'Attempts - 1' from the Assessment page. The objective of this exercise was to make the learner attempt the given multiple choice question, without the option of going back or forward during their first attempt. The first time the learner comes across this page, he/she has to answer the question to move forward. Once he/she has answered the question (right or wrong), then he/she will be able to navigate to the next and previous pages.
    Is there any functionality where we can restrict the learner in taking up the test (compulsory), before navigating to the next page (using 'Next' button)?
    Thank you,
    Emayavaramban M E

    Don't show the Next button, but drag it under the Clear button if you have that one. Next button is really meant to skip an answer (which you do not want to allow) and during Review to make navigation possible. Since the Clear button will not be there during Review, then the Next button will become visible. Next is the new label (formerly it was labeled Skip). I explained some functionality of question slides in this post:
    http://blog.lilybiri.com/question-question-slides-in-captivate
    It was written in the CP5.5 time, so you'll still see the label 'Skip' that is now replaced by 'Next'
    Lilybiri

  • My Next button is not working. Please Help!

    Hello, everyone.
    Thank you very much for stopping by my question.
    I'm trying to make this work all day today. I'm out of idea...
    SortedMap m = new TreeMap()is used to sort the collection.
    I want to show next record(name and payrate) in the collection if there's any. Every time I try the code, I get 'Class Cast Exception'
    What am I doing wrong? The following is the code.
    <CODE>
    // Next button
    if (e.getSource().equals(nextBtn))
    // Show an error message if the collection is empty.
    if (m.isEmpty())
    msg.setText("No Record is in the Collection");
    //Instantiate an Inerator on the collection's key set and use it to
    // display next record.
    Iterator pointer = m.keySet().iterator();
    if (pointer.hasNext())
    msg.setText("The records: "+ (String)m.get(pointer.next()));
    // Show a message if there is no more record available in the collection.
    else {
    msg.setText("No More Record");
    </CODE>
    Please give me suggestion/advice.
    Thanks in advance.

    hi, Radish21.
    I think I'm not adding payRate into the collection succesfully.
    I changed the code as below:
    Iterator pointer = m.keySet().iterator();
    if (pointer.hasNext()){
      Object key = pointer.next(); // get the next key.
      Object value = m.values(); // get the value for that key.
      msg.setText(key +"," +value);
    }I got the following message in message area:
    Eric,[project06.App$Employee[Eric,0,0,0x0,invalid,layout=java.awt.FlowLayout], project06.App$Employee[Maya,0,0,0x0,invalid,layout=java.awt.FlowLayout], project06.App$Employee[Naoyo,0,0,0x0,invalid,layout=java.awt.FlowLayout]]
    I see the names I added, but don't see the payrate there.
    The following is the code to add the name/payrate into the collection:
    m.put(nameField.getText(),  new Employee (nameField.getText(), Double.parseDouble(payRateField.getText())));Isn't this adding payRate?
    I'm sorry to ask you so many questions.
    I do really appreciate your time and consideration.
    Thank you

  • How do I get the Next Button to appear on a form?

    I have a form built off of a view. I pass a parameter from a report through a link to launch the form with the appropriate values. I would like user to then be able to navigate to the next set of information from the report without having to navigate all the way back to the report. I tried to activate the Next button with the onClick event and doNext function but the button never appears to the user. Thank you for any assistance!

    Samuel,
    The reason that you don't get the "Next" button is that the query that the form is running on returns only one row. Take a look at EXAMPLE_APP.EXAMPLE_SQL_REPORT and EXAMPLE_APP.EXAMPLE_FORM. You'll find that this form also does not show the "NEXT" button when called from the report. However if you edit the report and change the link parameter from empno to deptno, you'll find that the button comes up in the form.
    I guess the best option you have is to create a custom button that simulates the functionality of the NEXT button i.e. have some logic to find out which empno must be the next one and then call the form like this :
    l_empno := <whatever logic you have come up with>
    l_url:=<portal_schema>.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=<module_id of the form>&p_arg_names=empno&p_arg_values='||l_empno||'&p_arg_names=_empno_cond&p_arg_values='||<portal_schema>wwv_standard_util.url_encode('=');
    <portal_schema>.wwa_app_module.set_target(l_url, 'CALL');
    Hope that helps,
    Hsiu

  • To disable the horizontal scrollbar and to create a next button to navigate

    To disable the horizontal scrollbar and to create a next button to navigate through the records. At present I create a JSF page and drag and drop my table view and then using the Tuning property I have limited the number of records to be shown. But I need to add a button and then code it to display the next few records. Can someone kindly suggest a suitable mechanism to get this accomplished.
    Edited by: 888970 on Oct 2, 2011 10:15 PM

    Hi Erp,
    At present these are the entries that I have in my JSPX page.
    I have a Table, Iterator and a Input List of Values. As per the scenario, I want a few rows to appear on the table for which I wanted to disable the horizontal scroll bar and then once I click on the list of values it must prompt me with the remaining page numbers.
    Earlier there are about 150 records in the table. I want to show them as 15 per page.
    For which I have added the Iterator and a LOV component code in my JSPX page.
    <af:iterator id="i1"
    value="#{bindings.NsEventDetailsView1.collectionModel}"
    var="row"
    binding="#{pageFlowScope.testPageBean.myIterator}"/>
    <af:inputListOfValues label="Label 1"
    popupTitle="Search and Result Dialog" id="ilov1"/>
    Then I created the bean class as per the example.
    Below is the bean class:
    import javax.faces.event.ValueChangeEvent;
    import oracle.adf.view.rich.context.AdfFacesContext;
    import org.apache.myfaces.trinidad.component.UIXIterator;
    import org.apache.myfaces.trinidad.event.AttributeChangeEvent;
    public class TestPagebean {
    public TestPagebean() {
    public void i1ov1_valueChangeListener(ValueChangeEvent valueChangeEvent) {
    // Add event code here...
    private UIXIterator myiter;
    public void setI1(UIXIterator myiter) {
    this.myiter=myiter;
    public UIXIterator getmyiter() {
    this.myiter=myiter;
    public UIXIterator setmyiter() {
    return myiter;
    UIXIterator valueIterator = getmyiter();
    if (!valueChangeEvent.getNewValue().equals(valueChangeEvent.getOldValue())) {
    int newPage =
    Integer.parseInt(valueChangeEvent.getNewValue().toString());
    int pageStart = (newPage) * valueIterator.getRows();
    valueIterator.setFirst(pageStart);
    AdfFacesContext.getCurrentInstance().addPartialTarget(valueIterator);
    But i am getting errors in the bean class.
    1. Block expecting }
    2. public UIXIterator getmyiter() {
    this.myiter=myiter;
    Return Statement missing
    3. Block expecting {
    4. Type or variable 'valueChangeEvent' not found
    5. Method 'getNewValue' not found
    6. Method 'getOldValue' not found
    7. Method 'toString' not found
    Can you suggest a possible solution?

  • How can I create a "Next" button with Insert database action

    Hello,
         I want to create a "Next" button that will redirect to another page and at the same time to do an INSERT database action. I've searched on google but I didn't find nothing specific that could help me.
    Below are some screenshots:
    http://imagizer.imageshack.us/v2/800x600q90/22/2yqj.jpg
    http://imagizer.imageshack.us/v2/800x600q90/585/wbn6.jpg
         Thanks.

    DO NOT USE THIS CODE !!!!
    Declare 
      -- Added by ramani 20-feb-2013 
       Seq_Val_ Number; 
    begin 
        if  :P17_NWM_DOC_NO  is null  then 
           Select Nvl(count(NWM_DOC_NO),0) + 1  -- THIS IS VERY VERY WRONG !!! REPLACE WITH A SEQUENCE !!!!!!!!!!!!!!
            into Seq_Val_ 
            from  DMS_NEW_MASTER; 
           -- ref number 
            return  Seq_Val_ ; 
            --summa oru elsif irukku 
           end if;  
    end; 

  • Next button not working in create JS code..

    dear friends,
    iam converting my flash e learning lesson in to HTML5 version. i gave 2 next bottons (i mean 2 slides end next buttons). first buttons wors fine when i click i moves to next keyframe.. same code i gave in another frame not working pls refer the followign code.. and help me...
    if (loop == null) { loop = false; } this.initialize(mode,startPosition,loop,{});
    // timeline functions:
    this.frame_0 = function() {
      //this.gotoAndPlay(840);
    this.frame_14 = function() {
      playSound("_11");
    this.frame_603 = function() {
      this.stop();
      this.nxt.addEventListener("click", nextclick.bind(this));
      function nextclick() {
         this.play();
    this.frame_627 = function() {
      playSound("_12");
    this.frame_843 = function() {
      playSound("_12a");
    this.frame_1263 = function() {
      this.stop();
      this.nxt2.addEventListener("click", nextclick2.bind(this));
      function nextclick2() {
         this.play();
    this.frame_1287 = function() {
      playSound("_13");
    // actions tween:
    this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(14).call(this.frame_14 ).wait(589).call(this.frame_603).wait(24).call(this.frame_627).wait(216).call(this.frame_8 43).wait(420).call(this.frame_1263).wait(24).call(this.frame_1287).wait(529));
    thanks and in advance...

    dear mr.moccamaximum,
    Greetings! thanks for the reply.. iam aware of that createjs starts with 0. the abvoe code was generated by adobe flash cc when i press publish....
    any body cna help me.. pls....

Maybe you are looking for

  • Open URL from Click Box

    Can anyone help me add attributes to a URL that opens from a click box. I do not want toolbars or a status bar, but want the window to be resizeable. Thanks for your help! Jean

  • Web Application Proxy and Safari

    Morning, all. I've installed and configured the new Windows Server 2012 R2 AD FS and Web Application Proxy, and I've run into some strange problems. I had some initial problems getting it to work, the documentation is a bit thin, but I now have Share

  • After restoring definitions iphone 3gs does not works, after restoring definitions iphone 3gs does not works

    after restoring definitions iphone 3gs does not works

  • Credit Card- Usage in SAP

    Hi Experts, How can credit cards can be used in SAP. And what is the infrastructure required by SAP to acces it by web. Thanks in Advacne Regards, Irfan

  • Load liquify

    I am trying to find out how to load the liquify interface automatically when a photoshop document opens. The goal is to bypass the menu >> filter >> liquify sequence /shortcut to launch the interface. I have try creating an action using the insert me