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....

Similar Messages

  • Next button not working in advanced table

    HI ,
    I have created an advanced table programatically.everything is working fine but the navigation buttons for next and previous are not working properly.If I click on next 20 records I am getting the first 20 records.Do i need to set anything for this.Please hepl me.

    Hi,
    This may be the problem in your InternetExplorer.
    Mini

  • Next Button not Working in Captivate 5

    This next slide button was working to advance the slide until I added 2 advance actions. One to show an object with audio attached. The other to hide the object. So three buttons: I with the audio, 1 to play the audio (with advance action) and 1 to stop audio ( with advance action). Everything worked as planned until I tried navigating away from the page

    Lilybiri and Rodward,
    Thanks to you both. I just realized that I had more than one advance action for the same objects. Forgot that I had written one a few days ago and had added another one yesterday. I deleted all the actions and created a new one and the next slide button is now working.
    Thanks again!

  • App store Next button not working sometimes when searching for apps

    In the app store (using iPad with iOS 4.3.1), when i search for certain words and click on "See All", the next button does not always work. It is enabled (white) and there are more apps to be seen, but tapping either the one top or bottom simply does nothing. Other times, it works fine. I just started seeing this problem after applying the iOS 4.3.1 updates.

    Not sure about the layout on PC but try this.
    (1) Starting at home screen (click the house icon top, middle). (2) Top right, click on Library button. (3) Next screen, top left, click the icon that says Music.  It will pull up a menu where you can select Apps (also movies, tv, etc).
    At the bottom right you should see your update button for your apps and telling you the count of those.
    Good luck

  • Quiz next button not working

    I am using the quiz template.
    I changed the text "Scene 1" to "Test."
    I then added 3 more scenes. "Home" "Objectives", and
    "Keywords." These last two scenes are only linked from the Home
    screen. The home screen also has a "begin test" button that goes to
    the "Test" scene to start the quiz.
    When I get to the "Test" scene, and click the next button to
    start the quiz it sends me to the "Objectives" scene (the second
    scene in the list of scenes.)....it goes Home, Objectives,
    Keywords, Test in order.
    If i change the "Test" scene to the be second scene in the
    list....so it goes Home, Test, Objectives, Keywords in order. When
    i click the next button on the Test scene it does nothing. It shows
    the number 2/10 and the button goes away.
    How can i fix this. i am scratching my head trying to figure
    this out and get my quiz to work for my company.
    Thanks.

    Hello,
    Welcome to Adobe Forums.
    Need more information about this issue :
    1) Does it happen on a specific project or with a sample project as well (2 or 3 question slides) ?
    2) Which iPAD are you using and what is the iOS version ?
    Make sure you have CP 7.0.1 update installed (Launch CP7 -> Click on Help -> About Captivate)
    Thanks,
    Vikram
    Adoeb Support

  • Next button not working properly?

    Hi,
    I'm new to the user groups, and only an occasional user of Captivate.  I'm building an e-learning course, and I have inserted next buttons on each page to let the user control navigation.  However, the slides still auto play without clicking next.  I've checked the slide properties to make sure that "On slide exit" is set to No Action, already, and have verified that the buttons appear at .1 second, and are active for the duration of the slide.
    Any thoughts on why this might be happening?
    Thanks!
    Jen

    Hi Jen
    When you look at the properties of the button, is the pause enabled? (it's possible to turn it off and not allow it to pause the slide)
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Next Button not working

    When I select Insert > Button, and create a button to
    Continue or Go to Next Slide, set it to appear after 0.0 and Pause
    at 2 seconds, it does nothing. I have verified that it works as
    expected in Captivate 1. I have tried uninstalling and reinstalling
    Captivate 2, to no avail. I believe it is a bug in my version. Any
    work arounds while I wait for Captivate 3 to arrive? Maybe there is
    some javascript I could attach to make it work?
    Thanks,
    Sandra

    Hi Sandra
    The button should be working. You might wish to configure it
    to appear at .1 seconds. I've seen others report that this may be
    necessary. Although I've never experienced it myself.
    Another thought comes to mind that perhaps the slide is timed
    longer than the button and the action is set to continue. In this
    case, if the button is clicked before the pause point has occurred,
    the click has already been used if you click before it pauses. So
    the button will appear to be totally dead, even though it has been
    working as designed. One way to test this for certain is to be
    absolutely certain that the slide has paused before clicking the
    button. If the button is timed for three seconds, wait five or ten
    before attempting the click.
    Cheers... Rick

  • Link button not working in matrix

    Hai To All,
              I created one form with only one matrix. On that i have 5 columns. In first column i have linkbutton link to user defined screen. What its not working.
    My code is here
    If pVal.ItemUID = "matrix" And pVal.ColUID = "Docno" Then
                            Dim oMatrix As SAPbouiCOM.Matrix
                            Dim doc As String
                            oMatrix = Frm.Items.Item(pVal.ItemUID).Specific
                            doc = Trim(oMatrix.Columns.Item("Docno").Cells.Item(pVal.Row).Specific.Value)
                            Dim oForm As SAPbouiCOM.Form
                            Dim blnBool As Boolean = False
                            For frm As Integer = 0 To app.Forms.Count - 1
                                Try
                                    If app.Forms.Item(frm).UniqueID = "PI" Then
                                        oForm = app.Forms.Item("PI")
                                        oForm.Close()
                                        Exit For
                                    End If
                                Catch ex As Exception
                                    app.StatusBar.SetText(ex.Message)
                                End Try
                            Next
                            If blnBool = False Then
                                app.ActivateMenuItem("PI")
                                oForm = app.Forms.Item("PI")
                                oForm.Select()
                                oForm.Freeze(True)
                                oForm.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE
                                oForm.Items.Item("txt_ino").Specific.Value = Trim(doc)
                                oForm.Items.Item("1").Click()
                                oForm.Freeze(False)
                            End If
                        End If
    Regards,
    Anitha

    Petr,
         Actually this form is same as we discuss sterday that is the form should open automatically without any click. Now my problem is while form opening iam loading some data using query this also working fine. Here iam using linkbutton in matrix. If i click link button i want to open other form which is also created by me. My code is rite but y i dont knw the link button is not working.
    here is the code written in itemevent
    Case SAPbouiCOM.BoEventTypes.et_MATRIX_LINK_PRESSED And pVal.BeforeAction = False
                        If pVal.ItemUID = "matrix" And pVal.ColUID = "Docno" Then
                            Dim oMatrix As SAPbouiCOM.Matrix
                            Dim doc As String
                            oMatrix = Frm.Items.Item(pVal.ItemUID).Specific
                            doc = Trim(oMatrix.Columns.Item("Docno").Cells.Item(pVal.Row).Specific.Value)
                            Dim oForm As SAPbouiCOM.Form
                            Dim blnBool As Boolean = False
                            For frm As Integer = 0 To app.Forms.Count - 1
                                Try
                                    If app.Forms.Item(frm).UniqueID = "PI" Then
                                        oForm = app.Forms.Item("PI")
                                        oForm.Close()
                                        Exit For
                                    End If
                                Catch ex As Exception
                                    app.StatusBar.SetText(ex.Message)
                                End Try
                            Next
                            If blnBool = False Then
                                app.ActivateMenuItem("PI")
                                oForm = app.Forms.Item("PI")
                                oForm.Select()
                                oForm.Freeze(True)
                                oForm.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE
                                oForm.Items.Item("txt_ino").Specific.Value = Trim(doc)
                                oForm.Items.Item("1").Click()
                                oForm.Freeze(False)
                            End If
                        End If
    Regards,
    Anitha

  • Button not working in browser

    I am coding a video player in Netbeans 6.8. just find two problems:
    1. the browser button not working in browser when I run the project from Netbeans under "run in browser" mode. however under "standard execution" mode, everything is fine.
    2. can not run the jar file in the project's dist directory directly. in other word, I can not run the jar file outside of Netbeans.
    I appreciate any help. thanks.
    Main.fx:
    package gui;
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.scene.paint.Color.*;
    * @author Jethro
    var face=Face{};
    function run(){
        Stage{
            title: "player"
            resizable:false
            scene: Scene{
                width:800
                height:600
                fill:DARKBLUE
                content: [face]
    }Face.fx:
    package gui;
    import javafx.scene.CustomNode;
    import javafx.scene.Group;
    import javafx.scene.Node;
    import javafx.scene.control.Button;
    import javafx.scene.layout.VBox;
    import javafx.scene.media.Media;
    import javafx.scene.media.MediaPlayer;
    import javafx.scene.media.MediaError;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.media.MediaView;
    import javafx.scene.control.ProgressBar;
    * @author Jethro
    public class Face extends CustomNode {
        public var lbf=LBF{};
        public var enable=true;
        public var mark="play";
        public var sourceOfMedia:String;
        public def player=MediaPlayer {
            repeatCount:MediaPlayer.REPEAT_FOREVER
            onError:function(e:MediaError){
                var er=e.message;
         media : bind Media {
              source: sourceOfMedia
        public def view=MediaView {
                mediaPlayer:bind player
                preserveRatio: true                    
        public def bar=ProgressBar {
                height:10
                width:bind scene.width
                progress: bind
                    if(player.media !=null){
                        player.currentTime.toMillis()
                            /player.media.duration.toMillis();
                    }else{
                        0.0
        public var play=Button {      
            onMousePressed:function(e:MouseEvent){
                if(enable and player.media != null){
                            mark="pause"; println("playing...");                       
                            sourceOfMedia=lbf.uri;
                            player.play();
                            enable=false;
                }else{
                    mark="play";
                    player.pause();println("paused...");
                    enable=true;
         text: bind mark       
        public override function create(): Node {
            return Group {
                content: [
                    VBox{
                        content: [
                            lbf,
                            bar,
                            play,
                            view,
    }LBF.fx:
    package gui;
    import javafx.scene.CustomNode;
    import javafx.scene.Group;
    import javafx.scene.control.TextBox;
    import javafx.scene.layout.HBox;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.Rectangle;
    import javafx.scene.text.Font;
    import javafx.scene.text.Text;
    import javafx.scene.Node;
    import javafx.geometry.HPos;
    import javafx.geometry.VPos;
    import javafx.scene.control.Button;
    import javax.swing.JFileChooser;
    * @author Jethro
    public class LBF extends CustomNode{
        public var uri:String;
        public var whereis=Text {
            fill:Color.BLUE
         font : Font {
              size: 20
         x: 10, y: 30
         content: "location: "
        public var location=TextBox{
            text:"the song's location"
            columns:40
            selectOnFocus:true
        public var browser=Button {
         text: "Browser"
         action: function() {
                    var jfc=new JFileChooser();               
              jfc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
                    var val = jfc.showOpenDialog(null);
                    if(val == JFileChooser.APPROVE_OPTION) {                   
                        location.text = jfc.getSelectedFile().getAbsolutePath();
                        uri=jfc.getSelectedFile().toURI().toString();
                        println(location.text);
        public var face=Group {
         content: [
              Rectangle {
                        x: 0, y: 0
                        width: 800, height: 50
                        fill: Color.SILVER
                     HBox{
                         width:800
                         height:50
                         hpos:HPos.CENTER
                         vpos:VPos.CENTER
                         spacing:5
                         content: [whereis,location,browser]
        public override function create():Node{
            return face;
    }

    thanks for your reply but I need more specific operation.
    maybe I am not very clear about the problem one. I mean when I run the code in standard mode, if I click the browse button, a window will pop out and I can choose a video file from my local harddisk. but if I run it in "web start execution" mode and "run in browser" mode. the browse button make no response when I click it.
    Edited by: Phoenix2006 on Feb 8, 2010 2:35 PM
    Edited by: Phoenix2006 on Feb 8, 2010 2:37 PM
    Edited by: Phoenix2006 on Feb 8, 2010 2:42 PM

  • Title & Menu Buttons not working correctly on remote control/ set top player but work in preview.

    Title & Menu Buttons not working correctly on remote control/ set top player but work in encore preview. This only happens for a Blu ray project. When a user presses the menu button it should go to the previous menu they were on but it goes to the main menu. When they press the title button they should go to the main menu but it doesn't do anything. My DVD projects work as expected.I've tried creating a new "test" project with different footage and still get the same undesirable results.
    Overrides grayed out and set to "not set" for timelines and menus.Project settings and build are set to blu ray. Also I've noticed when I preview a Bluray project the preview window shows a red colored disc next to the Title button when viewing the timelines and green when playing the menus but not so for a DVD project it displays red if motion menus and or timelines are not rendered/encoded. I'm not using motion menus and all the media is encoded according to the project specs.
    I've searched this forum but couldn't find the answer. Any help or redirects to a solution would be appreciated. Working with CS5. Thanks.

    I found out on my Samsung Blu ray player the remote has a tools button on it that brings up audio, angle, chapter selection etc.and also title selection which is actually the menus and the timelines unfortunately. It's not as easy or direct as last menu selected but it's a workaround at least. I also plan on using a pop up menu. I'll let you know.

  • LR3 - Select Music button not working

    Good day,
    I am creating a slideshow in LR3 (3.4.0), Windows XP os, and the button for "Select Music" is not doing anything.  Any ideas?

    Hi,
    I had the same problem yesterday and 1-2 times before.
    As you say the buttons Play/pause and Prev&Next are not working in the Control Center and in the Lockscreen.
    But sometimes/ in most cases they work.
    If you haven't done it yet, please leave a bugreprt at:
    https://bugreport.apple.com
    Lets hope Apple will fix this soon...

  • Partner function not working when creating PO with ref to PReq

    Partner function is not working when creating a Purchase Order with ref to a Purchase Requistion, Partner functions maintained in the vendor master are VN, OA & PI.
    But OA & PI are not appearing in the PO header partner tab when created with ref to PR.
    however it works when i create the PO directly ( without the PR ref )
    I am using the same material & Plant for both manual PO & PR to PO.
    Any idea what could be wrong .
    I have maintained the settings for schema groups for vendor master & purchasing doc in the partner determination.
    Thanks
    Dkmurthy

    Hi,
    I have also an issue that seems similar to one you are discussing.
    When we use ME59N and create a PO with ref. from a PR (created from a sales order), the message determination works well, it reads the condition set in MN04 (condition records for messages), and creates a message (with output type for EDI , medium: 6, and partner function LS: Logical system). Message is created and idoc is sent.
    When we try with ME21N, ME21 and we create the PO with ref. to the same PR, either by entering manually the PR in the document overview of ME21N or by selecting the PR (without entering the PR number), i.e with date, the message is not created in the PO.
    Company code is assigned to purchase organization, and so is purchase organization to plant.
    Any idea why there is no automatic message determination in the case of the transaction: ME21N
    Note: If I try ME21N, and enter the output type and partner, manually, I receive a warning message
    VN006 (Partner XXXX does not exist for partner function LS). If I accept this warning message, then message is saved- idoc is sent. However I can not overcome the warning message, if it plays any role, because I can not assign partner function LS to the vendor.Then I receive message CZ 327 (Can not use this partner role).
    Any input is wellcome.

  • Music buttons not working in lock screen on my iPhone 4 after iOS7 update.

    After I updated my iPhone 4 to iOS7, the music buttons like PLAY, REWIND and FORWARD are not working in the locked screen as well as on swipe up menu. Any resolution please?

    hi there
    i had a problem with my wifes iphone 4s, today morning while travelling to work i changed a setting on repeat option and changed it to repeat artist, it was fine until when i finish my work and on my way back i found songs are not playing anymore, lots of stop signs next to my song list, play/pause button not working, album arkwork keep moving from one to another on its own, so after i reach home i try to do some research on Apple support communities, try to soft reset my phone closing all the apps on background didnt work, also note that control centre music player was not working as well. none of the solutions worked. after trying for two hours i found out that the trouble is in repeat options , so i changed it from repeat artist to repeat off. and the music start playing as usual, but i still have those stop buttons next to the songs i tried to play earlier. At least it fixed temporarily. please also note that in the meantime i tried to sync my phone with the pc and suddenly its start syncing all the songs again assuming there were no songs on my iphone.  so guys i think soft reset might not help all the time but try to remember what settings you changed recently and change it back to the original option, not sure ,but it might help.

  • Navigation button not working in JSP

    JDeveloper10g JSP:
    "NestSet", "PreviousSet" button not working after a search is done on a read-only table. Is this a know bug?
    Please help!!!

    Vishal,
    I dont think the Notification Create Button from line item is pretty much dependent on the Customization Settings or any sap note concerning this has not been as yet brought into my notice. In my system, this is working appropriately. The problem with this which i can think of is either an authorization issue or you should raise an oss for this.
    Regards,
    Usman

  • Buttons not working on new T61

    I just got a T61 with no OS and installed XP Pro and then got drivers from lenovo site.  The ThinkVantage button, sound buttons next to it, the hotkeys (FN+F?) and trackpoint center button not working.  Any suggestions?

    You got install separate Lenovo thinkvantage softwares to make use of these buttons, it should be available on Lenovo.com

Maybe you are looking for

  • Won't show usage for one line

    I recently added my brother's phone to my plan, he had Verizon already and we transferred his number to my plan from another person's plan.  He's been on my plan since Aug. 2nd, and he's the 4th phone line on my plan now.  He isn't being responsible

  • Cannot Add ADFS 2012 R2 to Existing Farm

    In the process of building ADFS into our AD. Have 2008 R2 DCs so we added a 2012 R2 DC to take advantage of gMSA. Have two 2012 R2 servers to function in HA/NLB array for ADFS 3.0. Installation of first server in farm has been successful and allowed

  • PowerBook 17 crashes consistently, even when booted from Tiger DVD

    We have a new PowerBook 17 that has started giving us problems in the last day or so. It will hang after running for a few minutes. This is a consistent problem - it doesn't go away for an hour, or a day - if the machine is running, it will hang. The

  • Merging 2 address books without overwriting

    I want to add the contents of the address book on my office desktop IMac running leopard 10.5.6 into the address book on my black macbook laptop also running 10.5.6. is there a way to do this without completely overwriting the contents on my laptop?

  • Safari issues in Lion 10.7.5

    My 2011 IMac started crashing.  I see no evidence of problems in diagnostic messages, except for the following message every time I open a safari page: "safari: noop".  Anyone knows what it means? Thanks!