Flash Gallery | Flash Templates | Flash Menu | Flash Design | Flash Audio & Video

flash page flip

Actionscript 3.0 video tutorials

+ Reply to Thread
Results 1 to 4 of 4

Thread: Need Help with FLV component.

  1. #1
    Junior Member Settled In Reddoor is on a distinguished road
    Join Date
    Nov 2008
    Posts
    4
    Rep Power
    0

    Need Help with FLV component.

    amazing Flash templates
    Hi, what I am trying to do is once my FLV video (with FLVPlayback component ) is finished playing I want it to go to the next frame. Can some one please help me with this?

    Thanks.

  2. #2
    CSS.FlepStudio.org Moving My Stuff To The FlepStudio Onsitus is on a distinguished road Onsitus's Avatar
    Join Date
    Jul 2007
    Posts
    1,366
    Rep Power
    4

    Re: Need Help with FLV component.

    Ciao,

    something like this???

    import fl.video.VideoEvent;
    function onVideoComplete(event:VideoEvent) {
    myVideoPlayer.removeEventListener(VideoEvent.COMPL ETE, onVideoComplete);
    trace("Video complete");
    }
    myVideoPlayer.addEventListener(VideoEvent.COMPLETE , onVideoComplete);

    More about video event:

    fl.video.VideoEvent (ActionScript 3.0)

  3. #3
    Junior Member Settled In Reddoor is on a distinguished road
    Join Date
    Nov 2008
    Posts
    4
    Rep Power
    0

    Re: Need Help with FLV component.

    That's it THANK-YOU Onsitus it works great!

    FYI - I found a solution for AS 2.0 but it wouldn't work in AS 3.0, which is what I needed.
    Here's the AS 2.0 solution for anyone that needs it.

    myVideoPlayer.contentPath = "video.flv"
    //put in your flv file or flv location on a server in quotes like above

    var vidList : Object = new Object();
    vidList.complete = function (){
    trace("Video complete");
    //Code for whatever you want to do after video is completed goes here.
    }
    myVideoPlayer.addEventListener ("complete",vidList);
    //Anywhere it says myVideoPlayer, replace with the title of your instances name on the stage.

    Cheers!

  4. #4
    CSS.FlepStudio.org Moving My Stuff To The FlepStudio Onsitus is on a distinguished road Onsitus's Avatar
    Join Date
    Jul 2007
    Posts
    1,366
    Rep Power
    4

    Re: Need Help with FLV component.

    Welcome.

    And thanks for sharing the answer in as2.

+ Reply to Thread

Similar Threads

  1. cs4 component
    By loren in forum CS4 Components
    Replies: 1
    Last Post: 05-12-08, 14:23
  2. cs4 component
    By loren in forum Componenti CS4
    Replies: 0
    Last Post: 03-12-08, 20:16
  3. UI alternative component?
    By nootropic.kint in forum Componenti
    Replies: 9
    Last Post: 30-11-07, 09:56
  4. i component non si vedono...
    By eturella in forum Flash Italiano
    Replies: 1
    Last Post: 30-11-07, 01:40
  5. creare component
    By nootropic.kint in forum Componenti
    Replies: 1
    Last Post: 25-10-07, 18:56

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Optimization by vBSEO