Start the flv playback component playing mailed paused after n seconds

I have a component playback flv (vidPlayer) with a set number of landmarks.

When a cue point is reached the flv playback component stops

and an externel swf is loaded from the staging. I know that the swf file plays for

124 seconds. What I would like is for the flv playback component to start

playing again hence is was suspended at the end of these seconds 124

[code]

If (event.info.name == "lit_23") {}

lit_22.visible = false;

var Xpos:Number = 94;

var Ypos:Number = 78;

var swf:MovieClip;

var loader: Loader = new Loader();

Loader.x = Xpos;

Loader.y = Ypos;

var defaultSWF:URLRequest = new URLRequest ("colours.swf");

Loader.Load (defaultSWF);

addChild (loader);

component playback FLV stops

vidPlayer.pause ();

now start playback position break after 124 seconds

}

[/ code]

Import fl.video.MetadataEvent;

vidPlayer.addEventListener (MetadataEvent.CUE_POINT, fl_CuePointHandler_3);

function fl_CuePointHandler_3(event:MetadataEvent):void
{

If (event.info.name == "lit_1") {}
lit_1.Visible = true;
}
If (event.info.name == "lit_21") {}
lit_20.visible = false;
lit_21.Visible = true;
}

If (event.info.name == "lit_23") {}

var loader: Loader = new Loader();

Loader.Load (new URLRequest ("smallvideo.swf"));
loader.contentLoaderInfo.addEventListener (Event.COMPLETE, swfLoaded);

Loader.x = 91;

Loader.y = 82

}

If (event.info.name == "lit_22") {}
Loader.Visible = false;
lit_22.Visible = true;
}

}

function swfLoaded(event:Event):void {}

var loader: Loader = event.target.loader;

trace ("Loaded")

MovieClip (loader.content). your_flv_pb_instance_in_smallvideo. addEventListener (Event.COMPLETE, smallVideoFLVCompleteF);
lit_21.visible = false;
lit_1.visible = false;
addChild (loader);
Loader.x = Xpos;
Loader.y = Ypos;

vidPlayer.pause ();
}

function smallVideoFLVCompleteF(e:Event):void {}

vidPlayer.play ();

}

Tags: Adobe Animate

Similar Questions

  • Possibility of fade the FLV Playback component?

    Is it possible to fade a FLV Playback component? I tried to put it inside a clip, then using the Transition fade in actionscript, but no luck? Is there another way to make the video look like it disappears without using ._visible?

    Thank you


    Julia

    Mind - I got it - never forgot to import the classes from Transition... Sorry...

  • FLV playback component problem

    Hello world.

    I have problems with the FLV Playback component in Flash Professional CS5. In particular, I have works perfectly under Flash, I published it and yet when I go to insert the SWF file on my Web page using Dreamweaver CS4 the play with all the controls bar disappears. I am a completely free taught novice so I've probably missed something very obvious, but any help would be greatly appreciated because it is now driving me crazy!

    Thanks in advance

    Let yourself be guided by the server.  It is a random test in DW.

  • Stop the flv playback when you exit the current image

    I searched countless forums (here and other sites) and have yet to find the solution I'm looking for (if all goes well, if it exists).

    I have an flv file is loaded by the flv playback component.  Everything works except that the video (and audio) continue to play even after you leave the frame on which is the instance of the component.

    I found a solution that stops the audio using: SoundMixer.stopAll ();

    But the video is still streaming and affect the performance of the site.

    I want to stop the audio and video, which means using the: playbackInstance.stop ();

    However, all of the solutions I've met basically say to add the stop function to all buttons that potentially could borrow the framework with the instance of reading.

    This seems completely tedious and bulky, especially because I have visible navigation buttons from my 'main' swf and MULTIPLE instances of reading I have are found within a swf loaded with its own navigation as well.  By the nature of the design, instances of reading will not always be on the scene calling references will probably trigger errors.  Of course, there are ways to do this with conditional statements, etc.  But it just seems like a waste of time.

    Is there a simple way to call playbackInstance.stop () to navigate away from the current image?  An event to listen to?  I forget one obvious answer?

    I really want to think that there is a more elegant solution than adding so much in bulk to each eventHandler for button on my site.

    Add an event listener for the removedfromstage event.

  • Flash FLV Playback component - problem with swf

    Hope someone can point me in the right direction here - try just the FLV Playback component to replace a couple of short videos on a Web site with a version of flash.

    I've got the SWF works OK - when I saw in HTML it everything works fine.

    However, on the page I have downloaded on my site, it is not and looks like:

    link here

    Any ideas why not?

    I checked, and html, flv and swf files are all downloaded, as is the AC_RunActiveContent.js file.

    See you soon.

    Spotted it - didn't know there was a separate .swf for controls.

  • FLV Playback component

    Fast forward and rewind on the FLV Playback components buttons do not work as normal. If you have tried to use them, you will notice that they meet a click rather than an event mouse_down event.

    By taking a part of the skins, I found that the fast forward clip is forward_mc.

    How to create an event listener to the buttons inside the FLV Playback component?

    If the instance of my FLV Playback component is called 'film', how it access?

    I tried this, but it does not work:

    This.Movie.forward_mc.addEventListener (MouseEvent.MOUSE_DOWN, fastForwardDown);

    function fastForwardDown(e:Event):void {}
    FastForward film
    }

    Thank you

    OK... Thank you. Here's what seems to work.

    If (e.target.name == 'forward_mc') {}
    do what you must
    }

  • the .flv and .swf play fine on my computer but...

    the .flv and .swf play fine on my computer, but only the .flv will play on my pc, does anyone have any idea what this may be? I need to send the .swf and the .flv on to a customer, so that they can use on the web...

    If you open the FLA and select the video on the stage (depending on the version of Flash it could just be a black rectangle, or in fact be video)

    With that selected, go to the settings panel (this is a group with the properties panel, but if it isn't then you can find it somewhere in the window menu)

    Find the "source" parameter in this Panel and change its value to be simply the name of the FLV (if the FLV file is sitting right next to the SWF)

    Publish the SWF file and you'll be ready to go.

  • What is the size of the download that I started the other day and he was chewing on a second 2mbs! So I stopped it

    What is the size of the download that I started the other day and he was chewing on a second 2mbs! So I stopped it

    Hello

    Please see the Installer file size | CC and CS6 apps

    Hope that helps!

    Kind regards

    Sheena

  • Playing discs D or E CD stops playing / jumps titles after 30 seconds.

    A message appears "Windows Media Player cannot play the CD. The disc may be dirty or damaged. Turn on error correction and then try again. "DVD plays no problem just like the sample installed music.  After 30 seconds or so the CD jumps 3 or 4 tracks, played another 30 seconds or so and then stops and displays the error message. When you try to extract from the CD it shows "error" to each track.

    I checked that the drivers are functional and up-to-date and error correction has been activated.

    Any help welcome.

    Program this who/what that fact checking pilot... If device mgr, it's ok, but you're probably using

    drivers/software dated... If it's a pc intel, go to intel.com/support/drivers/software/updates.

    Look for the update utility from intel, it will scan any pc processor intel for updates, software chipset & SATA/RAID

    controller software is where to look.

  • How do you define the size of a FLV Playback component?

    Here is my code that plays the video:

    Fl.video import. *;

    var myVideo:FLVPlayback = new FLVPlayback();
    myVideo.source = "video.flv";
    }

    addChild (myVideo);

    How to set the size of the video? I tried "myVideo.videoWidth = 400;" but it gives me an error.

    Thank you!

    If you are the name of the flvplayback component is myVideo, use:

    myVideo.setSize (444,400);  444 corresponding to the width and 400 is the height.

  • Not loaded FLV playback component skin

    I have a list of FLV files and want to see the ot an instance for each of them in a scrollpane.

    I put an instance of pane to scroll on the stage. Assign a content to a clip path in the library. In this clip, I placed as a result of lines of code

    //========================================================================
    courses of water = new Array ("d:/work/flv/audio1.flv", "..") / flv/audio2.flv ','... / flv/audio3.flv ','... / flv/audio4.flv ','... / flv/audio5.flv ','... / flv/audio6.flv ','... / flv/audio7.flv ','... ("/ flv/audio8.flv");
    thisObj = this;
    streamCount = streams.length;
    for (var i = 0; i < streamCount; i ++) {}
    thisObj.attachMovie ("FLVPlayback", "p" + i, i);
    eval("thisObj.p"+i)._height = 50;
    eval("thisObj.p"+i)._width = 420;
    eval("thisObj.p"+i)._x = 0;
    eval("thisObj.p"+i)._y = 50 * i;
    stream = eval("thisObj.p"+i).contentPath;
    }
    //===================================================================

    now I see all eight instance of the flvplayback component. But I can't see the loaded skin. It's so not to play, pause, volume and seekbar button. the "ClearOverPlaySeekMute.swf" is also in the same folder.

    Help, please.

    If eval("thisObj.p"+i) does not work... then you must add

    eval ("thisObj.p" + i). Skin = "ClearOverPlaySeekMute.swf";

    alongside others after your attachMovie

    I think that the component's x and y properties _x and FLF and method setSize (w, h) - which may give better results if you hit problems with sizing and positioning of the way you do now.

  • When I watch a video or a TV on the net it will make a pause every few seconds

    When I watch a video or tv program on the net it pause sound all few seconds then picture how can I solve this

    You must download and install the latest version of Adobe flash player: -.

    http://www.Adobe.com/products/flashplayer/

  • After the last update of Firefox, Firefox drops after 30 seconds - unusable, how to return to the previous version?

    I am running Windows Vista. After update of Firefox, it will load and after about 30 seconds or less, it falls back to the Mozilla Crash Reporter screen. If I click on anything on the screen, he abandoned that much faster. Cannot even verify the version so that it falls. I need to go back to a previous version that worked at least on my machine. Basically, I have been forced to start using short-term solutions Explorer and am plans to use one of the other available browsers since Firefox no longer works for me. I really like Firefox and would like to get this matter resolved.

    I'm glad to hear that your problem has been resolved.

    If you have not already the case, please mark this thread as solved by the solution of marking.

    This will help other users experience similar problems helps to find faster and more efficiently.

    I hope that you will continue using our products and we thank you for contacting the Mozilla Support.

  • I can zoom the flv video, playing in my swf?

    I can zoom the flv video, playing in my swf?

    Hello

    I have a FLV video that is related to my SWF file (he plays inside a flvplayback component in my movie). I would like the flv to zoom (because it plays) when the user will fly over to it. Is this possible? I was able to "Create a motion tween" on it so that it plays in edit mode , but when I preview the it, the flv just stay the same size.


    I did this zoom with symbols/shapes (using the preset of 2d-zoom movement), but I wonder how I could do this on a flv. I need the video to play as the transformation changes so I can't zoom in an image that looks like the video and then swap for the actual video when it comes to actual size.


    Thanks for any help.

    Thanks Kglad.

    I found a good explanation step by step to this process of Somascope (you need to create a movie clip on the flv playback to interpolate actually component):

    http://forums.Adobe.com/message/3481842#3481842

    also, here are a few documents:

    itions/Tween.html http://www.Adobe.com/LiveDocs/Flash/9.0/ActionScriptLangRefV3/FL/TRANS

  • FLV does not play in the new dw4 html page

    After you save the new html page, I drag an FLV in it and save the page again. When I press f12, firefox opens with nothing more that a dozen buttons reading on the page. Despite the automatic execution have been set, no movie times. I tried this with three skins of different reading. I'm not a html programmer. What should I do to cause the page to read the flv file?  -david

    Hello

    You can simply drag an FLV on a page in dreamweaver and expect it to work like the support files will be absent, (you can get the Player skins, but not the flv file to play).

    Try following the instructions given in these two tutorials/instructions - http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WSc78c5058ca073340dcda9110b1f693f21-7c9 ea.html

    and http://www.adobe.com/devnet/dreamweaver/articles/add_video.html.

    PZ

Maybe you are looking for

  • Get a contextual study apparently FF, it's authentic?

    This morning [2013-29 GMT] when I looked up to FF (Mac OSX), a pop-up has crept upward from the bottom edge of the browser saying "you have chosen for a study of 2 minutes. Want to contribute? "etc. When I click on [OK], I was diverted to something l

  • After viruses need help please - what drivers are needed

    We had a virus on our satellite pro M40 and remove one of my friends "kindly" offered help. then he deleted the partition with the windows operating system booted from the CD drive and reinstalled. only problem now is there is no graphics or sound ca

  • HP Officejet Pro 8500 a icon, opening, changed

    When I click on the printer icon, it opens to only halfe of the dialog box.  Is no longer activate the scanner option, ink levels are no longer an option. How can I fix it?

  • No sound through speakers when using Skype

    I have Windows Vista 64-bit operating system.  The following situation began around mid-April.  Although all the sound settings are correct and healthy records on his Equalizer lit bar, there is no sound coming through the speakers.  With some parame

  • Center of Lenovo, the candidate of bloatware removal solutions

    Is the center of Lenovo solutions a candidate for removal of bloatware? Add on the question: which App Lenovo could have reinstalled SHAREit after I uninstalled?