Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6094213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:39:04+00:00 2026-05-23T12:39:04+00:00

I have an SWF that pulls several fairly heavy .flv files into the media

  • 0

I have an SWF that pulls several fairly heavy .flv files into the media player over its life cycle.
I’m using the player.source property.
I don’t see how I can control whether or not the player caches the flvs. I see a settings tab on the Flash Player itself (you can right click to bring up the settings) and I’ve set the slider to “unlimited” but after running the movie, the amount of cached information is still at 0.

Curious if anyone has dealt with this before.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T12:39:05+00:00Added an answer on May 23, 2026 at 12:39 pm

    I’m pretty sure if you just use the built-in flvPlayBack component and stream the .flv using httpStreaming, your file will not be cached.

    In the past, I’ve used NetStream to download .flvs and save them to cache.

    something like:

    import flash.events.NetStatusEvent;
    import flash.net.NetConnection;
    import flash.net.NetStream;
    import flash.net.URLRequest;
    import flash.events.Event;
    
    public var loader:NetStream;
    public var dummy:Sprite;
    
    public function loadFLV():void{
        var request:URLRequest = new URLRequest ('file_to_load.flv');
        var connection : NetConnection = new NetConnection();
        connection.connect(null);
        loader = new NetStream(connection);
        var dummy:Sprite = new Sprite();
        loader.play(request.url, true);
        loader.pause();//pause the playback so it doesn't play the video, it just buffers it.
        dummy.addEventListener(Event.ENTER_FRAME, onNetStreamEnterFrame, false, 0, true);
    }
    
    protected function onNetStreamEnterFrame(event : Event) : void {
        if(loader.bytesTotal == loader.bytesLoaded && loader.bytesTotal > 8) {
            //finished loading
            dummy.removeEventListener(Event.ENTER_FRAME, onNetStreamEnterFrame, false);
            loader.seek(0);
        }else{
            // still loading - you could do some progress stuff here if you wanted to.
        }
    }
    

    This is just off the top of my head. I’m also pretty sure some 3rd party loaders like BulkLoader do this for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have five SWF files that are loaded into a main SWF. All five
I have SWF files that I load into my flash movie and those SWF
i have swf mp3 player that i like to load mp3 files from local
Ok so I have an swf file that loads into the webview from the
I have one main parent swf that loads several other swfs. If something happens
I have an .swf that I am embedding into HTML using the jQuery SWF
I have an ActionScript project with several classes that i compiled as an swf
So, hypothetical situation here: I have an SWF that's 30MB. Sound files (music) make
I have .swf files coming from about 50 graphic designers from all over the
I have a swf with loads text into a Sprite that resizes based on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.