Action doesn't execute in player

In the app I'm working on (AS 2.0) I have several buttons. I've added an action to each of those buttons:
on (release)
    gotoAndPlay("fr_test");
When in Flash, if I enable (Control) Simple Buttons and Simple Actions, this action works like it should. If I test the movie or publish it, the action doesn't execute.
I've tried another approach with one button. I added an empty layer for actions only, and added the following code:
this.test_btn.onRelease=function()
    gotoAndPlay("fr_test");
This doesn't work at all, nor in Flash nor in the player. I wonder what I'm doing wrong here. Changing fr_test to the frame number does not change anything.

I solved this by starting over with a new flash app. I created buttons and actions, and they worked like I wanted. Then I tried to apply this on the old movie, but that didn't work. So I recreated the movie in the new app. I'm using some very complex drawings, and I messed around quite a bit. I don't know where it went wrong, but it works now for me.

Similar Messages

  • Audio in Advance Action Doesn't Execute from "On Success" in Quiz Question

    In each of my quiz slides, I have set the On Success action to Execute an Advanced Action.  In the Advanced Action, I have two lines.  The first line is to run audio that says something like "That's Correct - great work - click any key to continue" and the next action line is a jump to slide.  Only the jump to action works.  The audio doesn't run.  Thoughts anyone?

    Sorry, seem to repeat what I already told you about messing up Quiz slides. This problem is also due to that.
    The actions On Success are executed after completing the two-step Submit process. The Submit button is essential. I explained some possible tweaks in this post:
    Question Question Slides in Captivate - Captivate blog
    You'll see how to skip one of the steps, how to attach audio to an object etc.
    In an advanced action everything is always done very quickly, the action will not wait until the audio clip has played before jumping to another slide. Misunderstanding actions.

  • CPS-Job - Reply on Console doesn't execute the chosen action

    Dear Developers
    We have a job chain in which we have as default postcondition "On Error
    Action CONSOLE RESTART". Now we have a step on status CONSOLE but a
    reply doesn't execute the chosen action. This is not the first time we
    experience this behaviour.
    Any ideas to solve that problem or any workaround?
    Regards,
    Stephan Gross, RAIcps
    Here our system info:
    DB-Version Info:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Productio
    NLSRTL Version 10.2.0.4.0 - Production
    Redwood-Repository Info:
    JCS Object Database,7.0.3.33
    JCS Modules,7.0.3
    JCS PM4W,7.0.3
    JCS Redwood &module Module,7.0.2

    Hello Stephan,
    7.0.3.33 has a known issue where the reply of console is not always carried out.
    If this is the same issue as you are experiencing, then the issue is solved in patch 7.0.3.38.
    I would advise you to create an OSS message to have checked if this is indeed the same issue.
    Kind regards,
    Miek

  • Rendered attribute of commandButton preventing action method from executing

    When I add a rendered tag to my commandButton it'll only execute the method intermittantly. After a lot of testing, I've narrowed down the problem so I now know when it does and does not work properly.
    If rendered="true" it always works fine
    If rendered="#{issue.update}" and isUpdate() is simply "return true;" it'll always work correctly
    If rendered="#{issue.update}" and isUpdate() is simply "return this.getId() != 0;" it will not execute the action specifiied, however the page does refresh.
    It's also interesting to note that on the rendered page, the button is always shown only when it should be. So when the action fails to execute, the button is shown on the screen.
    In the case that doesn't work, I debugged through and noticed that isUpdate() is called six times for a single page refresh. By printing a stacktrace for each call, I discovered that it's called once in the ApplyRequestValues stage of the lifecycle and the other five times are from RenderResponse (I have the stacktraces, let me know if they'd be worth posting). This method is only referenced once and only on the jsf page, never in the java code... but I'll go back and try to understand why it's calling it so many times later.
    The first time isUpdate() is called, it will retrun false because the value for id has not yet been assigned, which makes sense. This causes a "false" to be returned from isUpdate() and this is what is causing the action to not be executed. If I debug through and change the return value to be true here (only the first time) the action is updated. So my question is, what's going on here? I don't understand why is isUpdate() called so many times, why is it called so early in the lifecycle, and why the call in the apply request values stage determines whether or not it executes the action?
    Now, as a workaround, I put a binding on the id, and tried to use that value. That exposed another problem with my page which requires some explanation... Here are the relevent sections of the page and backing bean...
    issue.jsp
    <h:outputText value="#{issue.init}" />
    there's a datatable here which displays all issues and has a commandLink to edit the issues (immediate="true"). It posts back to this page and passes an ID on the URL.
    <h:inputHidden id="id" value="#{issue.id}" binding="#{issue.idBinding}" />
    <h:inputText id="name" value="#{issue.name}" required="true" />
    <h:commandButton id="updateIssue" value="Update" action="#{issue.updateIssue}" rendered="#{issue.update}" />
    Issue.java
    getInit() will get the id from the FacesContext (specifically, the URL) and load the data from the database.
    On the rendered page in my web browser:
    After clicking on an edit link, the page is loaded and the name is filled in, the update button is on the screen, and everything looks good.
    When I view source, I see that the hidden input for id is set to zero. I'm still trying to figure out why this is the case since all the other parameters are set properly. I stepped through getInit() and it is, indeed setting the id property properly.
    So when I added the binding to get the value from there instead of via the local values, I found that it always got zero (presumedly because that's what is rendered in the HTML code). This means that isUpdate() still returns false on the first call, and my attempt at a workaround fails! So, just as a test, I used some "javascript on the URL" trickory to set the id field to "10". That worked just fine. So the root of the problem is that issue.id is not loading. I put code in the getId() method to always look at the binding and then faces context and put the id into this.id if it found a non-null and non-zero value. It now returns the correct value all of the time but the HTML produced still says the value is zero.
    I've spent about 4 hours on this issue and I'm to the point where I need advice from someone who is more educated on how JSF works. I know the inputHidden get the vaule for the HTML tag it produces from getId() because when I hard code that to always return 10, it works. But when I leave it to return the proper value, the debug statements say it's returning the proper value, but the HTML always says it's zero. This isn't an acceptable solution anyway because I use getId() in the datatable to display the IDs of each of the issues; I just wanted to see if it'd work and it didn't.
    Here's my latest getInit() method (which returns the value from the URL when called from the datatable, but not when called from the inputHidden.
        public int getId() {
            if(getIdBinding() != null && !getIdBinding().isLocalValueSet()) {
                if(getIdBinding().getSubmittedValue() != null) {
                    int temp = Integer.parseInt((String)getIdBinding().getSubmittedValue());
                    if(temp != 0) {
                        this.id = temp;
                        log.info("Got binding value of "+this.id);
            FacesContext ctx = FacesContext.getCurrentInstance();
            if(ctx != null) {
                Map<String, String> map = ctx.getExternalContext().getRequestParameterMap();
                    if(map != null) {
                    String given_id = map.get("id");
                    if(given_id != null) {
                        // if given an ID and no action, we load the data
                        try {
                            log.info("Got value from FacesContext of "+given_id);
                            int temp = Integer.parseInt(given_id);
                            if(temp != 0)
                                this.id = temp;
                        } catch(NumberFormatException e) {
                            // if what's passed in isn't an integer, we leave everything at default values
            return this.id;
        }Thanks in advance,
    Adam

    I'm clicking a link which will load data into a form. In the form there is a field called "id" which has a value of something other than zero. I press the update button (which is only rendered when the id is non-zero), it submits the form. When the restore view happens, the id is the default value of 0 because it has not yet applied the values from the form to the backing bean. Therefore the rendered attribute of update button (isUpdate()) will return false, and the update() method does not get queued.
    When I switch my backing bean to session level, the restore view already has the id loaded, even before the values from the form are applied, so everything works as expected. The problem was that I needed to have the correct return values before any values have been loaded into the member variables.
    As a solution to this, I made some private boolean variables called isNew and isUpdate. Both of them are true by default. This makes sure that the isNew() and isUpdate() methods (attached to the render attribute of my command buttons) return true in the restore view phase. When I read in the id from the URL or hidden input, it'll update the boolean values accordingly, which makes sure the buttons are rendered properly. This allowed me to set the backing bean back to the request scope, which make me happy. <img class="emoticon" src="images/emoticons/grin.gif" border="0" alt="" />
    Thank you Mr. De Campo. You gave me exactly what I was looking for... a better understanding of how thigns work, and (indirectly) a clean solution to my problem.

  • End action will not execute because of end action on the final chapter point

    I will be referring to this video:
    http://tv.adobe.com/watch/learn-encore-cs4/creating-an-event-dvd/
    I followed this exactly, except for the slide show (and I made a DVD instead of flash), but when I checked the project, I get the error message "End action will not execute because of end action on the final chapter point".
    I don't understand.  I did not change any end points except for the one specified in this tutorial.  (About the Max footage for the very beginning, before the menu).  If anything was added, it was Adobe's doing.
    I do notice that in 00:04 in the tutorial, there's a downward arrow on the very end of the timeline.  My timeline does not have this.  How was this done?
    In the Encore software, after the timeline is loaded, there is no arrow at the very end.  Mine doesn't have that either.
    I'm finding Adobe/Encore's way of making menus rather difficult.  With Pinnacle Studios (at least through 8-12), making menus was easy, and it set up the chapters for you.  Why can't there be an automated menu feature in Encore?
    Anyway, here's my project:
    Main time line has 9 chapters. When clicking on their chapter points, all say End Action: not set.
    When I click on the white bar above the lite purple footage of the time line, where the chapter point's bottom rest, it says, End Action: Not Set AND Menu Remote: Return to Last Menu.
    All 9 chapter points are white.
    In the flowcart, there is the DVD icon --> my few seconds opening credits --> menu that has a Play All and Scene Selection button
    Play All goes to first chapter of video
    Scene Selection (submenu #1) goes to 6 scenes, a next, previous, main menu.  All seem to be linked properly.
    Scene Selection for scenes 7-9 are in the #2 submenu.  Has a previous button and a main menu button.   All seem to be linked properly.
    Can anyone offer any advice?  Help?  I need to make this DVD and two others by the end of the week!
    If you need more information, please let me know that too.

    If I make a change in the timeline in Premiere, will that new change be reflected in the timeline of Encore?
    If you used Adobe Dynamic Link, then yes, the Timeline will be updated. If you did not, then you will need to Export again, then Import into Encore. Watch out if you have already Transcoded, etc., and I'd name the new Timeline Export differently, Import that, use Replace Asset. When a Project is very new, and nothing much has been done, it will not be so picky. After a couple of links, etc., it gets VERY picky, and Replace Asset will help.
    Is there a way to reload the project without having to redo all the menus and links?
    If you did a Save_As, or still have your original Project, i.e. you started a completely new Project with a unique name, you can go back to the original.
    Hope that helps,
    Hunt

  • The action doesn't stop

    Hi,
    Then When I execute my code and the condition is verified the action doesn't stop (I had put "pVal.BeforeAction= False"). Why?
    I use SBO 2005 and VB.net.
    Thx for any help.

    Hi David,
    Thx for your reply.
    My problem it is that I have a block that repeats itself without stopped.
    Here is my code (the block that repeats itself is in bold):
    Select Case pVal.EventType
    Case (SAPbouiCOM.BoEventTypes.et_LOST_FOCUS)
    <b>If (pVal.ItemUID = "38") And pVal.BeforeAction = False Then
    oMatrix = oOrderForm.Items.Item("38").Specific
    oColumns = oMatrix.Columns
    oColumn = oColumns.Item("1")
    oEdit = oColumn.Cells.Item(pVal.Row).Specific
    oItemCode = oEdit.String
    If oEdit.String <> "" Then
    oEdit = oOrderForm.Items.Item("4").Specific
    oCardCode = oEdit.String
    oRecordset = Vcmp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
    oRecordset.DoQuery("SELECT U_Vatcode FROM [@TVA] where (U_CardCode = '" & oCardCode & "') and U_ItemCode = '" & oItemCode & "'")
    oColumn = oColumns.Item("18")
    oCombo = oColumn.Cells.Item(pVal.Row).Specific
    oRecordset.MoveFirst()
    vTva = oRecordset.Fields.Item("U_VatCode").Value
    oCombo.Select(vTva, SAPbouiCOM.BoSearchKey.psk_ByValue)</b>
    End If
    End If
    End Select
    Thx.

  • End action doesn't work

    Okay, it doesn't matter what I do end action doesn't work. Here's the situation. I have three timelines. The Title for starting, the main video, and the credits rolling at thend. When the Title timeline is done playing at the end, it should go to the main video and the main video timeline is done, it should go to the credits but it's not working. In each of the End action of three timelines, I did specify where it should go next. But this doesn't work. So I try to specify where it should go next on the End Action of the last chapter for three timeline but that doens't work either. So I tried specify in the last chapter and also the timeline end action and nothing changes during preview. Please help.

    Stupid question:- what exactly does the override do? Override the remote control action, or the end action or both?
    Linking each chapter to the next, and the next timeline, allows for the whole project to play continuously, but the end action on the final chapter is always messing things up.

  • Wat is wrong in this decode function, it doesn get executed,please help me

    wat is wrong in this decode function, it doesn get executed,please help me
    decode(DVI.COMPANY||'.')||
                                            DECODE(DVI.COST_CENTRE||'.')||
                                            DECODE(DVI.ACCOUNT||'.')||
                                            DECODE(DVI.LOCATION||'.')||
                                            DECODE(DVI.PRODUCT||'.')||
                                            DECODE(DVI.FUTURE)company_id,

    Hi,
    I could not understand what you are trying to do with decode here.
    The standard way of using the decode is like :
    SQL>SELECT DECODE (1 , 1 ,'TRUE','FALSE') FROM DUAL;
    DECO
    TRUE
    1 row selected.
    1* SELECT DECODE (1 , 0 ,'TRUE','FALSE') FROM DUAL
    SQL>/
    DECOD
    FALSE
    1 row selected.
    Please explain what you want to do with DECODE ?
    Regards

  • How to Hardcode sender JDBC action node as EXECUTE

    Hi ,
    I have JDBC to File scenario ,please suggest me how to hardcode sender JDBC structure nodes <b>action</b> as "EXECUTE" and <b>table</b> as "ST_PROS.Get_Table" while designing the message mapping.

    Raju,
    In the ase of sendrer JDBC adapters you need to provide the SQL Query in the adapter.
    Also, the document name and document namespace will be the values for the Message Type Name and MessageTypeNamespace.
    The Messagetype youcreate will have to be of this format,
    <MESSAGETYPENAME>
    <row> <b> 0 to unbounded</b>
    <ColumnName1> </ColumnName1>
    <ColumnName2> </ColumnName2>
    </row
    </MESSAGETYPENAME>
    if your select query is
    Select name,empno from emptable;
    the datatype will be,
    <MESSAGETYPENAME>
    <row> <b> 0 to unbounded</b>
    <name> </name>
    <empno> </empno>
    </row
    </MESSAGETYPENAME>
    Regards
    Bhavesh

  • Actions does not executed on quotation saved.

    Hi,
    Actions does not executed on quotation save.
    Action profiles has been created as per my production system.
    In production system it is executing properly. but in development system it does not get triggered.
    Pls suggest.
    Points will be rewarded.
    Thanks

    Hi Vinayak
    U can check in 'Define Conditions' for the actions and see whether the actions for the Action profile have been scheduled or not.
    On the left hand side u get the action profiles. U can right click on that and schedule the actions.
    Plz reward points if it helps.
    Thanks and regards
    Debolina

  • Adobe Encore CS4: End action will not execute because of end action on the final chapter point

    Error screen:
    Error I’m getting for section titled Notes (PP 45 second video): “End action will not execute because of end action on the final chapter point.”
    The icon that shows error is in top line second from end.  I’m trying to 'end action' that portion of the video by going back to 'menu default'; also tried end action w/ ‘Stop’ and neither work.
    I saw a post about checking timeline.  Not sure what I’m looking for there.  I have nothing in Orphanage area.  I also tried building despite Check Project error and it will not build project.  Any suggestions on how to fix: “End action will not execute because of end action on the final chapter point.”?

    Select chapter one on that timelne. Look in the properties panel. Does it have an end action? You do not want an end action on the chapter; just on the timeline itself.
    That will not generally prevent a build, however. So you may have other issues.

  • Error message encore cs5 end action can't execute on the final chapter point

    Dvd plays great. Exported it as a mpeg 2-dvd,  video only. Audio separate as a .wav. imported video as a timeline, audio as an asset. Video is not transcoded.
    But I have a sub menu, with 6 chapter markers. I check the project and I get this: "error message encore cs5 end action can't execute on the final chapter point"
    Do I need to make a chapter playlist? Because that gave me a "orphaned playlist" error message.
    I selected the last chapter masker and had the end action go to the sub menu.
    Thanks!

    Saw a previous thread where bill hunt said it ignore it and try to burn a copy.

  • HiQ doesn't execute scripts and command line commands

    I am running HiQ pro 4.5 on Windows 2000 SP 2. Whenever I enter a command line command, e.g. "1+1", HiQ reports "no error reported" and doesn't execute the command. When I enter the same command again, HiQ tells me that a semicolon is missing.
    When I try to execute a script, HiQ reports "Fatal Script error on line -1".
    Anybody knows this behaviour and how to get HiQ running normally?

    I do have the same problem.

  • Bapi doesn't execute anymore

    Hi,
    I have an odd behavior. I've created a WD for Java application with NW04-SP16, and after a while, I have one BAPI which doesn't execute anymore.
    I've already had this strange behavior and the only solution was to create a new model and import again my bapi.
    Do you know something about that, cause it make me lot of problem ?
    Regards,

    Hi,
    One of my problem is... I don't have any error back, so I really don't know where to look for !
    And about my code, there is no problemù caus before it worked very well. The problem apear after a no used period (without changing code).
    Regards

  • ICal doesn't execute Automator Scripts

    Since I upgraded to Leopard my iCal doesn't execute scripts anymore. Normaly every day iCal executed a script to check for birthdays and send them a e-mail. Now I can't get this to work. No settings are changed as far I can see.
    Help!!! (I missed already a few birthdays... people hate me... ;-))

    Does it display any kind of error message? It may be that the location of the script has changed. It seems that iCal saves fixed paths to scripts and not aliases. This means that if the path to a script changes it won't run. Try to rename a script and then select it again in the event. You'll want to rename so that you can distinguish it from the previous script entry. iCal only displays the name of the script, not the path used by the alarm.

Maybe you are looking for

  • [solved] wireshark won't start

    Hi, I upgraded wireshark today via pacman and now when I try to start it I get wireshark: error while loading shared libraries: libGeoIP.so.1: cannot open shared object file: No such file or directory Could this be a missing dependency in the package

  • How to set a maximum download size per connection in the ASA?

    Hi, I would like to avoid big downloads so I want to set a maximum download file size. How can I set the limit MB allowed per connection in the ASA? Thanks

  • Why did moving pages to a different site cause scary glitches?

    I'm an advanced iWeb (3.0.4) user with two iWeb sites: the OLD one, and the NEW one. I built all-new pages for the new site, but I dragged in two MOVED pages from the old site. Once I did this, the site will not publish. "Publish Error: an unknown er

  • Want to open links in a new tab not a new window.

    When using a mouse I know I can middle click (wheel) and the web-link I am clicking will open in a new tab. I also know I can drag that link to the + sign on the tab bar and it will open. But while using the Keyboard only, when I want to open a webpa

  • Can you set # of records displayed at runtime?

    I know there's a GET_BLOCK_PROPERTY for records_displayed, but not a SET_BLOCK_PROPERTY. Is there an equivalent I can use? thanks