Load flv file

How to load a flv from 10 second to 20 second ?

BruceMCE wrote:
> I have 3 flv files that I would like to load onto the
stage via corresponding
> buttons. I put one of the flv files on the stage and
named the Instance
> "player" and assigned the following action script to a
button:
> on (release) {loadMovie(player.nonstoprockplayer.swf);
> }
The action is incorrect to start with, so is the entire
arrangement.
If you want to load SWF, you need to load it in level or
movie clip holder
not in FLV file. It's like trying to load something in a GIF
or JPG file
on flash's timeline. Just does not work like that. Level or
holder MC only.
Secondly, if you load FLV you don't load them in holder movie
clip but into
a FLVplayback components and not with loadMovie action.
Check for FLV Playback, under the Components section in your
help files.
You will find action samples on how to set it up.
Best Regards
Urami
!!!!!!! Merry Christmas !!!!!!!
Happy New Year
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>

Similar Messages

  • Cue points in dynamically loaded flv file through netstream

    How can i add cue points to a playlist of flv files which are
    loaded dynamically through an xml files. All the sources i have
    found over the internet are using flvplayback control :(

    Lestyn, thanks for the verification.  Took me a frantic 4 hours to arrive at the same conclusion.  Do these people test their software???
    Maddening.

  • Pre-load .flv file

    Hello again,
    Seperate question:
    I have created an SWF file that streams an FLV file.
    What I would like to do is have the SWF load the FLV all at once at the beginning (the way a flash app might pre-load the interface).  Is this possible?
    This way, when the SWF starts playing, the FLV will be loaded already, and will not have to buffer during playtime.
    The FLV is only 300KB, and is an element in the interface itself, so I can't have it stuttering.
    Thanks in advance!

    attached to the first frame where your component exists and its contentPath is defined, disable autoStart and, if flv is your component instance name, use:
    flv.play();
    flv.pause();
    this.onEnterFrame=function()[
    if(flv.bytesLoaded>=flv.bytesTotal){
    delete this.onEnterFrame;
    flv.play();

  • QuickTime Pro & FLV files ? How to load? How to convert ?

    OK, I finally got my QuickTime Pro moved to my new laptop But...
    It't won't load FLV files...
    Questions:
    1 - Searched & found about Perian but I think it only works on Mac's... true?
    2 - How can i get Quick Time Pro to work with FLV and other video formats on my PC? I want to use it to convert various formats.
    Thanks for any help.

    Question 1, Perian is for Mac's. Question 2, QT does not work with FLV files, you'll have to use->http://www.martijndevisser.com/blog/flv-player/

  • Externally loaded FLV

    In my SWF fie, I have an externally loaded FLV file.
    I now want to add another FLV that will load and play
    automatically when the first one is finished.
    I actually want the SWF to jump to a new scene when the first
    movie is done.
    How can I do that/ what the actionscript?
    Steven

    Hey Steven,
    I am not very sure but just giving a shot answering it...
    You can use FLVPlayback.complete event to detect the
    comepletion of first flv and set the path of other flv on complete.
    Something like this:
    import mx.video.*;
    my_FLVPlybk.contentPath = "
    http://www.helpexamples.com/flash/video/clouds.flv";
    var listenerObject:Object = new Object();
    // listen for complete event; play new FLV
    listenerObject.complete = function(eventObject:Object):Void {
    if (my_FLVPlybk.contentPath == "
    http://www.helpexamples.com/flash/video/clouds.flv")
    my_FLVPlybk.play("
    http://www.helpexamples.com/flash/video/water.flv");
    my_FLVPlybk.addEventListener("complete", listenerObject);
    Hope that works...

  • 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;

  • Load external FLV files?

    I would like my desktop AIR app (built in Flash CS3) to load
    and play external FLV files which are on the same computer/hard
    drive but are not packaged as part of the AIR app. Is there a way
    to do this with the sandbox restrictions AIR has? If so can you
    point me to a sample or documentation?
    Excuse me if this is an obvious subject but the information
    out there is incomplete and confusing.

    I'm still running into the following: As soon as I test the
    movie, I get the following in the area where the video should
    appear:
    status (0 seconds)
    Level: status
    Code: NetStream.Play.Start
    status (0.434 seconds)
    Level: status
    Code: NetStream.Buffer.Flush
    status (4.898 seconds)
    Level: status
    Code: NetStream.Play.Stop
    It doesn't matter if I click the button or not. The video is
    on my network.

  • Scorm pkg made up of number of FLV files takes time to load in LMS

    Hi everyone,
    I m creating the scorm packages in captivate. The source, i have received in MP4 format which I am converting into FLV files. I have loaded these FLV files on to slides in captivate. This way I am creating the scorm package using scorm 1.2 settings.
    Problem: I have loaded the scorm package to LMS and tested it. It takes longer to load the files than the usual time. Can I reduce this time frame somehow? I know video needs a buffering time, but if there's any way to reduce this time - it would be a great help.
    Pls help..
    Thanks & regards
    Vikas

    Hi Vikas,
    The time it is taking is because of the size of the project and the load on the bandwidth at your end.
    Basically, you need to reduce the size of your package. So, to do that encode your FLV videos to a smaller size using Adobe Media Encoder. And then add them to the slide again and re-publish the SCORM package.
    Tip : While Encoding, Keep the level as Baseline or Low and Target Bitrate as least as possible, it would display your the expected file size at the below, when you use custom encoding settings.
    Good Luck.
    Anjaneai

  • How can I mask on flv file in flash cs4?

    Hi,
    I am new to Flash CS4. I saw one video on how to use flv file in flash and mask it. It is working fine when I am using the following option while importing a video file to flash:
    Load external video with playback component
    But when I tried with the following option it doesn't show the background, it shows only movie which is playing nicely. But not the background which has a bill board.
    Embed FLV in SWF and play in timeline
    It seems the mask is not working with this option.
    How to solve this problem? Please help.
    Actually it should be like the above.
    But when I am using the option Embed FLV in SWF and play in timeline while importing the flv video, getting the result like below: It is not showing the Bill board as above.
    See the layers created:

    Hi,
    I Tried with CS4 by creating mask layer and importing video , layers created were same as you have created and it is working for me .
    Here is the screen shot of the .fla file.
    Screenshot of .fla file

  • Flash CS5 unable to play .FLV files on Macbook Pro

    I have a colleague who is trying to put together a Flash package for me  on her macbook pro.  It needs to play an flv file. She is unable to play  flv files on her computer either in Flash or using the Adobe Media  Player. I have no problem playing the same files on my macbook pro,  we're both running the latest OS and have version 1.8 of Adobe Media  Player.
    She went to the Adobe site to download the latest version of Adobe  Media Player, hoping that might include whatever component is missing on  her system. Because of Adobe's decision not to distribute AMP that  didn't help.  She has Flash Professional CS5 11.0.2 on her system.  When  she imports an flv video into a Flash project and tries to play it she  gets an error message saying it can't stream the video. Note that the  video is on her hard drive, it is NOT on the internet so no streaming  should be required.
    The actual error message is: "the video player is in the connection  error state. It enters this state when a video stream attempted to load  but was unsuccessful. There are two possible reasons for the error: no  connection to the server or the stream was not found."
    Since it's a file on her hard drive, and she has loaded the file  into the Adobe development environment successfully, the one thing we  know for certain is that neither of these reasons is correct. Something  is obviously missing on her system, what is it and what can we do to fix  it?

    I'm getting error too (Error #2044: Unhandled NetStatusEvent:. level=error, code=NetStream.Play.StreamNotFound). I'm getting this with CS5. This file was previously made in CS4 and never got this error.
    Everything (fla and flv too) is on external hard disk.
    As this work requires to be exported to mov, I've found out that everything needs to be on the mac (don't know for pc), like on desktop.
    So, let me wrap up disadvantages I got with Flash CS5:
    - TextField.embedFont makes the font disappear in CS5, so I can't use it, so I can't "play" with text in a comfortable way (in CS4, with embedFont = true, I was able to rotate and stuff). Now I have to make a bitmap out of it. It means 3 lines of code and a new variable, instead of just an easy one.
    - I have to rebuild my entire source path structure for AS classes, as my old one (that took me years of effort to be reasonable and used to work just fine in CS4).
    - I have to move stuff from my hard drive to the desktop, to make flv be played and to make a mov out of my animation.
    CS5 is making my job harder and making me lose a lot of time to find out errors that have no good reason to exist (it was not error. just "place CS5 doesn't like").

  • Any ideas how I can view this flv file?

    I have CS3 Flash using Flash Player 9 and Actions Script 3.  I am publishing a progressve loading swf, which has an absolute path to an flv of http://www.haleygroup.com/work_images/basics.flv.  The swf file is located here http://www.haleygroup.com/work_images/basics.swf, along withn the html, flv, and skin.  When I click the button (configured by an XML file) on my web site to view the file, I get a flickering box.  Other flvs in the XML file are configured the same way and work fine.  See this flickering box at http://www.haleygroup.com/, enter site and go to "et al" page, then click "Basics".  Any ideas how I can view this flv file?  Many, many thanks.

    I just changed the path to a relative path of just "basics.flv" and still have the problem.  See swf at http://www.haleygroup.com/work_images/basics.swf.  Thanks.

  • Swf does not load flv on server

    This has been asked before but it doesn't appear to
    have been answered... On my local workstations the swf loads and
    runs the flv fine. They are both in the same directory. When I
    upload the pair to a server (windows 2003) the swf no longer loads
    the flv file. I've tried multiple workstations and two servers with
    the same result. No matter where I put the swf/flv pair and no
    matter how I try to load the swf (direct URL, in an HTML page by
    itself or in the web page) the result is the same....
    When I imbed the video in the swf it runs fine, so, the swf
    runs okay it is specifically the loading and running of the flv
    file by the swf file on the server. I don't think it's a network
    issue because I've tested my workstations across the network and it
    works fine. It is specifically when the swf tries to load a flv on
    a server. I don't get an error message, just a blank swf holder.
    It's not the flash code because I've tried multiple playback
    components and they all give me the same resutl. Again, it appears
    to be specifically related to the swf loading the flv on the
    server.
    It appears to be something that has happened in the last few
    months (maybe I missed an update/) because I know it worked when I
    first uploaded the site. It appears to have stopped working in the
    last six weeks. I don't check my site on a daily basis but I last
    updated my site about the end of January and it was working then...
    I'm using studio 8...
    THANKS...

    quote:
    Originally posted by:
    jcasanova
    Is the path
    http://www.yoursite.yadayada/yadayada.flv
    right?
    Are you referring to the url in the object on the html page?
    Is that supposed to be the swf?
    <param name="movie" value="
    http://www.yoursite.yadayada/yadayada.swf"
    />
    tyroners,
    If you have found a solution, please post it! I have been
    working on this all day with no luck. Runs fine on localhost, but
    on my WIN2003 server, it just shows the blank swf. I did read that
    you also need to upload the skin swf file to the same directory if
    you are using one.
    I will post too when I fugure this one out
    Thanks
    G

  • Create navigation cue points in a FLV file using Media Encoder CC

    When I export a FLV file with Navigation cue points created in Media Encoder CC (by loading a cue points XML file), upon examining the file I see that the cue points are recorded as Event type cue points in the metadata at the top of the file.
    When I load the FLV file in Flash, I can receive cue point notifications using action script while the video is played, but cannot use seekToNavCuePoint to move the play head to one of the cue points, which accords them being Events rather than Navigation points.
    I am wondering if there are any other export settings which need to be particular values in order for navigation cue points to be created properly in the exported file?

    Lestyn, thanks for the verification.  Took me a frantic 4 hours to arrive at the same conclusion.  Do these people test their software???
    Maddening.

  • How to play and stop flv files through NetStream in AIR Application

    Hi,
    In a folder I have 'n' number of flv file, which are DRM protected. when the user try to play those files for the first time through my AIR application, it will prompt for username and password and gets the license/voucher from the server and store it in AIR Runtime. so that from the next time onwords it won't prompt for username and password as because it already has license/voucher.
         My problem is assume there are 500 files, such that for each file the user has to enter his credentials[username and password]. which is a stupid thing. I want to avoid this process by implementing this process internally/programetically. By playing/accessing each file through netstream from the folder and setDRMAuthenticationCredentials for that file and stop the stream. Here I am able to play each file but I am failed to stop it. I mean to say I will get the license for all the flv files internally[while loading my AIR application], such that user should not be interrupted for his credentials for each file.He should play as if he is accessing/playing a non-DRM protected file. I will be very thank full if any one help me out in this.
    public function init():void {
          connectStream();
          getLicenseForAllFiles();
          videoStream.addEventListener(DRMAuthenticateEvent.DRM_AUTHENTICATE, drmAuthenticateEventHandler);
          ppt_videoStream.addEventListener(DRMAuthenticateEvent.DRM_AUTHENTICATE, ppt_drmAuthenticateEventHandler);
            private function getFilesRecursive(rootFolderPath:String):void {
                //the current folder object
                var currentFolder:File = new File(rootFolderPath);
                //the current folder's file listing
                var files:Array = currentFolder.getDirectoryListing();
                //iterate and put files in the result and process the sub folders recursively
                for (var f = 0; f < files.length; f++) {
                    if (files[f].isDirectory) {
                        if (files[f].name !="." && files[f].name !="..") {
                            //it's a directory
                            getFilesRecursive(files[f].nativePath);
                    } else {
                        //it's a file
                        fileList.push(files[f].nativePath);
                        //Alert.show(""+files[0].nativePath);
                        var fileName:String = files[f].name;
                        if(fileName.indexOf("PPT_")!=-1){
                            ppt_videoStream.play(files[f].nativePath);
                            ppt_videoStream.pause();
                        videoStream.play(files[f].nativePath);
                        videoStream.pause();
                private function connectStream():void {
                    videoConnection = new NetConnection();
                    videoConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
                    videoConnection.connect(null);
                    ppt_videoConnection = new NetConnection();
                    ppt_videoConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
                    ppt_videoConnection.connect(null);
                    videoStream = new NetStream(videoConnection);
                    videoStream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
                    video.attachNetStream(videoStream);
                    ppt_videoStream = new NetStream(ppt_videoConnection);
                    ppt_videoStream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
                    ppt_video.attachNetStream(ppt_videoStream);
             private function netStatusHandler(event:NetStatusEvent):void {
                switch (event.info.code) {
                    case "NetConnection.Connect.Success":
                        //connectStream();
                        break;
                    case "NetStream.Play.StreamNotFound":
                        trace("Unable to locate video: " + videoURL);
                        break;
                private function drmAuthenticateEventHandler(event:DRMAuthenticateEvent):void {
                    videoStream.setDRMAuthenticationCredentials("adobe", "adobe", "drm");
                private function ppt_drmAuthenticateEventHandler(event:DRMAuthenticateEvent):void {
                    ppt_videoStream.setDRMAuthenticationCredentials("adobe", "adobe", "drm");
    Thanks
    Sudheer Puppala

    Hi,
    Please go through following links..this will help you:
    http://lucamezzalira.com/2009/02/28/create-pdf-in-runtime-with-actionscript-3-alivepdf-zin c-or-air-flex-or-flash/
    http://forums.adobe.com/thread/753959
    http://blog.unthinkmedia.com/2008/09/05/exporting-pdfs-in-flex-using-alivepdf/
    Thanks and Regards,
    Vibhuti Gosavi | [email protected] | www.infocepts.com

  • Playing a FLV-File in a projector.exe from a network shared folder failes

    We want to load and play FLV-Files while our project files
    (Projector.exe) and FLV-files are sitting on a network shared
    folder with UNC-Path access (\\FILESERVER\sharename\). The problem
    is, that the flv-files do not play. If the same application runs on
    a local system it works fine. The System.security.sandboxType is
    "localTrusted" because it runs in a projector.
    We do not want to map the shared folder to a drive letter!
    Thank you
    Example:
    download

    I apologize if u can not load the page, its a hosting company issue, their server goes up and down randomnly so please to retry 15mn later, it will be available.  Thanks.

Maybe you are looking for