Video stop event COMPLETE and action

Hello, I am a demand for an exhibition and is necessary to restart to start itself if it is innactiv, for other visitors.

I use

addEventListener (Event.ENTER_FRAME, fl_EnterFrameHandler);

function fl_EnterFrameHandler(event:Event):void

{

MovieClip (this.root) .gotoAndPlay (1, "Scene 1");

}

For most of my sequences, but when it's for the pages of the video, I have a question:

I have a PlaybackFLV video on my 'sequence 4' and I want to return to the Sequence 1 when this video is over

I tried whith, copy the following code:

@

Import fl.video.FLVPlayback;

Import fl.video.VideoEvent;

comp.addEventListener (Event.COMPLETE, videoComplete);

function videoComplete(Event:Event):void {}

MovieClip (this.root) .gotoAndStop (1, "Scene 1");

}


and


Import fl.video.VideoEvent;

video_secret_fab_EN.addEventListener (VideoEvent.COMPLETE, videoComplete);

function videoComplete(Event:VideoEvent):void {}

MovieClip (this.root) .gotoAndStop (1, "Scene 1");

}

But I always get this message:

004, layer 'Actions', Image 28056 sequence, line 55, column 611119: Access the FULL maybe property not set through the static class type reference.

Sequence 004, layer 'Actions', Image 28056, line 55, column 61 1119: access to the COMPLETE poperty can be undefined, via the type of reference a static class. (Sorry I'm french and not bilingual...)

I am new to AS3 and I don't know what the problem is.

I don't want to use a timer, because I have to integrate the same code for multiple video pages in my project.

Thank you for your attention and hope you can help me.

I think that the event Complete for FLVPlayback uses only the standard event class:

import flash.events. *;

comp.addEventListener (Event.COMPLETE, videoComplete);

function videoComplete(e:Event):void

{

MovieClip (this.root) .gotoAndStop (1, "scene 1");

}

Tags: Adobe Animate

Similar Questions

  • Iusually access my mail through the mail on my keyboard button. This button has stopped working completely, and I don't know how to access my mail at all. How can I get to my email?

    Iusually access my mail through the mail on my keyboard button.  This button has stopped working completely, and I don't know how to access my mail at all.  How can I get to my email?

     
     
    In case you wanted to tell Outlook Express...
     
    Right click on the desktop | New | Shortcut. Navigate to "c:\program files\outlook express\msimn.exe". Click next | Click Finish.  It will be a new shortcut on the desktop.
     
     
    Once an icon on the desktop, you can drag it to the taskbar for easy access.
  • You Tube, after that 11 seconds the video stops, in all and is no sound through the speakers. No noise in the music of cd too

    For example: in You Tube, after 11 seconds the video stops, in all and is no sound through the speakers. No noise in the music of cd too.

    If you get no audio cd, youtube or anything else, you must first check in the volume control that you are using the sound card, you are connected, that nothing is on mute and volume is sufficient, or install the drivers for your sound card.

    Video YouTube can be that your internet connection is slow or too much peoole try to watch the same video, save it to your hard drive and then watch or, give him a minute or two to download in the buffer before you start watching.

  • Need help with the earpiece of video events complete and twinkle in Web site button

    Hello.

    I'm building my first site flash on AS3 and I'm having some problems that I can't solve.

    Question No. 1:

    I have a video that plays on a page (frame) and want to go to the next page after the video is finished. It's pretty easy... I did a search for information and came to the top with something in the sense of (written in memory):

    instance.addEventListener (Event.COMPLETE, instancecomplete);


    function instancecomplete(event:Event):void {}

    gotoAndStop (3)
    }

    And it worked fine when the page loaded initially (it was the homepage), but after he moved to the next page, I clicked the button which takes back me to the homepage and what might happen is that the video would play for about 1 second and send me back to the next page. My assumption is that what is happening is in loading, the event listener is to see that the video does not play, assuming that it is finished, and it takes me to the next page. If this is true, is there a way to delay the eventlistener?

    Question 2:

    The buttons on my page of sparkle. I read on this topic, and I apparently it's because I'm on a mac. I checked on a PC and the flicker isn't here so it must be because im on a mac. On a forum I found the following line to fix it:

    btnHome_mc.buttonMode = true;

    The problem is... I never wrote this line, and if it is a code generated automatically, I can't find it in the scripts of action... so I'm stumped. Any help?

    I don't know what to say without seeing the code.

    Try to remove the listener:

    function onComplete(e:VideoEvent):void {}

    instance.removeEventListener (VideoEvent.COMPLETE, onComplete);

    }

  • My iPad has been slow and has now stopped working completely and does not light

    My iPad is a few years old (I think that the iPad 2, 32GB model A1395 2, no internet,).  For w a few weeks, it has been very slow but has now stopped completely.  I can't turn on even when connected to a power source.  Any ideas?

    Bob

    You can try to reset: hold the home and power buttons at the same time and continue to hold until the Apple appears (up to 30 seconds). If you see the Apple, you should be in business. Once the reset is complete, the Slide to Unlock screen will be displayed.

    If this does not work, you will probably want to pay a visit to the Apple Store, so they can watch. It costs nothing for looking at it. Don't forget to take a go-Genius Bar, so you don't have to wait all day...

    Good luck

    GB

  • Photosmart7520: Black print cartridge stopped working completely and even change to a new fail - black picture very well

    My Photosmart 7520 suddenly stopped printing letters or any what blcak although the photoblack works very well on the test

    Replaced by a new cartridge, but still no printing - letters go out in white

    Wireless - BT hub upgrade - latest

    No other changes

    Analysis very well, but the copy in black has the same problem

    OK, try these videos Youtube here.

    https://www.YouTube.com/results?search_query=Photosmart7520+print+head

    Find out more if necessary.  If no joy, your printer is toast.

  • Is it possible to disable the navigation of the bar (next button) until a user navigation complete and action on a slide?

    I do not want to build a custom user interface.

    No, all the buttons on the playback bar are "black/white", if you show them that they are always available. And also if you have the progress bar, the user can just quickly rub by a large number of slides.

    Custom navigation is not so hard at all, with buttons of form that can be put on the master slide or timed for the rest of the project.

  • Stop the video after sliding up and down in the article

    If this question has been asked many and most of them give the tip to a white page video/audio file that refer to the.

    This does not work for me. All audio and or video are ignored by all actions.

    Video continue to play in the background.

    Anyone here have a better solution for this?

    as a side...

    How it to the design process, I want to say these are the rules of conviviality right base? whenever someone passes away or departs a video, they won't look so why let the video game in the background at all?

    Why not auto pausing and resuming automatic again?

    I mean I know Adobe is a big company, but for the last two years I was very disappointed of the DPS product as a whole (especially considering the price we pay for this product).

    Hi Patrick,

    If you add an audio only a second on the article and the auto muffler play. any other

    audio stops because the iPad can only play a media at a time.

    Thank you

    Afonso Upreti

  • Captivate 5.5 - event video freezes after completion

    Hi all

    I am trying to create e-Learning courses.

    I want to have a video in a slide. Here are my requirements:

    (1) video should be a video of the event.

    (2) I need to control the video of the event with the controls of the player project is to say there should not be two player controls

    (3) at the end of the video, the course should go to the next slide

    Note: I can't insert video slide corresponding to the duration of the slide. The goal is to use the video of an event like video slide corresponding to the duration of the slide.

    Test 1: I've selected calendar as "precise moment" and enter the value equivalent to the duration of the video. Also check the 'synchronize with the project.

    Issue here is that, whenever it is buffering, time differences and the progression to the next slide slide, before even the video ends

    Test 2: I selected the date in the form "video time" and checked the 'synchronize with the project.

    Issue here is that the project is frozen after the end of the video and does not progress to the next slide. Even the manual control of 'Fast forward' or 'Play' will not work.

    Tried to change the blade that is identical to the duration of video duration timing less than video and more video. There is no use.

    I understand that it's complicated. Any idea or suggestion to remedy this problem?

    Thank you and best regards,

    Bruno Arunjunai

    Hi all

    I couldn't find the reason why even the video hangs after completion while setting the date in the form "duration of the video.

    However, I found the means to my needs.

    I added the video of the event. Hourly, has selected rest of slide and disabled the "slippage to break until the end of the video" checked synchronize with the project.

    From now on, there is no problem.

    Thank you best regards &,.

    Bruno Arunjunai

  • stop the presentation and video at the same time

    Hello. Is it possible to stop the presentation and at the same time to stop the video this performance in?

    Thank you very much, Anat

    Thank you very much

    Anat

    2013/9/16 RodWard [email protected]>

    **

    Re: stop the presentation and video at the same time created by

    RodWard http://forums.adobe.com/people/RodWard> in Adobe Captivate - view

    the discussion complete on http://forums.adobe.com/message/5685476#5685476

  • Remote control stop scrolling left and right while he needed video first put in pause and scroll any help?

    Remote control stop scrolling left and right while he needed video first put in pause and scroll any help?

    It was an update designed by tvOS 9.2 to the user of the address which have been accidentally scouring...

    http://www.CultofMac.com/420160/scrub-through-video-on-Apple-TV-in-TVos-9-2/

  • Any REFLEX Cannon is 29 min video stop and don't work with cards sdxc fornat Exfat No 4 GB

    Any REFLEX Cannon is 29 min video stop and don't work with cards sdxc fornat Exfat no limit 4 GB?

    For the VIDEO?

    Thank you

    Almost all of the Canon 'Vixia' line of cams are less than 1 k $. The Vixia HF G30 $1150 and it is the only model over $1 k.  Here are all the models to consumer prices.  (X XAnn, XFnnn, & XCnn series is top of the line, and of course the EOS film bodies are much more expensive.)

    As far as I know, they all supports SDXC cards.

  • My PC stops watching streaming video in full screen and also video chat in Skype

    Hello...

    My PC works with Windows XP Home edition, but everything in trying to watch some YouTube videos (fullscreen), my PC stops and restarts. Also, if I did video chat with Skype, after 5 or 10 minutes, my PC restarts. However, I don't find any problem in the video game CDs and DVDs, even in mode full-screen for a long time... But if I try to display in full-screen streaming videos, my PC stop (even with the Skype video chat). Config. My PC is Intel D945GCNL Motherboard, 1.5 DDR2 RAM, Dual Core processor * address email is removed from the privacy * GHz and Windows XP Home Edition with Service Pack 3.

    INDUC

    Take look at your audio/video situation more closely and see what you have right now:

    Click Start, run and enter in the box:

    Msinfo32

    Click on OK and when the system info summary appears, click on Edition, select all, copy, and then paste the information here.

    For information about video drivers, expand components, click view, click on edit, select all, copy and then paste the information here.

    For information about the audio drivers, expand components, click Sound Device, click on edit, select all, copy and then paste the information here.

    There will be some personal information (such as the user name and the name of the system), and anything that turns information private for you, simply delete the pasted information.

  • What are the causes videos stop and start again during the transmission?

    What are the causes videos stop and start again during the transmission?

    Hello

    You can update the latest drivers for the video card and check.

    Also perform the clean boot and check:

    http://support.Microsoft.com/kb/310353

    NOTE: When you are finished troubleshooting, make sure that restore you the computer mode normal startup such as suggested in the article above.

    Let us know the results.

  • When you watch videos on youtube or try to Watch Tv shows video stops and crashes often?

    When trying to watch videos like on youtube or Tv shows videos stop and stall.  Also his cuts in and out.

    It will be because the information can't come down from your internet connection fast enough for you to watch in real time.
    You can;
    Press pause, give the video time stamp and then press play - the time between each pressure depends on the duration of the video and the quality this is the case, the longer period is better.
    Download the video to your hard drive and then watch
    Get a faster internet connection.

Maybe you are looking for