Non-loop animation not working.

I am developing a video game for my flash class. This code is not working:
public function onEvent(e:Event){
if (constrictMovement){
     bear.gotoAndStop("power");
if (bear.bearP.currentFrame >= bear.bearP.totalFrames){ // the biggest error is here?
     constrictMovement = false;
bear is already a variable to a "parent" symbol, containing three "child" symbols (each play a different animation)
bearP is the instance name of target symbol within a parent symbol.
constrictMovement is a switch to prevent keyboard input during the event animation is played.
Everything works fine except for this code snippet. The animation should only complete one cycle, instead of repeating. The switch, constrictMovement should break the repeats by turning bear.gotoAndStop("power") off and activating other parts of code with a !constrictMovement.
What am I doing wrong? :/ Any help is appreciated, thanks.

I tried using the trace, there was no response from the problem area. Is there a workaround for bear.bearP.currentFrame = bear.bearP.totalFrames? Here is the pasted code, with unnecessary parts omitted, hopefully you will be able to understand the logic better:
package  {
          import flash.display.MovieClip;
          import flash.events.Event;
public class snowBear extends MovieClip {
                    // Environment & Character Controls
                    var constrictMovement:Boolean;
                    // Scene Assets
                    var bear:bearParent;
                    var levelFinisher:powerUp;
                    var cycleOnce:Boolean;
                    var levelAnnouncer:levelFinished;
                    var afterlevelFinisher:Boolean;
                    public function snowBear() {
                              cycleOnce = true;
                              bear = new bearParent();
                              levelFinisher = new powerUp();
                              levelAnnouncer = new levelFinished;
                              addChild(bear);
                              bear.x = stage.stageWidth / 2;
                              bear.y = stage.stageHeight / 2 + stage.stageHeight * 0.40;
                              bear.gotoAndStop("idle");
                              addChild(levelFinisher);
                              levelFinisher.x = stage.stageWidth * 2;
                              levelFinisher.y = stage.stageHeight - bear.height * 0.75;
                              addEventListener(Event.ENTER_FRAME, perFrame);
                    public function perFrame(e:Event){
                              if (!constrictMovement){
                              if (!left && !right){
                                        bear.gotoAndStop("idle");
                                        adjSpeed = 0;
                              if (levelFinisher && bear.hitTestObject(levelFinisher) && cycleOnce){
                                        constrictMovement = true;
                                        removeChild(levelFinisher);
                                        levelFinisher = null;
                                        cycleOnce = false;
                                        trace("cycle complete");
                              if (constrictMovement){
                                        bear.gotoAndStop("power");
  if (bear.bearP.currentFrame == bear.bearP.totalFrames){
  constrictMovement = false;
  trace("should function");
                              if (!cycleOnce){
                                        addChild(levelAnnouncer);
                                        levelAnnouncer.x = stage.stageWidth /2 ;
                                        levelAnnouncer.y = stage.stageHeight * 0.23;

Similar Messages

  • Looping animation not working with Timeline Action...

    I've used the Timline Actions Panel a few other times to loop animations by just selecting 'Complete' and then using sym.play(0); to return to the beginning - pretty hard to mess up I thought.  I have a new animation where this is just not working at all.  Could there be any other reason this is not working or perhaps something I'm just not looking at? 

    Hey,
    Sure, no problem.  Here's a link a a demo of it: http://www.damon9.com/dev/publish/web/EndofDays.html
    Not sure how much you can see from just that, but inside the Edge comp there's nothing crazy going on.  4 layers, 2 rotating 6 degrees a second, stops at 60 seconds (when it should start back from the beginning).  I've tried the usual Timeline Action sym.play(0); on complete and also just adding a trigger at 60 seconds of sym.play(0);
    Just can't imagine what else it could be.
    Thanks
    Damon

  • Flash streaming from non-native websites not working on 10.1

    Note: I am running:
    Windows 7 64 bit
    Internet explorer 8 32 bit, Firefox 3.6.3 (32 bit)
    Flash player version: 10.1.53.64
    Graphics card: Nvidia GeForce GTS 240
    Graphics card driver: 257.21
    Hi, Adobe Flash 10.0 was working perfectly until I upgraded it to 10.1. When I upgraded it to 10.1 by uninstalling the old version and installing the new version, the streaming function partially stopped working. I also upgraded Firefox separately, and the streaming function is working perfectly. However, my streaming Pandora Gadget on my desktop is NOT working correctly, it shows only a teeny box with a couple of shapes & colors in it, no error message whatsoever. The same is true for when I try and use embedded Youtube videos (such as on the Yahoo! website) on Internet Explorer 32 bit, but the videos on youtube directly are working perfectly. When I go to the Flash Install screen, it says it installed itself correctly, and shows the animation. I tried disabling the Hardware Acceleration, but it still didn't work on the non-native websites & the Pandora Gadget. When use an administrator account, both Internet Explorer & the Pandora Gadget work, anything I could do to make flash run in a user account besides changing them to administrator?

    There are a number of posts in this forum regarding Flash Player 10.1 and non-Admin accounts not working correctly. So far there seems to be no solution apart from reverting back to 10.0

  • Frames panel: looping button not working

    Frames panel: looping button not working
    I use Fireworks MX 2004
    Frames panel: looping button:
    When I set looping to 2, it stops after 2, as it should.
    All other values, i.e. 1, 3, 4 etc will go on 'forever'.
    What's wrong?
    Thank you for your help.
    Adrian

    This is just a simple exercise.
    http://www.tudo.co.uk/testing/looping_problem.png
    http://www.tudo.co.uk/testing/looping_problem.gif
    In the png file, Frames panel, bottom left, where I can set
    looping to
    any number, including 'forever', I set the looping frequency
    in this
    case to 1. So I expect it to stop after one movement up into
    the right
    top corner and return to bottom left.
    When I play this in 'original' or in 'preview' in Fireworks,
    the
    animation moves continuously instead of stopping after one
    round. That
    is my 'problem'. Or can I not expect this to work while it is
    still in png?
    When I export it to gif, it works exactly as wanted - once
    only.
    Adrian
    Alex Mari�o wrote:
    > adrian,
    >
    > Could you post the png file online and explain exactly
    what you are
    > trying to achieve?
    >
    > alex
    >
    > adrian stock wrote:
    >
    >> Frames panel: looping button not working
    >>
    >>
    >> I use Fireworks MX 2004
    >>
    >> Frames panel: looping button:
    >>
    >> When I set looping to 2, it stops after 2, as it
    should.
    >>
    >> All other values, i.e. 1, 3, 4 etc will go on
    'forever'.
    >>
    >> What's wrong?
    >>
    >> Thank you for your help.
    >>
    >> Adrian

  • Whay FORALL loop is not Working.....

    hi Guys,
    I have created a procedure with Object as Argument.......
    CREATE OR Replace PROCEDURE Object_Student1(p student_detail1)
    AS
    BEGIN
    FORi in p.first .. p.last loop
    INSERT INTO Sample_mix VALUES (p(i));
    end loop;
    COMMIT;
    END Object_Student1;
    This above was not working..........After I have changed the PL/SQL in the INSERT statement....
    CREATE OR Replace PROCEDURE Object_Student1(p student_detail1)
    AS
    BEGIN
    FOR i in p.first .. p.last loop
    INSERT INTO Sample_mix VALUES (p(i).roll,P(i).SALARY,P(i).ADDRESS,P(i).Name,P(i).mobile);
    end Loop;
    COMMIT;
    END Object_Student1;
    now This is Running Successfully.... But After I changed From FOR Loop TO FORALL loop..
    CREATE OR Replace PROCEDURE Object_Student1(p student_detail1)
    AS
    BEGIN
    FORALL i in p.first .. p.last
    INSERT INTO Sample_mix VALUES (p(i).roll,P(i).SALARY,P(i).ADDRESS,P(i).Name,P(i).mobile);
    COMMIT;
    END Object_Student1;
    The Above Code is Not working..... giving the folloing ERRORS...
    LINE/COL ERROR
    5/32 PLS-00436: implementation restriction: cannot reference fields of
    BULK In-BIND table of records
    5/42 PLS-00436: implementation restriction: cannot reference fields of
    BULK In-BIND table of records
    5/54 PLS-00436: implementation restriction: cannot reference fields of
    BULK In-BIND table of records
    5/67 PLS-00436: implementation restriction: cannot reference fields of
    BULK In-BIND table of records
    LINE/COL ERROR
    Could anybody tell me why should This ForALL loop is not Working....??

    Yes Suresgh I tried.... But I got Same Error..... given below...
    1 CREATE OR REPLACE PROCEDURE ObjectPassing2(p student_detail1)
    2 AS
    3 BEGIN
    4 FORALL i in 1 .. p.Count
    5 INSERT INTO Sample_mix VALUES(p(i).Roll,p(i).Salary,p(i).Address,p(i).Name,p(i).Mobile);
    6 COMMIT;
    7* END ObjectPassing2;
    SQL> /
    Warning: Procedure created with compilation errors.
    SQL> sho err;
    Errors for PROCEDURE OBJECTPASSING2:
    LINE/COL ERROR
    5/33 PLS-00436: implementation restriction: cannot reference fields of
    BULK In-BIND table of records
    5/43 PLS-00436: implementation restriction: cannot reference fields of
    BULK In-BIND table of records
    5/55 PLS-00436: implementation restriction: cannot reference fields of
    BULK In-BIND table of records
    5/68 PLS-00436: implementation restriction: cannot reference fields of
    BULK In-BIND table of records
    LINE/COL ERROR
    5/78 PLS-00436: implementation restriction: cannot reference fields of
    BULK In-BIND table of records

  • Mobility between HREAP and NON HREAP does not work..

    HREAP Local Switch and Auth has been enabled on SSID.
    Indoor AP is in HREAP mode.
    Outdoor AP does not support HREAP mode.
    Client connects to indoor AP....continous PING breaks after client roams to outdoor AP. The state of the client is RUN.
    Disable HREAP Local Auth and the issue goes away.  Why?

    Without HREAP config, you will not be able to do local-auth on the AP
    The design guid says roam between a HREAP and non-HREAP will not work,
    Thanks
    NikhiL

  • Recorded Animations Not Working In Presenter (8.0.1)

    My animation timings are not working when published to Presenter (8.0.1). Narration timing is good, but all the animations simply manifest one after the other, not as I recorded them as I clicked through (and yes each one is set for "click"). I also have the playback option set for "Use PPTX Slide Time"

    It may be related to the the first animation set to with previous. There is a known issue with Presenter when dealing with slides that have a mix of on-click and with/after previous animations:
    Adobe Presenter audio cannot be synchronized correctly with animations if a slide contains a mix of on-click animations and after/previous animations.
    Workaround: For the Adobe Presenter audio to sync correctly, ensure that all animations on a slide are on-click animations.
    The most commonly seen issues with Presenter can be found here: http://helpx.adobe.com/presenter/kb/top-issues-presenter-8.html
    The best option may be to elminate animation elements untill you can identify the one that is causing the issue. I suppose it could be something like the object that is animated (I've seen non JPEG/GIF images do odd things) is not converting to Flash properly. I don't believe it is the animation, as the fade-in animation has worked for years.

  • SWF animations not working properly when exported as PDF from InDesign

    I'm using InDesign CS5 and have created a document that I want to add interactivity and animations to. I've created buttons and page destionations, etc, which all work perfectly  when exported to a PDF but the simple animation that I wanted to include don't work. The animations have been created in InDesign then selection exported as a SWF file and then imported and placed in InDesign and then exported as an interactive PDF where the animations either don't work, haven't been picked up or don not work as they should. What am I doing wrong, how do I get the animations to work correctly?

    Try this tutorial:
    http://tv.adobe.com/watch/csinsider-design/indesign-creating-interactive-pdfs-with-page-tu rn-and-flash-animations/

  • Spry Collapsible Panel animation not working

    I've inserted a spry collapsible panel into a web page and it works fine when I preview it. But when I upload it to the server the animation does not work in both Safari and Firefox (haven't tried any other browsers). The panel is just static, showing the tab and the panel is open showing the content. It is supposed to be closed by default.
    I've added CSS styles but I've also tried it with the default CSS and it didn't work then either.
    Both the .css and .js files that were saved in the SpryAssets folder have been uploaded to the server in the same location as the webpage.
    I'm working on a Mac and CS4.
    URL is www.alpinism.com/New/about.html

    Thanks. That didn't resolve my issues unfortunately and the corrections it was suggesting started interfering with other functions on the page so I've gone back to square one, deleted the Spry collapsible panel and inserted javascript from http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm that does the same thing and seems to work in Safari and Firefox. Just need to check in IE but I expect this is going to be the best solution for me.

  • My loop is not working

    Hi Guru's,
    This is my program . There is no syntax error  but while debugging  this below loop it is not working
    ( LOOP AT i_vbrk WHERE vbeln = i_vbak-vbeln. ), Please correct my program if anything is wrong or suggest me what do to.
    REPORT  zsdr_omvsa40.
                              TYPE-POOLS
    TYPE-POOLS: slis.
                           TABLE DECLARATIONS
    TABLES : vbak,  vbkd, zzvbak, kna1, vbrk, vbrp, knvp .
                                INTERNALTABLE DECLARATION                 *
    DATA: BEGIN OF i_vbak OCCURS 0,
           vbeln LIKE vbak-vbeln,               " Sales Order no
           erdat LIKE vbak-erdat,               " Date on Which Record Was Created
           kunnr LIKE vbak-kunnr,
           ps_psp_pnr LIKE vbak-ps_psp_pnr,     " Work Breakdown Structure Element
          END OF i_vbak.
    DATA : BEGIN OF i_zzvbak OCCURS 0,
             vbeln LIKE zzvbak-vbeln,
             zssidc LIKE zzvbak-zssidc,         "Salesman ID
           END OF i_zzvbak.
    DATA : BEGIN OF i_vbrk OCCURS 0,
             vbeln LIKE vbrk-vbeln,
             fkdat LIKE vbrk-fkdat,            "Invoice Date
             END OF i_vbrk.
    DATA : BEGIN OF i_kna1 OCCURS 0,
           pstlz LIKE kna1-pstlz ,               " Postal Code
           kunnr LIKE kna1-kunnr ,               " Customer Number 1
           name1 LIKE kna1-name1,                " Customer Name
           END OF i_kna1.
    DATA : BEGIN OF i_vbrp OCCURS 0,
           vbeln LIKE vbrp-vbeln,
           aubel LIKE vbrp-aubel,
           netwr LIKE vbrp-netwr ,               " Net Value in Document Currency
           kzwi1 LIKE vbrp-kzwi1,               " Subtotal 1 from pricing procedure for condition
          erdat LIKE vbrp-erdat,                "Billing document.
           END OF i_vbrp.
    DATA : BEGIN OF i_knvp OCCURS 0,
           parvw LIKE knvp-parvw ,               " Partner Function
           kunnr LIKE knvp-kunnr ,
           parnr  LIKE knvp-parnr ,              " Number of contact person
           END OF i_knvp .
    DATA : BEGIN OF i_data OCCURS 0,
            erdat LIKE vbak-erdat,               " Date on Which Record Was Created
           vbeln LIKE vbak-vbeln,               " Sales Order no
           fkdat LIKE vbrk-fkdat,               " Invoice date.
           kunnr LIKE kna1-kunnr ,               " Customer Number 1
           ps_psp_pnr LIKE vbak-ps_psp_pnr,      " Work Breakdown Structure Element
           name1 LIKE kna1-name1,                " Customer Name
            netwr LIKE vbrp-netwr ,               " Net Value in Document Currency
            kzwi1 LIKE vbrp-kzwi1,               " Subtotal 1 from pricing procedure for condition
           parvw LIKE knvp-parvw ,               " Partner Function
            parnr  LIKE knvp-parnr ,              " Number of contact person
            zssidc LIKE zzvbak-zssidc,            "Salesman ID
           pstlz LIKE kna1-pstlz ,                " Postal Code
          END OF i_data.
    ALV Declaraton
    DATA: fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE,
         gd_tab_group TYPE slis_t_sp_group_alv,
         gd_layout    TYPE slis_layout_alv,
        it_listheader TYPE  slis_t_listheader,
         gd_repid     LIKE sy-repid.
    Selection - Screen
    SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS    creation            FOR vbak-erdat  .          " Sales Order Date
    SELECT-OPTIONS    period              FOR vbrk-fkdat  .          " Invoice Date
    SELECT-OPTIONS    order               FOR vbak-vbeln  .          " Sales order no
    SELECT-OPTIONS    name                FOR kna1-name1  .          " Customer Name
    SELECT-OPTIONS    contact             FOR knvp-parnr  .          " Contact Name.
    SELECT-OPTIONS    ssid                FOR  zzvbak-zssidc    .      " Salesman ID
    SELECT-OPTIONS    project                FOR vbak-ps_psp_pnr .       " Work Breakdown Structure Element
    SELECTION-SCREEN : END OF BLOCK b1.
    START-OF-SELECTION
    START-OF-SELECTION.
      PERFORM data_retrieval.
      PERFORM build_fieldcatalog.
    PERFORM BUILD_LAYOUT.
    PERFORM top_of_page.
      PERFORM fill_listheader USING it_listheader.
      PERFORM display_alv_report.
    END-OF-SELECTION.
    *TOP-OF-PAGE.
    TOP-OF-PAGE.
    END-OF-PAGE.
    *&      Form  BUILD_FIELDCATALOG
          text
    FORM build_fieldcatalog.
      fieldcatalog-fieldname   = 'KUNNR'.
      fieldcatalog-seltext_m   = 'Sold to Party'.
      fieldcatalog-col_pos     = 0.
      fieldcatalog-outputlen   = 10.
      fieldcatalog-emphasize   = 'X'.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'NAME1'.
      fieldcatalog-seltext_m   = 'Hlev Customer'.
      fieldcatalog-col_pos     = 1.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'PARNR'.
      fieldcatalog-seltext_m   = 'Contact name'.
      fieldcatalog-col_pos     = 2.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'PS_PSP_PNR'.
      fieldcatalog-seltext_m   = 'Project ID'.
      fieldcatalog-col_pos     = 3.
      fieldcatalog-do_sum = 'X'.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'VBELN'.
      fieldcatalog-seltext_m   = 'Sales Document Type'.
      fieldcatalog-col_pos     = 4.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'ZSSIDC'.
      fieldcatalog-seltext_m   = 'SSID'.
      fieldcatalog-col_pos     = 5.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'ERDAT'.
      fieldcatalog-seltext_m   = 'so date'.
      fieldcatalog-col_pos     = 6.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'FKDAT'.
      fieldcatalog-seltext_m   = 'inv date'.
      fieldcatalog-col_pos     = 7.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'KWZI1'.
      fieldcatalog-seltext_m   = 'gross amt'.
      fieldcatalog-col_pos     = 8.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'NETWR'.
      fieldcatalog-seltext_m   = 'net amt'.
      fieldcatalog-col_pos     = 9.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'PSTLZ'.
      fieldcatalog-seltext_m   = 'Postal code'.
      fieldcatalog-col_pos     = 10.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
    ENDFORM.                    "BUILD_FIELDCATALOG
    *&      Form  DATA_RETRIEVAL
          text
    FORM data_retrieval.
      SELECT vbeln erdat kunnr ps_psp_pnr INTO CORRESPONDING FIELDS OF TABLE i_vbak
                         FROM vbak WHERE  erdat IN creation AND vbeln IN ORDER  AND
                          ps_psp_pnr IN project.
      IF NOT i_vbak[] IS INITIAL.
        SELECT vbeln aubel netwr kzwi1 FROM vbrp INTO TABLE i_vbrp
                FOR ALL ENTRIES IN i_vbak
               WHERE aubel = i_vbak-vbeln.
        SELECT vbeln fkdat  FROM vbrk INTO TABLE i_vbrk FOR ALL ENTRIES IN i_vbrp
        WHERE vbeln = i_vbrp-vbeln
        AND fkdat IN period.
        SELECT pstlz name1 kunnr FROM kna1 INTO TABLE i_kna1 FOR ALL ENTRIES IN i_vbak
        WHERE kunnr = i_vbak-kunnr
        AND name1 IN name.
        SELECT vbeln zssidc FROM zzvbak INTO TABLE i_zzvbak FOR ALL ENTRIES IN i_vbak
        WHERE vbeln = i_vbak-vbeln
        AND zssidc IN ssid .
            select netwr kzwi1 erdat from vbrp into table i_vbrp for all entries in i_vbak
            where erdat = i_vbak-erdat.
        SELECT kunnr parnr parvw FROM  knvp  INTO CORRESPONDING FIELDS OF TABLE i_knvp FOR ALL ENTRIES IN i_vbak
        WHERE kunnr = i_vbak-kunnr
        AND   parvw = 'AP'
        AND   parnr IN contact.
      ENDIF .
      LOOP AT i_vbak.
        LOOP AT i_vbrk WHERE vbeln = i_vbak-vbeln. " ( From this loop it'snot working)
          LOOP AT i_kna1 WHERE kunnr = i_vbak-kunnr.
            LOOP AT i_zzvbak WHERE vbeln = i_vbak-vbeln.
              LOOP AT i_vbrp WHERE  aubel = i_vbak-vbeln.
                LOOP AT i_knvp ." where kunnr = i_vbak-kunnr.
                  CLEAR i_data.
                  MOVE  i_kna1-kunnr      TO i_data-kunnr.
                  MOVE  i_kna1-name1      TO i_data-name1.
                  IF i_vbak-kunnr  = i_knvp-kunnr .
                    MOVE i_knvp-parnr      TO i_data-parnr.
                  ENDIF.
                  MOVE  i_vbak-ps_psp_pnr TO i_data-ps_psp_pnr.
                  MOVE  i_vbak-vbeln      TO i_data-vbeln .
                  MOVE i_zzvbak-zssidc    TO i_data-zssidc.
                  MOVE  i_vbak-erdat      TO i_data-erdat.
                  MOVE  i_vbrk-fkdat      TO i_data-fkdat.
                  MOVE  i_vbrp-netwr      TO i_data-netwr  .
                  MOVE  i_vbrp-kzwi1      TO i_data-kzwi1.
                  MOVE  i_kna1-pstlz      TO i_data-pstlz .
                  APPEND i_data.
                ENDLOOP.
              ENDLOOP.
            ENDLOOP.
          ENDLOOP.
        ENDLOOP.
      ENDLOOP.
      DELETE ADJACENT DUPLICATES FROM i_data.
    *refresh : i_data.
    *free  : i_data.
    *LOOP AT i_data.
    ENDFORM.                    "DATA_RETRIEVAL
    *&      Form  DISPLAY_ALV_REPORT
          text
    FORM display_alv_report.
    GD_REPID = SY-REPID.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
          i_callback_program                = sy-repid
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
          i_callback_top_of_page            = 'TOP_OF_PAGE'
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         =
          it_fieldcat                       = fieldcatalog[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
      I_SAVE                            = ' '
      IS_VARIANT                        =
      IT_EVENTS                         =
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      I_HTML_HEIGHT_TOP                 = 0
      I_HTML_HEIGHT_END                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      IR_SALV_FULLSCREEN_ADAPTER        =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
        TABLES
          t_outtab                          = i_data.
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2 .
    *IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *ENDIF.
    ENDFORM.                    "DISPLAY_ALV_REPORT
            FORM FOR FILLING LISTHEADER                                    *
    FORM fill_listheader USING it_listheader TYPE slis_t_listheader.
      DATA : wa_listheader TYPE slis_listheader.
      wa_listheader-typ  = 'H'.
      wa_listheader-info = 'Noel Gifts International Limited '.
      APPEND wa_listheader TO it_listheader.
      wa_listheader-typ  = 'S'.
      wa_listheader-info = 'CUSTOMER CREDIT EXCEPTION REPORT' .
      APPEND wa_listheader TO it_listheader.
      CLEAR wa_listheader.
    ENDFORM.                    "fill_listheader
    *&      Form  top_of_page
          text
    FORM top_of_page.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = it_listheader.
    ENDFORM.      "top_of_page
    Thanks and regards,
    R.Vinod.

    sorry i sdint go through your entire code but it seems to me may be some conversion problem i.e. with leading zeroes. just check that...
    you may have to use
    fm after first loop at
    LOOP AT i_vbak.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        INPUT         = i_vbak-vbeln
    IMPORTING
       OUTPUT        = i_vbak-vbeln
    LOOP AT i_vbrk WHERE vbeln = i_vbak-vbeln.
    it will give a leading zero.
    if you want to delete the leading zeroes from i_vbak-vbeln then use
    LOOP AT i_vbak.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
      EXPORTING
        INPUT         = i_vbak-vbeln
    IMPORTING
       OUTPUT        = i_vbak-vbeln
    LOOP AT i_vbrk WHERE vbeln = i_vbak-vbeln.
    just check in debugging mode what conversion you need
    regards
    shiba dutta

  • Adobe Edge .OAM Animation Not Working In ePub Created In InDesign CC

    Hello,
    I am trying to create an ePub that contains video and animations.
    Using Adobe Edge Animation CC, I created an animated chart.  When I tested by previewing it in my browser it worked fine.  I then exported the animation as an .OAM file.
    In InDesign CC, I created my document, imported a .MP4 video and the .OAM animation.  When I test it using the Folio Preview, the video works but the animation does not.  The animation instead acts more like a static image.  When I click on it, nothing happens.  Ideally, the animation should occur once the page is loaded (but I can settle for the animation to happen once clicked).
    Also, I would like to create an Interactive PDF and .MOBI version of this document.  I am a complete noob to this, so any help you can provide would be greatly appreciated.  Thanks.

    Thank you Steve.  I am running InDesign CC 9.2.  I exported an EPUB 3 file and tested it using Firefox's EPUBReader (Since I am experiencing an issue with Readium).  The video is working fine, but the .OAM animated chart does not appear at all.  Do you know what could be causing the .OAM animation not to appear?  Below are some screenshot I grabbed.
    This is how the file looks in InDesign CC.  Circled is the .OAM animation.
    Below is how it looks in EPUBReader.  The .OAM animated chart is missing. (The layout has changed also, but please consider that this is my first ePub that I am creating.  This is all new to me.)

  • Non Apple Apps not working with Not.Centre

    I've restored my iphone 4 twice now, each time I've started a new phone and gone through the set up on the phone. I've tested my mail app, messages app and reminders app and they work faultless with Not.Centre but when I downloaded Twitter Inc. from the app store and got an @ reply, I didn't get a notification. I've gone through all the settings, in both the Settings App and even within Twitter itself and have TURNED ON all notifications but still nothing.
    I'm not going to restore again, it's just a waste of time. Does anybody have a fix for this?
    Cheers.

    Hi Groovy32,
    So after the iOS update all Apple apps work fine but no non-Apple apps work?  I just updated my iPhone 6 Plus last night and haven't seen an issue so let's go further with troubleshooting as in
    If an app you installed unexpectedly quits, stops responding, or won’t open - Apple Support
    For example, check for App updates, try installing another app or deleting and reinstalling one that's not working.
    Regards,
    Nubz

  • Non-Nokia headphones not working with N9

    Heyo,
    I tried plugging my Etymotic mc3 headphones into my N9, but the sound keeps playing through the speakers. The stock Nokia 'buds work, and the only difference between the two is that the Etymotics have inline volume controls. Will these buds simply not work with the N9, or is there some hope? What should I look for/avoid when shopping for new buds for my N9?

    I finally found a great converter for non nokia headphones...
    I bought AKG Q460 that are specifically made for iPhones and couldn't use the inline mic to talk and even the heaphones had that TV signal sound going thru. i bought a bunch of converters that didnt work. And finally bought one that actually works 100% with my AKG and my N9.
    http://www.accessoryjack.com/compatible-3-5mm-noki​a-to-iphone-headphone-adapter-cable-black.html
    You are welcome!!

  • How to disable 'Hello'tried about loop:enabled -not working

    I have the new version of Mozilla Firefox and it starts up with 'Hello' that allows video talking. I have tried to amend about:config, loop:enabled to disable it but this does not work, each time I start up my machine 'Hello' is back.
    Any suggestions? Could the fact that my History clears daily mean the change to Hello is not being saved?

    hello DivaDiva, are you referring to the current hello promotion on the firefox start page? this is different from the actual feature itself which you can disable through the loop.enabled preference & will be featured on the homepage for just a few days...

  • Diagram Animations not working

    Hello everyone. Hope you can help. I have a diagram that I
    have imported into Captivate from PowerPoint 2003 and the
    animations will not work. It is a simple pyramid and I have each
    section of the pyramid descending into the slide. It works in
    PowerPoint but when I play the project in Captivate, the pyramid is
    static on the slide with no animation. Any thoughts?

    Hi skeeterkgh and welcome to our community
    Is this Captivate 1, 2 or 3?
    Only Captivate 3 will pull in PowerPoint and retain any
    animation. And even then, you have to be choosy and ensure you have
    the option set properly for it to come into Captivate as an
    animation.
    Cheers... Rick

Maybe you are looking for