After an embedded .flv movie plays I want the read head back to frame 1

my current script is:

Stop();

function playLifeboy(event:MouseEvent):void

{

gotoAndStop (3);

}

function playKrave(event:MouseEvent):void

{

gotoAndStop (2);

}

lifeboy_btn.addEventListener (MouseEvent.CLICK, playLifeboy);

krave_btn.addEventListener (MouseEvent.CLICK, playKrave);

It works well, it reads the flv file. movies in frame 3 and 2 fine but when the movie's over, I want the playback head to return to section 1. Should I put the action at the end of the flv. MC I have a stop(); on this subject.

Thank you

Do you use FLVPlayback components for the flv?  If so, you can assign an event listener to them to detect when their COMPLETE event fires and can trigger a call gotoAndStop (1).

Tags: Adobe Animate

Similar Questions

  • How can I play a clip of the position of the read head instead of from the point to?

    In first Pro CC, if I already put an in and out point in my source monitor, space plays clips of the point bar in only.  I prefer to be able to move my CTI at any place in my clip, press the space bar and play from there, but it always aligns the point in and play from there.

    The game around shortcut is a joke because he plays not the location of the playhead and loops at seemingly random intervals.

    Any thoughts?

    Yes, 7.2.1 represents the current version.

    Normal default behaviour of the organism is exactly as you want it to be. By pressing the space bar should start playing the position of the read head. Playing around should similarly work compared to the CTI.

    As to why these commands do not work as expected, I see that two causes:

    1. keyboard shortcuts have been customized. It's easy enough to check. Just open the keyboard shortcuts dialog box and research "Toggle Play-Stop" and "play out."
      Of course, the shortcuts could be the culprit if the wandering behavior is limited by using shortcuts. You have not indicated if the buttons give the same results.
    2. Something is messed up in the preferences of the AGENCY. To check this possibility, I recommend that you close the BODY, rename the folder profile- ... \Documents\Adobe\Premiere Pro\7.0, then revive the ORGANIZATION. In this way, if this measure does not resolve the problem, you can easily return to your customized preferences by removing the new profile - folder and rename the file old back its original name.
  • The 14.0.1 update modified the appearance of things, I want the old look back.

    I got the usual update prompt, crossed withit and found some bad changes, unwanted in firefox. Buttons, sliders and progress bars look like they have been cut and paste from windows 2000. I want the look of vista areo I got in return.

    Well, I'll be. The problem is fixed just mysteriously overnight.

  • HD movies play perfectly, BUT the Extras repeatedly buffer

    Hello

    As a general rule when I discover an HD movie on my MTB from the iTunes Store it plays almost perfectly.  No complaints.  But whenever I try to view all extras included, I constantly experience very slow downloads and content buffering.  It is so predictable that it's almost very bad.

    If I didn't know better I'd guess that Apple is in order of priority the Extras below original HD, resulting in slower outgoing movies band bandwidth every time the content is stored on their servers.  Otherwise that it's as if the Extras are much larger files or something.  But it's just the HD resolution as in the movies and just TV shows?

    Why all the video content Extras would play so much differently, buffering repeatedly and download much more slowly than the HD movie?

    I can even stop the extras to play the buffering and immediately play an HD movie that plays instantly without any hitch.  Then go back to the Extras and boom, slow, city of the buffer.

    FYI - my ATV is connected via an Ethernet connection to the modem it is clean and we have incredibly fast internet access.

    Very annoying and I have practically stopped watching the extras for this reason.

    Thank you

    Works fine for me, you can test it on another network

  • How can I use a FLV/MOV as one of the 2 inputs?

    I was wondering if anyone knew the right way to add a video to a 2 input filter (which is not a mixture)?
    I use a filter which is a bit like DisplacementMapFilter (Ryan Taylor):
    http://www.Boostworthy.com/blog/?p=245

    That I saw working with still images, but I'd love to see him working with a film like the entries 1.

    If I can get help to make filters Ryan to work with a FLV or MOV, then I can make it work on the filter that I work on.

    I work with jpg (by applying it to a BitmapData object). And I have a film to work with a filter with 1 entrance (which is pretty easy). But this one has really puzzled me.

    When it's a mix is really easy, but filters like DisplacementMapFilter.pbk (Ryan Taylor) won't work with just a blendShader.
    Help, please!

    Quick and easy way to do it:

    (1) load each video in an FLVPlayback instance. Listen for the event PLAYHEAD_UPDATE.

    (2) onPlayheadUpdate, enter your executives with bitmapData.draw ().

    (3) provide these bitmapDatas shader:
    Shader.Data.image1.Input = bitmapData1
    Shader.Data.image2.Input = bitmapData2

    (4) draw the result with the drawing API beginShaderFill method.

  • How to stop the monitor go black after no activity for a short time during the reading of a document?

    When I read an email or document without moving my mouse, the screen turns black after only about a minute and then proceeds to my screensaver.  I have to move the mouse constantly opening my active window.  I can't find out how to disable this "Energy Saving" so I can read the lengthy articles without being interrupted every other minute.  This was VERY irritating!

    Hello

    Open windows control panel, open personalization, click on the link to screensaver at the bottom right and in the next window, set the time in the area of 'Wait' for once you want before the screen saver appears, and click on apply. Or if you never get the logon screen, remove the check mark next to of "on resume, display the login page»  Click on apply to save the changes.

    Then open windows control panel again and click on Power Options, click Change plan settings next to your current power plan selected in the next window, set the time using the drop-down list next to "Turn wide Display" to a more acceptable level and then click on save changes.

    Note:  Set in the Options menu of food to be slightly longer than the time set in the Menu of the screen saver or you will never see your screen saver start.

    Kind regards

    DP - K

    

  • I want the old search back bar (35 of Firefox).

    There is no such thing as the column browser.search.showoneoffbuttons in everything: config. It's there, but then I changed to false and restarted Firefox. Nothing has changed. I went back over there and don't know what happened, but the column is not there at all now.

    I tried to restore firefox to default settings, but that did not help.

    There are many parameters in the current version of the CTR, so it is not always easy to find what you are looking for.

    You can find this function in the Options/preferences of CTR.

    • CTR Options > general UI (1)-> old research (experimental)
  • 37 default video Firefox HTML5! I want the default Flash back! How can I do this?

    I use Flash Player in the world (because it has acceleration etc.) and Firefox is all HTML5 videos.

    How can I get my system works as if it was before? Before the update?

    I can't use an addon of Firefox to force the Flash because it breaks the Greasemonkey scripts and other plugins?

    Please notify.

    Seriously of Mozilla, please make this information available at least on the release notes before making major changes. Now I have to waste my time to get Firefox working properly again. Microsoft does things like that.

    You must click on the button on the YouTube HTML5 checking page to a Flash-based player.

    This article is about the use of a special function which allows a site Web check it that the tape media browser supports for HTML5 media player via canPlayType.

  • I want the refresh button / back!

    There is no button to refresh a page with the latest version of firefox

    A combined Stop/Reload/Go button that is placed on the side of the right end of the address bar is used in Firefox 4.

    During the process of loading page it shows as a stop button and once the charging button is replaced by a reload button.

    If you type in the address bar this button would then become a button go.

    Click the Reload button to duplicate the current tab in a new tab.

  • BlackBerry Smartphones BBM 5.0 - want the old version back

    Don't like BBM 5.0, it slows my phone down much and images take forever to receive.

    How can I get the old one back?

    I own a bb8330 on the Telus Mobility network (Canada)

    Options > Advanced > Applications. Remove the current BBM 5

    Install your current OS on the device (if you have OS 4.7, look at options > about, third line down, starting with a "v.4.xxx")

    What is yours?

    Now install this OS on your PC and run the application loader to install the old version.

  • How to move the read head to a position of specific marker to extend the script that?

    I wish I could change the playhead of a specific marker of my Panel, is it possible?

    There is no supported API that does what you requested.

  • Can't see the content move it by dragging the object - only to see frame by dragging

    Hello

    It's driving me crazy.  I just upgraded to indesign CS4.  In CS4, when you drag an image we always see the content in the frame when dragging - text, images, fill color, etc..  This allows you to be more specific when you place objects.  In CC, when I drag an object, all that I see is the frame dragging - the content disappears until I release the cursor.  Please tell me that there is a setting for this?

    Thank you!

    Click on, then hold a moment before you drag or change preferences under the Live screen design and change immediate.

  • Animation inside the movie clip symbols in the part "header" of the web site

    Question: should I do a header animation of the website. seconds, it happens and is stopped with action script command stop(); but I need an elenment inside the flash header continue to animate like here: http://ves-lab.ru/ a scalable logo in the upper left corner of the header. If somewhere the answer has already been written - someone write a link to this source. Thank you.

    Make this entity that continues to animate a separate with its own animation movieClip.

  • Audio: move & play a single click? not 2, no FF

    When I listen to audio that I want to change, I want to play a little, advance some, play a few etc.

    But until now when I right click I have to hit the SPACEBAR each time to reactivate the read head.

    I just want to keep playing even when I click on coming to other areas.  Is this possible?

    Not interested in fast forward here.

    Thank you everyone.

    Steve z denver

    When editing alcohol is a serious offence, Mr President.  It can cause the premature death of a project.  (Spring-Breakers, any movie of the SyFy channel, reality shows, etc.)

  • () Cp.movie.play Audio iPad plays not

    Hi, Hello, we have impressive results using Ipad for our software simulation, all this work, Captivate 7.

    Only the fact that when we start the html code with the option cp.movie.play ("autoplay", on the Ipad sound)

    on each slide does not play!

    That s it people.

    André Paz Leal

    On iOS devices we do not support Auto Play because of restrictions imposed by the operating system. iOS download and play media (Audio / video) only on the interaction of the user so we make the user to interact in one time by click on the play button to start the movie and use trigger us the necessary media download and play back

    I hope I'm clear!

    Thank you to use the Captivate, you create courses for mobile devices (phones) as well?

    -Suresh Jayaraman

    Captivate the engineering team!

Maybe you are looking for