FLVPlayback false event complete triggered

I am facing a problem with FLVPlayback complete event with AS3 publishing for FlashPlayer 11.1
The trouble is that after a few seconds of the video starts the complete event is triggered and the problem always occurs only after a few hours of playing a playlist of videos.
Some code here:
var my_player:FLVPlayback = new FLVPlayback();
function makePlayer():void{
  my_player.scaleMode = "exactFit";
  my_player.x = video_x;
  my_player.y = video_y;
  my_player.width = video_width;
  my_player.height = video_height;
if(bBordi)
  my_player.mask = mask_mc;
  video.addChild(my_player);
  my_player.source = my_path + my_videos[nVideo].@URL;
  my_player.addEventListener(fl.video.VideoEvent.COMPLETE, completePlay);
  my_player.volume=video_volume;
function completePlay(e:fl.video.VideoEvent):void
   if(!my_player.stopped)
   return;
  trace("VIDEO ENDED: " + my_path + my_videos[nVideo].@URL)
  nVideo++;
   if(nVideo >= my_total)
  nVideo = 0;
  playPlayer();
function playPlayer():void{
  my_player.source=(my_path + my_videos[nVideo].@URL);
  my_player.play();

there may be some problem when retrieving the flv from the browser's cache, then.  you could prevent caching by using something like:
my_player.source = my_path + my_videos[nVideo].@URL+"?"+getTimer();

Similar Messages

  • NetConnection.Connect.Closed event not triggered in Vista FF3 when in fullscreen mode

    Hello Pals -
    I'm trying to handle the net connection drop and provide some kind of visual cue to user. For this I'm listening to NetConnection.Connect.Closed event and when its triggered, I take further steps. The events are triggered in Vista FF3(window mode)/IE7 but in Vista FF3 full screen mode, the event is not triggered. I forcefully disconnect the network cable to see the NetConnection.Connect.Closed event is triggered.
    I have following piece of code to listen to the event,
    nc = new NetConnection;
    nc.addEventListener(NetStatusEvent.NET_STATUS, onStatus, false, 0, true);
    nc.connect();
    public function onStatus(event:NetStatusEvent):void {
    trace("Status " + event.info.level + " : " + event.info.code);
    The function onStatus should be called whenever there is a status change in net connection. The events are not triggered in Vista FF3 full screen mode. Please share your views/ideas about this here. Thanks in advance. Please let me know incase more information is required.

    The problem decribed as above was caused by a fragile and eventually broken soldered connection on the curcuit board. My local dealer replaced the curcuit board and everything works fine again.
    I still wonder how that happend. I did not try to bend my MacBook and it did not fall of my desk.
    Thanks for reading.

  • Wht is the event that triggers very very last in form rendering process?

    Hello
    Pls. let me know what is the very very last event that triggers in the form rendering on IE browser process
    or
    in other words, wht is the triggers just prior to form rendering, bcz I want to put some JS (app.runtimeHighlight = False)
    I wrote in Initialization, LayoutReady, docReady, Calculate but no luck!
    Thank you

    Thank you.
    But, I put the below JS in docReady event, but still 'HighLight Existing fields' top right corner button is turning ON!!
    (I mean, I am trying to turn OFF this button via my JS in docReady at Form1 but standard Adobe is over riding my JS and making the button turn ON!!)
    app.runtimeHighlight = false
    Pls. let me know how can I achieve my requirement (always we need to turn OFF this button from rendering to closing the doc / IE)
    Thank you

  • Events not triggered

    Hi,
    We have created a custom workflow for notifcation purpose when shopping cart is fully approved. We are working on SRM 5.0 and classic scenario is implemented.
    To start this workflow we used event "FinishedApproval" of BO BUS2121. But this event is not triggered in system when shopping cart is fully approved.
    No events are registered in event trace too.
    when event is triggered using SWUE, workflow is started as desired.
    We are using N-step SC approval workflow and it is working perfectly fine. Notification workflow is desired to start after completion of approval workflow.
    Kindly provide some solution for this issue.
    Regards,
    Brajvir

    Hi Maksim,
    I meant none of the click events in the DOM are triggered while loading sap.m library as dependency via Component.js but works fine while the sap.m library is loaded via bootstrap.
    I supposedly think the events are bounded before the DOM is loaded but I m bit surprised with the behavior since there nothing changed in the structure apart from sap.m library loading from different location.
    Thanks,
    Ajain

  • How to tackle the dataflow problem when Value Change event always triggers after another GUI event

    We know that Value change event always triggers after another GUI event. Eg, the user modifies string control, the user clicks on a boolean control. Then event boolean clicked is triggered before event string control value change.
    Now suppose somehow the GUI event that must happen to subsequently trigger the Value change event can potentially affect the data that Value change event is supposed to work on. How can we tackle this problem ?
    For example, in a mockup application that the grand purpose is to have user entered values in a textbox logged to a file (no missing information is accepted, and there is a boolean to determine how the information is logged).
    There are 2 controls, boolean A when clicked (mouse down) will load random number in text box B. Text box B is designed with event structure VALUE change which saves whatever values user enters into text box B to a log file.
    There are 3 problems when instead of clicking anywhere on the front panel after modifying text box B, the user ends up clicking on boolean control A.
    1. Event mouse down on Boolean control A will execute first, modifying text box B content before the user entered values in B get saved.
    2. The value of boolean A can potentially affect how textbox B is loggged.
    3. The value of boolean A affects how the file is logged and this is indeterminate. Somehow when running this VI with no Highlighting, the textbox B Value change event executes -before- boolean A value is updated (F to T). When running this VI with Highlighting, the boolean A value is updated (F to T) (because we click on it) -before- textbox B value change event occurs. Why is it like this ?
    Now the situation I made up seems non-sense, but I believe it resembles one way or another a problem that you might run into. How would you solve this problem elegantly ?
     

    You can set the string control to "update while typing".
    Are you sure appending the log to itself is reasonable? Wouldn't it grow without bounds if the users keeps entering strings or pressing the ingore button?
    Why isn't the "constant" a diagram constant instead of a control. Is the user allowed to change it?
    To reset just write empty strings or a false to local variables of the controls (renit to defaults" seems a bit heavy handed).
    All you probably need is a single event case for "ignore:value change" and "String" value changed", no need for the local variable..
    Also add a stop button and an event for it.
    You don't need the timeout event.
     

  • How to find out which event is triggered in SDK

    Hi all
    From SDK, I am would like to know which event is triggered when the user select navigation menu Follow up -> Create Lead (screen 1).
    I am guessing, it calls LeadCreateWithRef outport event but I don't see any absl code?? (screen 2)
    When I try to switch from Display to Edit, I got error "Component which you are trying to edit comes from a lower layer. Please use Extensibility Explore to Edit" (screen 3)
    Also in Extensibility Explorer, I can't open the button details (can't even see it in the buttongroup).
    Any advice is welcomed.
    Thanks
    Anthony

    Hi Meghna
    Thanks for the info. I am trying to do reverse engineering, to understand how to existing UI screen is built, how and what events get called when button is pressed and which screen will be opened.
    For example, in Ticket screen, when I select Follow up then Create Lead:
    I cannot drill down to see the button and its properties??
    nb. Also there is no left right scroll bar to see the rest of button group. Is it a bug?? I am using Windows 8.1.
    And in outport setting, I don't see which action/event triggered? and what screen to show?
    Thanks again,
    Anthony

  • URGENT:PR event not triggering

    Hi Experts,
                  I am creating a PR through me51n.It should create an event of BUS2009(Releasestepcreated).But not event is triggering.Is it related to some setting in SPRO.Please help me

    Hi Vivek,
    Hope you have gone thru' SAP help for the  customizing requiredfor this scenaro.
    Pls re-check all your customizing steps from MM side and also if you have mentioned the workflow indicators in the MM config, which indicate that workflow has to be used for release starategy.
    Regds,
    Akshay

  • Subtype event not triggering and supertype event triggers twice!!!!!!

    Hi,
    We have created a subtype for object bus2030 and also an event created for that. My workflow should trigger whenever an inquiry is created.
    I've maintained this as triggering event in SWDD and done type linkage is SWE2 and everything looks fine.
    When i simulate or create event the WF is triggered but when create inquiry in VA11 WF does not triggers.
    I've checked SWEL for event trace but no event is triggered at all... Am i missing something... I've done almost everything that i used to do...
    Even synchronized buffer!!! nothing paid me a solution...
    Infact the same was working with 3.1i system but after migration to ECC6 we had to create new WF template for the same Process.
    Now I also see that the supertype bus2030-created event is triggered twice but, obviously no receiver type exists. But the zbus2030 event is not being triggered at all!!!!
    Kindly help me understanding my mistake...
    Regards,
    PB

    Hope you have already set the deletegation in SWO6.
    Now, event dont get triggered automatically, jus because they are defined in object. They have to be explicitly published in thesystem.
    Check for a suitable user exit in your transaction, which makes use of function module to create the event, from that you know how to proceed.
    If you dont find user exit, try other triggering techniques such as change documents, logistics, BTEs... etc.
    regards,
    Sandeep Josyula

  • Terminating Event Getting triggered more than once

    Hi All,
    I am facing a very peculiar problem in PR release workflow(item wise release, business object BUS2009).
    One of the requirements of the workflow is to send a mail to PR initiator once it is rejected by any of the approvers(4, in my case). The event associated with the cancellation of the workflow is REJECTION_START.
    The problem is that this event is being triggered more than once. One thing that i have observed is that if eg. second level of approver cancels it, the event is triggered twice. Likewise if third level of approver cancels it, it is being triggered thrice. Which leads to sending of 2 and 3 mails respectively to the PR initiators mailbox.
    Why is this happening? Ideally, only one event should have been triggered, and the triggering of the event should have been independent of PR approver's level. I am at my wits end regarding this.
    Any suggestions in this regard will be highly appreciated
    Regards
    Varsha Agarwal.

    If you check for 2nd level rejjection two release Code is associated so it triggers 2 times and same for 3rd level approval.
    I think you have to put some sort of filter using FM SAP_WAPI_WORKITEM_OBJECT
    in the attribute portion of yopur custom BO.
    The attribjute will check this FM and if it has entries that means already a Workflow has been triggered it should set the flag as X.
    Make use of this attribute in defining the start condition of this task thru
    SWB_COND.
    Thanks
    Arghadip

  • Events being triggered more than once

    HI All,
    I am using SAP Business One 2007 A SP:01 PL:07
    I have created a form using SAP Business One UI API Version 2007 A 8.0.When i open the form first time all item events and menu events are working properly..
    When i close the form and open it again all the menu and items events get fired twice.Again i close and reopen the form all Item and Menu events are triggered thrice on a single click.
    Any help to solve this problem will be highly appreciated.
    Warm Regards,
    Prerna

    Hello,
    Maybe You using a global variable for the form. Try to swicth to local variable and use sbo_application.form.GetForm(pval.formtypeex, pval.formtypeCount), or check you application really closes the window (window menü, and see the list of opened forms).
    Try to use EventSpy, which is a part of the SDN tools, you can download from /docs/DOC-8857#section6
    Regards,
    J

  • Need BOR & event which triggers after vendor master change.

    Hi all.
        Can you pls let me know the BOR & event which triggers after vendor master change. (Xk02). I used tcodes SWELS (evetn trace) , and SWEL and changed vendor adress using XK02. but I could not find any event or BOR in the trace. Pls help me out.
    Cheers,
    sam.

    Hi
    when we change the vendor details we dont have the event which is automatically triggered by the system so we create an zbusinessobject as subtype  for the vendor(LFA1)  as supertype.
    and create a new event in that z business object .
    change document for the vendor is KRED you can check it in the CDHDR table by giving tcode name.
    after finding changedocument object go to SWEC and create a newentry specifying your changedocumentobject name and BO name and event name and click on radiobutton onchange.
    and now you can check whether an entry is getting in swels or not when changing the vendoor details.
    Thanks.

  • BTE 1030 - we use for AP documents, create an event that triggers a workflow

    Hello all,
    We use SAP's program RFBIBL00 to post AP documents.  We coded a function module that is called when BTE 1030 is reached.  Our FM creates an event that triggers a workflow.
    We are now doing some testing with an external vendor who is creating AP documents by doing an RFC  using function module BAPI_ACC_DOCUMENT_POST.
    It seems that this BTE, 1030, is not being triggered when the IDOC created by this function module posts the AP document.
    Has anybody else seen this issue and found a way to deal with it?
    Thanks
    Bruce

    AFAIK BAPI_ACC_DOCUMENT_POST and FI posting should trigger BTE 00001030 but BAPI_INCOMINGINVOICE_CREATE and AC interfacewould trigger BTE 00001050. (or is BAPI_ACC_DOCUMENT_POST also using AC interface, I will let you check it)
    Nevertheless call your FM triggered thru BTE 1030 also in a FM triggered thru BTE 1050. Also in the call check for update task
    function z_fi_00001050.
    call function 'TH_IN_UPDATE_TASK'
         importing
           in_update_task = in_update_task.
       if in_update_task eq 0 and i_xvbup eq 'X'.
         call function 'Z_FI_00001030' in update task
           exporting
             i_xvbup = ' '
           tables
             t_bkpf  = t_bkpf
             t_bseg  = t_bseg..
       else.
         call function 'Z_FI_00001030'
           exporting
             i_xvbup = ' '
           tables
             t_bkpf = t_bkpf
             t_bseg = t_bseg...
       endif.
    Regards,
    Raymond

  • Select event not triggered in table with only one row

    Hi all,
    I am building a BI VC application where query data is displayed in a table. When the user clicks on a table row another query is then triggered and output in a second table. The output from table 1 is linked to the input of query2/table2 with a select event.
    The problem that I am facing is that if there is only one row in table 1, the select event is never triggered. If, however there are two or more rows in the table the select event is triggered and query 2 is executed. I have searched the forums but all I could find on select event problems was how to avoid the initial select event.
    Has anyone else experienced this issue and what is the workaround or is this a bug in Visual Composer? We are on VC 7.0 SP19.
    Cheers,
    Astein Meland

    Thanks Chittya,
    Yes we have considered this option as well. But as we have more than one table linked together we would like to avoid having to manually click several buttons.
    In the end I found Note 1364334 describing bugfixes released in VC 7.0 SP20:
    "Normally, when a Visual Composer table is populated from a data service, the first row is selected by default. However, we have found that if only one data row is returned from the data service, this row is not selected by default and cannot be manually selected by clicking on it either."
    So I think we will just have to upgrade our Portal to the latest support packs to solve this problem.
    Thanks,
    Astein

  • Is there any event that triggers when you switch between components?

    is there any event that triggers when you switch between components?
    like for example... when i switch between components, i need a function to fire everytime i switch...
    ive tried show, hide, and initialize... and none of them work...
    any ideas or help is greately appretiated!!

    Depends on what you are trying to do,
    you have mouseover and mouseout and mouseclick events which you can use on the component and write code to deal with what you want to happen when you change focus. You have keypress event which would allow you to monitor tabbing between components, remember that in most events the currentTarget and target values will give you the information you need to handle component interaction.
    so
    [Bindable] private var CurrentObject: Object; <-------  use this as a pointer to what ever object you are currently focused on or just to indicate things have changed
    addeventListener(MouseEvent.CLICK,myCompponentSwap);
    protected function myComponentSwap(e:event): void
        if (CurrentObject !=e.currentTarget && CurrentObject != null)
             do what you want becuase a component switch just happened
        CurrentObject = e.currentTarget;
    Hope this gets you started.
    David

  • How to verify that an event is triggered

    Hi Experts,
    I am running a BW job that is based on an event (or basically a group of events using event collector). Some times, I need to debug it to find out why the job is not triggered and it is very difficult to find out which event was not there.
    Here is my quesiton:
    Is it possible to see, some where in the system, if an event is waiting for a job? or in other words, if an event has been fired?
    Also there is one other question, if an event is fired and this event is being collected by an event collector, can we see, some where, if event collector already got one event and only 2 more are left (suppose event collector need 3 events to fire the next level event that triggers a job).
    Thank you,
    Praveen

    Hi Sidhartha, Dinesh and Ravi,
    SM37 can give me only those jobs that have either finished, cancelled or waiting for an event. The question was to see those events that are not trigger from event collector, because one of the source event is not there.
    Here is one example EV3 is triggered by Event collector only if EV1 and EV2 are there. Suppose EV2 did not come, how do I know, if EV1 is there without executing any job?
    Thank you,
    Praveen
    Toronto

Maybe you are looking for