External Flv video finish goto first frame

Hi,
I insert 1 external flv video in maintimeline 2 frame.
when video finished goes to 1st frame.
Plz Help Me............
Thanks & Regards,
Mandar

fullscreenbtn.addEventListener(MouseEvent.CLICK,f);
function f(e:MouseEvent):void{
stage.displayStage="fullScreen";
// make sure to use the allow fullscreen html template (file>publish settings>html).

Similar Messages

  • How to load and display the external flv video files in dynamicly and the how to control the flv fil

    How to load and display the external flv video files in dynamicly using AS 3.0
    and  How to control the flv file  add the play paus button and add seekbar.
    I have using to load the flv file following code
    var flvPlaceHolder1:MovieClip = new MovieClip();
    var vid1:Video = new Video(734, 408);
    flvPlaceHolder1.addChild(vid1);
    addChild(flvPlaceHolder1);
    flvPlaceHolder1.x = 1059;
    flvPlaceHolder1.y = 152;
    var nc1:NetConnection = new NetConnection();
    nc1.connect(null);
    var ns1:NetStream = new NetStream(nc1);
    vid1.attachNetStream(ns1);
    var listener1:Object = new Object();
    listener1.onMetaData = function(evt:Object):void {};
    ns1.client = listener1;
    ns1.play("GV-1600 TURNING.flv");
    ns1.addEventListener(NetStatusEvent.NET_STATUS, statusChanged1);
    function statusChanged1(ns1:NetStatusEvent):void
             trace(ns1.info.code);
            if (ns1.info.code == 'NetStream.Buffer.Empty')
                 trace('the video has ended');
                 removeChild(flvPlaceHolder1);
                 //trace('removeChild');
                gotoAndPlay(1786);
    then how to add the play,paus ,full screen button    and   seekbar,volumebar.

    I have to Create the flash presentation for our company product
    In this presentation the left  side the text animation are displayed then right side the our product video is displayed.
    In this presentation i need the following option :
    1, The first product video and animation is finished then the next product is played
    2, then the video displayed  (size width and height 400x300) , I click this video to increase the size(ex:1000x700)
    3, then the playing video i control  it play, stop, paus button and volume bar, seek bar.
    4, then this presentation is displayed on 42 inches LCD TV so this full presentation is run full screen.
    I have finished first two steps 1 and 2
    the following are the screen short and code:-
    code :-
    var count=0;
    var flvPlaceHolder2:MovieClip = new MovieClip();   
    var vid2:Video = new Video(734, 408);
    flvPlaceHolder2.addChild(vid2);
    addChild(flvPlaceHolder2);
    flvPlaceHolder2.x = 1059;
    flvPlaceHolder2.y = 152;
    var nc2:NetConnection = new NetConnection();
    nc2.connect(null);
    var ns2:NetStream = new NetStream(nc2);
    vid2.attachNetStream(ns2);
    var listener2:Object = new Object();
    listener2.onMetaData = function(evt:Object):void {};
    ns2.client = listener2;
    ns2.play("GS-4000.flv");
    this.addEventListener(Event.ENTER_FRAME, BtnFadeIn2);
    function BtnFadeIn2(event:Event):void
        if (this.currentFrame == 387)
            /*flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
            trace('Screen size is changed');*/
            if(count==0)
            flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
            count++;
    ns2.addEventListener(NetStatusEvent.NET_STATUS, statusChanged2);
    function statusChanged2(ns2:NetStatusEvent):void
        trace(ns2.info.code);
        if (ns2.info.code == 'NetStream.Buffer.Empty')
                trace('the video has ended');
                 removeChild(flvPlaceHolder2);
                 //trace('removeChild');
                gotoAndPlay(433);
    flvPlaceHolder2.buttonMode=true;
    flvPlaceHolder2.addEventListener(MouseEvent.CLICK,home2);
    function home2(e:MouseEvent):void
        if(vid2.width==734 && vid2.height==408)
            flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
        else
            flvPlaceHolder2.x = 1059;
            flvPlaceHolder2.y = 152;
            vid2.width=734;
            vid2.height=408;

  • How to tell the Spec's of FLV video? - bit rate, frame rate, etc.

    Flash CS3 on Windows XP PC..
    How can I determine the spec's of an existing FLV file?
    1 - Video bitrate
    2 - Video frame rate
    3 - Audio bitrate
    4 - Audio sample rate
    etc
    Thanks for any help.

    Must you "impor" the FLV file into Flash to see the "metadata" property?
    If so how?
    If so how?
    Thanks for the help.

  • Media Encoder CS5: First frame in flv is wrong

    Hi,
    I am a total beginner!
    Client wants an .flv.
    The movie I drop into the Media Encoder is being encoded just fine.
    But: The first frame of the .flv is not the first frame of the movie but just black.
    What's wrong ?
    Thanks a lot for any pointers.
    chris

    Hello
    I have got the same problem here. I have just changed my HDDs to the following set up to the following
    C : Seagate Momentus XT 500GB (2.5" 7200rpm)
    D : Areca Raid Controller 1110 (3 x seagate momentus 7200rpm 2.5" Raid 0) Media Files
    E/F :TB32 Raid Controller ( 2 x Seagate 3.5" 7200RPM hdd Raid 0 Partitioned) Stock footage, Media Cache and Exports
    I converted my two bay workstation to  4 2.5" HDDs
    The sequence I am currently exporting is 23 minutes long and is Matrox HDV 50i, with Matrox colour correction, Magic Bullet Looks and Adobe Auto contrast. This export is taking forever and it has just rendered a sixth of the sequence for 2 hours 27 minutes and indicates that 11 hours 23 minutes remains to render. CPU is not maxed out never had such awful long renders before with my previous setting which had only two logic HDDs.
    This was my previous HDD set up
    C : Bios Raid 0 (Western Digital Caviar Green 3.5" 7200 x 2 partitioned into C & D)
    E/F :TB32 Raid Controller ( 2 x Seagate 3.5" 7200RPM hdd Raid 0 Partitioned) Stock footage, Media Cache and Exports
    So currently I am not sure whether I have gone for the better or I have just worsened. I have just exported some clips with after effects and the CPU was maxed out without any sluggish perfomance.
    SYSTEM
    HP XW6600 Win 7 Pro 64 bit
    Dual Xeon 5450 3ghz (8 virtual cores)
    32 GB RAM
    GTX 285 2GB GPU
    Matrox RT X2
    Areca 1110
    I have got lots of jobs coming up and perfomance has become of paramount importance. Here is a picture of the perfomance with HD tune.

  • FLV video in a single keyframe.

    hello,
    I have loaded an external FLV video into my project however, my video starts immediately as soon as I go to the keyframe with the video on it. It can still be heard playing after I leave that keyframe. Should I return to the keyframe it begins playing two versions of the video. i have tried VideoAndy.stop(); on the keyframes before and after and that does not work.
    I want the video to stop playing when i leave the keyframe
    how would i do this?
    Thanks,
    Jac
    EDIT: for all those who may be having the same problem, in your keyframes before and after the video keyframe add the following code
    flash.media.SoundMixer.stopAll();
    this will stop all sound once you leave the video keyframe

    You need to stop the FLVPlayback in the frame where it exists, so whatever portion of code that you have that controls leaving that frame should include the command to stop the player.

  • GotoAndPlay next frame after external flv finishes

    The subject title pretty much tells it all.  I've got a flash project where a video component plays an external flv file.  I've got a different flv file loaded at each keyframe.  Right now the flv plays and then it stops and waits for you to click on the next video you want to watch.  I want it to automatically go to the next keyframe and start the next video.  Any suggestions?

    Ok, I just found something that may help you help me..I'm not the one who originally created this component so I wasn't quiet sure how it was done but your question got me to investigating.  It looks like I'm using exactly what is described here, http://www.meshybeats.com/components/userguide.htm.
    Here's their example of what I could do to trigger something at the end of the video playing:
    var myListener = new Object();
    myListener.end = function(eventObject):Void
    trace(eventObject.target);
    trace(eventObject.type);
    trace("video ended");
    myDisplay.addEventListener("end", myListener);
    I'm not sure how I would manipulate that to have it go to the next frame though.  Any thoughts?

  • Get first frame of an flv video into a jpg image

    I am creating an app with flex for recording a video and i want to capture the first image of the video recorded, by now i use the following function in order to capture the
    first image but its rather slow
    private function capture():void
                                            var bitmapData:BitmapData = new BitmapData(videoDisplay.width, videoDisplay.height);
                                            bitmapData.draw(videoDisplay);
                                            var jpg:JPEGEncoder = new JPEGEncoder();
                                            var ba:ByteArray           = jpg.encode(bitmapData);
                                            var base64_enc: Base64Encoder = new Base64Encoder();
                                            base64_enc.encodeBytes(ba,0,ba.length);
                                            imgEncoded = base64_enc.toString();
    and i would like to get the first frame of the recorded video as a thumb after it is recorded
    is there any idea on how to achieve that?
    Thanks in advance!

    Define slow. What you're doing is pretty basic. Converting a display object into a bitmapdata so you can jpeg encode it. The copy to the bitmap will be lightning quick. The encode to JPEG is probably the slowest part of the process and on any modern cpu that will be a fraction of a second. Then the base64encode might take about the same amount of time. How is that slow?

  • Wait on frame until video finishes?

    Hello,
    Does anyone know if there's a way to tell flash to wait on a
    frame until a video finishes playing, and then go to the next
    frame? (I'm using progressive download. It has audio that needs to
    stay in sync.)
    Thank you for your help!

    kalibahlutwo,
    > I have imported an FLV and on import chose
    "progressive",
    > rather than embedding the video, because I read that if
    the
    > video has audio in it, it will stay syncronized better
    with
    > progressive than with embedded video.
    I can neither confirm nor deny which plays better. But it's
    good to
    know we're dealing with external video.
    > Flash automatically put the video into an FLVPlayback
    > component.
    Yupper. :) Now we're getting warmer.
    > I would like to have the video play to the end, and then
    > have the Flash movie automatically go to the next frame.
    Here's the scoop. Just about everything in ActionScript can
    be
    described as an object. Objects are defined by something
    called classes,
    which you may think of as object blue prints. The FLVPlayback
    Component,
    for example, is defined by the FLVPlayback class, and you can
    look up this
    class entry in your documentation. Components are listed in
    the Component
    Language Reference and ActionScript clases are listed in the
    ActionScript
    2.0 Language Reference.
    Classes define the properties of an object (the
    characteristics it has),
    its methods (things it can do), and its events (things it can
    react to). So
    class entries should definitely be your first stop, always.
    If you're
    dealing with a movie clip, look up the MovieClip class. If
    you're dealing
    with a dynamic or input text field, look up the TextField
    class, and so on.
    Consulting the FLVPlayback class, then, we find that
    "FLVPlayback
    extends the MovieClip class and wraps a VideoPlayer object.."
    Okay, what
    does that mean? Well, in this context, it means that any
    FLVPlayback
    instance -- such as the one on your Stage -- contains all the
    features
    (properties, methods, and events) of a movie clip, because it
    *extends* the
    MovieClip class. So this particular case is something of a
    wild goose
    chase. Normally, the answers you want are already at hand.
    FLVPlayback is
    a little different. But the documentation continues: "... and
    wraps a
    VideoPlayer object," so now we know to get more information
    by looking up
    the VideoPlayer class.
    Bingo. Here's were we find the answer. The VideoPlayer class
    includes
    an event VideoPlayer.complete (see the Events summary in its
    class entry).
    It also contains a method VideoPlayer.addEventListener(),
    which means we can
    "listen" for the complete event. Good news.
    So ... give your FLVPlayback Component instance an instance
    name.
    Select it and look at the Property inspector. Let's name it
    vp, short for
    video player. Create a new layer and name it "scripts" --
    this is where
    we'll put your ActionScript.
    var listener:Object = new Object();
    listener.complete = function() {
    trace("complete!");
    vp.addEventListener("complete", listener);
    Here's what's going on. Events of the sort we're dealing
    with can be
    handled with a listener. A listener is just a generic Object
    instance -- so
    in line 1, we're declaring a variable arbitrarily named
    listener. It's of
    type Object and is set to a new Object instance.
    This listener object acts as a proxy for the FLVPlayer
    (actually, the
    VideoPlayer) complete event. Via this listener, we assign a
    function to a
    complete property. In this example code, I'm simply having it
    trace() the
    string "complete!" to the Output panel. You'll want to have
    it send the
    main timeline to frame 2 -- _root.gotoAndStop(2);
    Finally, our FLVPlayer instance, vp, invokes the
    VideoPlayer.addEventListener() method to become a listener
    for "complete"
    events from the listener object.
    Done. Badda bing. :)
    David
    stiller (at) quip (dot) net
    Dev essays:
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Displaying thumbnail of FLV video (not 1st frame)

    Hello!
    I have created FLV files through Premiere which I imported into Dreamweaver and from there insert media Flash Video. I followed the options of what kinds of player disply to use, but there's no options for creating a thumbnail of the video. They all default to the first frame, but the first frame is black. Is there any way to pick a different shot or add a jpg still of a shot in the media player?
    Much appriciations!

    This has to be done in Premiere.  And it's not called a thumbnail which may be why you didn't find the option.  It is called a poster frame.  The best documentation I could find is CS3 (link below), but if you search the help in CS4 I am sure you can find the answer because I doubt a feature like this would move very far.
    http://livedocs.adobe.com/en_US/PremierePro/3.0/help.html?content=WS774C91E3-2A28-443f-A76 F-D8D1A60E1426.html

  • Capturing only audio, no video beyond first frame

    When I log and capture it looks okay until I move clips to timeline. Then I only have audio and the first frame. I've cleared the settings and preferences each time. Still happens. What is going on? (The capture audio only is NOT on).

    Is it only a single frame of video in the viewer window ie if you double click the clip in the bin is it the same frame through the entire clip, or is it that only 1 frame displays when you drop the clip in the timeline? if it's the latter check your view>external video settings to make sure they conform to your sequence settings.

  • Erase Imperfection in First Frame -  Carry through Rest of Video ???

    I just imported into Photoshop a 4 minute video clip of me talking before a group of people. the video was shot from the back of the room and my hair is sticking up in the back, which is noticeable and distracting every time I lean my head forward as I am talking. Is there a tool in After Effects where I can erase this clump of hair sticking up in the first frame of the video and then have this deletion/correction carry over the rest of the video clip without having to erase it each time it happens in the rest of the video? This will be the first time I have used Photoshop and After Effects. Thanks!

    If the distraction is moving then you'll have to track it and either mask it or use the clone tool to remove it. You should not be doing this kind of video modification in Photoshop, you should use After Effects to clean up the shot then edit it in Premiere Pro or if you just have the one shot, render in AE. There are only a few instances when Photoshop would be the right tool to use to modify a video. A very few.

  • Cover Flow: Can I Change Video Clips' First Frame?

    Hi,
    I've got a bunch of video files that I'm viewing in cover flow. However, seeing their first frames doesn't help much in giving me a clue about their contents.
    Is it possible to select an middle frame in the video clip and have that be the image that pops up in cover flow? How?
    Thanks,
    Duck

    Whenever I get a movie I always play it in QT Pro 7, select a typical frame, copy it and then paste it as the icon for the movie using GetInfo. Cover Flow respects these added icons, and that is what it displays.
    If you only have QT X the process is a bit more problematic, since I have not discovered a way to select and copy an individual frame. You can't even do a decent screen shot, since if you pause the movie to take a picture of the movie, the idiotic control bar is inside the movie frame. However, if you pause it, then move the mouse off the control bar and click once inside the frame, the control bar will disappear and you can then do a clean screenshot. Open the screenshot in Preview, select all and copy, then select the movie file in Finder, GetInfo, select the wee little icon at the top and paste. Your movie will now have your custom icon displayed in Cover Flow, Icon view, and so on.
    Francine
    Francine
    Schwieder

  • HOW TO DISPLAY VIDEO PODCAST ARTWORK NOT VIDEO FIRST FRAME

    How do I get the photo for my video podcast to display? Feed: http://drcraigjohnson.net/podcasts/video/podcast.xml I only see the first frame of the video in cover flow. Code validates. The image is 600 x 600 per iTune specs, but testing with 300 x 300 didn't help. Thank you!

    The coverflow art equals the album coverart. That art MUST be embedded to show. It doesn't matter if you are actually listed in the iTunes store or not. Now the picture that shows in the store along with website info, customer reviews, etc. is pulled from the iTunes image tags (<itunes:image href="http://yourpictureURL.jpg" /> within your podcast xml file.
    I found the following link within the podcast maker forum with more info from a forum moderator: http://homepage.mac.com/rfwilmut/notes/faq.html#coverart
    BTW when a picture is embedded (whether using iTunes to embed or something else), the actual image, NOT a link to the image is "built into" the file whether mp3 audio or m4v video. I did extensive tests embedding a 50k picture and saw the file's size increase substantially, though not exactly matching the photo size.
    Embedding solved my video coverflow picture issue too. Changing/uploading a new image to your server will NOT change the picture shown in album coverart. Thus your "channel" can have a changeable image (the one in the iTunes tag) but each episode can have its own logo/album art.

  • Apply Photoshop filter effect to first frame of video

    Version: CS4 Master Suite
    OS: Windows XP
    In editing a video sequence, I would like to apply one of the Photoshop filters to the first frame of the video, have that filtered image play back for about four or five seconds, then have it transition to the actual first frame image over about another four or five seconds, and then have the rest of the video play as normal.
    Possible? How?

    Yes, I remember "WWW" well, and recall the stylized still image - it was a very neat effect. Hope that you get what you are looking for. PS is a great creative tool and PrPro will let one do all sorts of animation with still images. I also use Painter (Corel now) for some similar effects. PS makes it easier with Layer Comps, so you can generate incremental versions of effects and get them ready for Import into PrPro. Painter is still a bit "old-school" in that respect, but it only means a few more stylus-clicks. Also, with the newer versions, Painter handles Layered PSD files more like PS does. I think of it as PS Filters on heavy steroids.
    In my case, a "wine snob," is a bit tongue-in-cheek. I'm basically a wino, though I do aspire to sampling all of the great wines on Earth during my lifetime. In reality, I am almost anything but "snobbish" about my wines, because if it's well-made, I can enjoy anything from Affentaler to Zinfandel. Not really all THAT snobbish...
    Hunt

  • Video coming first frame only

    Hi i create a broadcaster in as3.
    Broadcast video is OK.
    NetConnection.Connect.Success is OK
    NetStream.Publish.Start is OK.
    But video coming first frame only in Player, not playing total video in player
    var server = "rtmp://xxxxxx.rtmphost.com/foldername";
    var streamName:String = "testname";
    var nc:NetConnection;
    var ns:NetStream;
    nc = new NetConnection();
    nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
    nc.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
    nc.addEventListener(AsyncErrorEvent.ASYNC_ERROR, ayncErrorHandler);
    nc.client = this;
    nc.connect(server);
    function netStatusHandler(event:NetStatusEvent):void
              switch (event.info.code)
                        case "NetConnection.Connect.Success" :
                                  connectStream();
                        case "NetConnection.Connect.Closed" :
                        default :
    function connectStream():void
              ns = new NetStream(nConnection);
              ns.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
              ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR, ayncErrorHandler);
              ns.client = this;
              ns.attachCamera(webcamera);
    function securityErrorHandler(event:SecurityErrorEvent):void
              trace("securityErrorHandler: " + event);
    function ayncErrorHandler(event: AsyncErrorEvent):void
              trace("AsyncErrorEvent: " + event);
    var webCamera:Camera = Camera.getCamera();
    var video:Video = new Video();
    video.attachCamera(webCamera);
    addChild(video);
    Startbtn.addEventListener(MouseEvent.CLICK, startClick);
    function startClick(event:MouseEvent):void
              if (Startbtn.label == "Start Broadcast")
                   Startbtn.label = "Stop Broadcast";
                   ns.publish(streamName, "test");
              else
                   Startbtn.label = "Start Broadcast";
                   ns.close();

    i got the problem

Maybe you are looking for

  • Item Description not popping for some items in Sales Order

    Hello Experts, We have upgraded ourselves to SAP B1 8.82 PL01. When posting the Sales Order, for some of the Items, the Item Description and other details which come automatically once the item code is selected are not displaying. We have tested by c

  • Can I use Oralce9i database to depoly BC4J without using Ora9ias

    Oralce9i database has so many components help you develop application, for example JSP,SERVLET,I want to know when I need oracle9ias for developing,in what case I only need oracle9i database for developing including its components?

  • Retouch Tool in Aperture 2 producing a negative image

    Both the repair and clone tools, when applied to scans of B&W prints in TIFF format from a flatbed scanner, are turning my positive B&W image into a negative image. The transition occurs when the adjustment "takes." The only way to get my version bac

  • Can't empty trash bin error: -8003

    I'm trying to delete files from my Mac. Whenever I try to empty my trash bin this message appears: Can't complete operation. Error found. (error: -8003) Please help!

  • SE 38 abap program

    Hi Friends, How to find out a generated ABAP program for  transaction UPSPL. when user executes UPSPL, it generates the one ABAP program. How to find out the corresponing program name. It is very urgent for me. Please help me. will assign the points.