How to stop 12 flv files all loading at once

Hi Guys,
Ive just created a page with 12 FLV players, all to play
audio, problem is, when you click open the page, all the tracks
seem to be loading into the players.
Can some one please tell me how to stop this, Im a flash
newbie so please leave me tips on how to do this.
Also is there any code i can put in the html page, or will i
need to recode each FLV seperately.
Many thanks for your help.
Tobes

There are a couple of ways I think would work.
1. Use only one Playback Component. At the appropriate time,
change the content of that single player using
instanceName.contentPath = "new file name";
2. If you use multiple players, set the parameters to not
automatically load. At the appropriate tim use
"instanceName.load();"

Similar Messages

  • 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

  • How to Stop automatic file saving on IPAD Adobe Reader 11.2

    How can stop my PDF document being saved with the fillable form data when being using Adobe Reader 11.2 on an IPAD - the file is automatically saved when the user returns to the document folder.  The original pdf file was created from a Word document and then text,signature and date fields added using Adobe Acrobat XI and saved using Standard Save function. I am trying to achieve my users completing the template form using the IPAD and then emailing it. However each time the form is filled and emailed (which all works fine) and the user returns to the "documents" folder, Acrobat Reader 11.2 automatically saves the file with the form data

    I think the iPad forces a different way of thinking. In general, you don't have to save files on the iPad, and that's important. The iPad has complete liberty to quit an app when you want to run a different app, or just because it feels like it. When you restart a good app, things are as they were when it was quit.
    Resetting is a possibility, but remember that because of this automatic quit/automatic restart it might happen when you don't want it. A reset BUTTON seems entirely possible.

  • C7: How to play .FLV files on Nokia C7

    Can I ask how do you play .FLV files on Nokia C7? I searched for FLV player in the Ovi Store and nothing is returned, whereas on Android Market loads of FLV players are available.

    I couldn't find an FLV player either. But you can download freemake video converter from internet. Its really a very good converter and I transfer my vids to C7 only after converting to C7 resolution because it makes the processor to do less work. If you transfer an HD vid directly to phone it will play fine but will cost u battery life. (more processor usage)

  • How to convert .flv files to .mov?

    Source file = .flv downloaded from Twitch TV
    Need = to convert the .flv file to a format that I can edit in Final Cut Pro 10.0.6
    End Result Desired = to posted editted version in format that will play on YouTube
    OS = Mac 10.8.2
    When I download the .flv file, the audio and video play fine in Adoble Flash Player 1.8.   I have tried just ablout every Mac  .flv converter I can find and all convert the .flv video to other formats, but the Audio is never included.  I cannot figure out why the audio does not come over.
    Any suggestions would be greatly appreciated

    I've been reading so many different forums on how to convert FLV to MOV. Finally, I summarized three solutions:
    First one: HandBrake . This tool is a free and open-source multi-threaded transcoding app.
    Cons:
    1. HandBrake is too professional to handle for most people;
    2. It doesn't support MOV as output format.
    Second one: there are many third party software which supports converting FLV to MOV.I highly recommend iDealshare VideoGo which can batch convert FLV to MOV much easier, faster on Mac or Windows Cons:
    1. Most of them are not free.
    Third one: Online-Converter . This kind of converter does a great job on file conversion.
    Cons:
    1. Like most online converters, the free version of this tool only allows you to convert videos smaller than 100MB. It's too small for video conversion;
    2.Your MKV video should be upload to the internet to be converted. This means the risk of pravite information leak is possible.

  • How to stream flv files from a diffferent directory outside the applications folder

    Hi everyone,
    I want to stream the flv files from a different location
    stored in the hard disk, which is outside the applications folder
    in the FMS installation root directory. Does anyone know how to do
    it?
    Regards,
    Diptanu

    VOD changes won't help him, he said outside the applications
    folder. According to adobe any new vod folders must be in the
    applications folder, hence virtually worthless for most purposes. A
    better question may be, how do you specify a folder on a different
    local hard drive. I wish adobe wouldn't make it so complicated, it
    should be a really simple matter.

  • How to design Flat file for loading attribute dimension in a planning application

    Dear Gurus,
    I have a requirement to extract attribute dimensions from an essbase application and load it to another planning application. I have a dimension called Program and two attribute dimensions Sales Manager, Accounts manager associated with Program dimension in Essbase application. I will Extract these dimensions using Essbase outline extractor. After Extracting the attribute dimensions I have to load these dimensions to planning applications using outline load utility. Kindly guide me how to design the flat file for loading attribute dimensions in planning application.
    Thanks and Regards
    SC

    You could dig through the docs and try to figure out the file format manually, or you could do this the easy way.  Simply use the Outline Load Utility to export your attribute dimension from Planning.  The export file format is the same as the import file format.  You might have to manually add a couple of test members to your attribute dimension so that your export file has some content.  Then simply update the file you exported, and import it.
    (I am assuming you have already manually created the Attribute dimension in Planning, and that you simply need to add members to it.)
    Hope this helps,
    - Jake

  • How to stop php file opening in Dreamweaver

    Hi,
    I have never used Dreamweaver and I am not using it at present, but after installing Xampp on my PC, the php files open in Dreamweaver. The pages are blank so cannot even be modified.  Is there a way I can stop these files opening in Dreamweaver?
    Any advise would be appreciated.
    thanks,
    je543

    Dreamweaver cannot open files if it is not installed.  Be sure to check the Windows programs or Applications folder on a Mac.  You can also run the Adobe Clean Script to remove all remnants of Adobe programs on your computer.
    http://www.adobe.com/support/contact/cscleanertool.html
    Alternatively you can always right click on a file in Windows or on a Mac and choose the associated program and change all files.  By default those files will open in a text editor unless an HTML editor is around.

  • How to stop a page from loading?

    Does anyone know if there's a way to stop a webpage from loading (i.e. before it finishes)..? This page, for example:
    http://sportsillustrated.cnn.com/baseball/mlb/gameflash/2011/06/04/36460_recap.h tml
    When I click on the "X" (or type Cmd+period) i want to cease ALL communication with whatever website is in the address bar. I don't want periodic updates, i dont' want animated ads to finish loading, i don't want my screen rearranged.... nothing. I WANT TO TERMINATE ALL CONTACT WITH THAT WEBSITE until such time that i might click on "reload".  And i should be able to do this without having to yank out my ethernet cable.
    This may be a more general problem that applies to Firefox as well. 

    Huh, i didn't realize the escape key did something different than Cmd+period. It seems to work but i'll have to try it with some of the peskier websites.... Thanks.

  • How to playback FLV file?

    Hello, I am currently exporting .flv files using Adobe Flash Encoder. Once these flv files are exported, how can I view the clips? I need to view them for review, and I've tried Downloading flash player 9, but apparently that's just a plug-in for web browser.... help!

    VLC will play back .flv files.
    Also, you can download Perian which installs as a QuickTime plug-in and should let you open your .flv's right inside of a QT player.
    Let us know if this solves your issue.

  • How to edit .FLV file in Flash?

    Hi,
    Can anybody giude me how to Edit .flv movie file in Flash
    Professional 8 in MAC.
    I can open the .flv file. I can see each frame.
    Now when i select some frames from the starting movie &
    cut(delete) those frames, I should get the remaining movie.
    But i can still see the starting movie frames in my .flv
    file.
    I don't know how to select particular frames & cut those
    frames.
    Please reply if you know the answer.
    I appreciate your support.
    Thanks in advance.
    - Nik

  • How to view .flv files?

    How view flv files in nokia 5233?
    Moderator's Note: We have moved your post and changed the title into a subject-related title. This is to keep the forum organized and let other forum users easily see and respond to this post.

    the only way really to view .flv files on older Symbian 5th edition devices was thru baseline updates to the built-in video player (in many cases, RealPlayer). this was achieved only thru ensuring that you had the latest firmware installed on your device, via checking via Nokia Suite on your PC.

  • How to stop a sound from loading ? my_sound.unload or something ?

    I want the sound to stop loading when I press the stop
    button, I have:
    var my_sound:Sound = new Sound(_root);
    my_sound.onLoad = function() {
    my_sound.start();
    preload_btn.onRelease = function() {
    my_sound.loadSound("some_sound.mp3", false);
    stop_btn.onRelease = function() {
    my_sound.stop();
    Say I click the "load" button, the sound starts loading, when
    I press the "stop" button the sound should stop playing but I also
    want it to stop loading, the sound keeps loading from given URL, it
    loads in background and making network traffic. I can only fix this
    by giving my sound an empty sound file to load, but it must be some
    other way, right? Something like my_sound.unload ?
    Thank you.
    Adrian.

    "adrianTNT" <[email protected]> wrote in message
    news:e6aitv$hkm$[email protected]..
    >
    quote:
    Originally posted by:
    kglad
    > you're welcome. with your solution loading another mp3,
    are you sure it stops
    > the download of the first mp3?
    > Yes, it seems to work fine, it loads another sound in
    same sound (my_sound)
    > and it seems to replace loaded progress with the empty
    sound I gave and stops
    > previous loading.
    > I look at traffic icons on task bar and I see that there
    is no network traffic
    > after I click "stop" before this I could see continuous
    traffic while sound was
    > loading in background.
    Yeah, I remember someone posted that solution a long time
    ago. It seems if you load a file with the same name the cache
    doesn't
    know any better and adjusts the download size to the smaller
    one. Maybe it's a good way to do it! Could it be a way to remove an
    mp3 from someone's cache after it plays? hmmmm Will have to
    do more testing.
    tralfaz

  • How to open flv files in flash

    I want to open flv file in flash and edit. I couldnot import flv file in flash. please guide me.

    FLV is FLash Video.  You will want to use a program such as After Effects or Premiere Pro to edit video, not Flash Professional.

  • How to stop media file

    Iam working on JMF ,and Iam trying to build an application on JMF ,In which There are three buttons on JFrame .
    I want that If anybody can help me out ,If I click one button the media file should run and when I click second button new media file should run after stoping first media file.
    here media file ref. to video.
    can anybody help me
    Thanx in advance

    To stop media file u can use the stop() method or the stopAndDeallocated() method in the media player that is run the media file
    mediaplayer.stop();
    mediaplayer.stopAndDeallocate();
    if u want to pause the mediaplayer u have to save the time of the media and set it when u want to play it again.
    pausemediaplayer.stopAndDeallocate();
    Timer timer = mediaplayer.saveMediaTime();
    playmediaplayer.setMediaTime();
    mediaplayer.start();

Maybe you are looking for