ActionScript 2.0 :: Preventing Cache / Forcing Refresh In Video Streaming?

Sep 21, 2009

I made a web which contains some video streaming from a flv file. The thing is that all the flv file is kept in the browser's cache, and that's a problem, because every time the video file is updated, the browser (Firefox, Opera...) keeps on loading it from the cache.

Is there any piece of AS (1.0) which prevents it from loading from the cache? Or (even better): is there any way to keep it from being kept in any browser's cache folder?

I used a slightly modified version of this code (skipCache.as), but it won't work:

[Code].....

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Passing Flashvars Without Forcing A Cache Refresh?

Jan 23, 2009

I have a movie that is called with the name of an XML file to load using flashvars.var payload = "ABC";payload = root.loaderInfo.parameters.payload;Using this approach the movie is reloaded into cache every page refresh and the delay is unacceptable.

View 7 Replies

ActionScript 3.0 :: Forcing XML Refresh?

Nov 30, 2010

I am having the (apparently common) problem, where my flash file won't update its XML source when I make changes. I've research this, and learned that I need to add a unique reference to the loader, to "fool" the browser into reloading the XML each time.

However, I'm not sure exactly where to put the unique variable. Here's my XML loading code.

[Code]...

View 3 Replies

ActionScript 3.0 :: Forcing Browser Or Flash To Cache Loaded Images?

Feb 1, 2010

I've uploaded my slideshow swf to my WIP website (CSS files got overwritten ) Everything is working great. It's looping, I have a preloader animation, ect. The problem I now want to resolve is getting the loader to cache the image files. When the slideshow is told to go back to image[0], it reloads it again. As the whole point of this project was to work around my free web hosting's bandwidth limits, as well as getting more experience working with XML, this simply wont do. Imagine if someone browsing my site left the main page running for a few hours! What I need it to do is to somehow force the browser to cache the images once they are loaded, or at least I think this is what I need to do? Here's the code again:

Code:
import fl.transitions.Tween;
import fl.transitions.easing.*;
import fl.transitions.TweenEvent;

[code]....

View 4 Replies

Flex :: Forcing Custom Item Renders To Refresh?

Jul 4, 2010

I have an AdvancedDataGrid. One of the columns in the grid displayed with help of custom render. During the application run, I set another custom render to the same column.When I scroll data in the grid (change values for the custom renders) they display new view correctly.I want that they dispaly new view automatically (when I set them): so I think I have to call them and tell tham to refresh rgeir views.

View 1 Replies

Forcing Menu To Refresh After Modifying Data Provider XML

Apr 15, 2009

When updating the data provider for a menu bar component, the state of the menu items fails to update until the user interacts with the menus (rolls the mouse over them, clicks them, etc). For example, a disabled item remains enabled until the user roll the mouse over it. Is there a way to force a menu 'refresh' after modifying the data provider XML?

View 1 Replies

ActionScript 2.0 :: Preventing Swf From Reloading On Page Refresh?

Sep 19, 2011

Flash CS5, CS4
Actionscript 2

What I want the SWF to do is play from the beginning when someone hits the index.php file and gotoAndStop(234) when someone goes to a sub-page (like contact.htm).What I did first was:

<CODE>
function checkSO() {
var SO = SharedObject.getLocal("siteSO");
if (SO.data.visitedAlready != undefined) {

[code]....

And that worked in the sense of no cookie-it loads and plays the swf from the beginning. If

there is a cookie it starts from frame 234.

As it sits now as long as the cookie exist in the TIF everytime they return to my page it will not play the opening animation it will just jump to then end even on the index.php.

Someone else suggested:
<CODE>
import flash.external.*;
var currentURL:String = String(ExternalInterface.call("window.location.hre f.toString"));

[code]....

I just don't know what string (I think) to put in the /** ...flush.. **/ part

View 3 Replies

ActionScript 1/2 :: Preventing Swf From Reloading On Page Refresh?

Sep 19, 2011

What I want the SWF to do is play from the beginning when someone hits the index.php file and gotoAndStop(234) when someone goes to a sub-page (like contact.htm).What I did first was:

[code]function checkSO() {var SO = SharedObject.getLocal("siteSO");if (SO.data.visitedAlready != undefined) {this.gotoAndPlay(234);}else {SO.data.visitedAlready = "yes";SO.flush(); }}checkSO();[/code]

And that worked in the sense of no cookie-it loads and plays the swf from the beginning. If there is a cookie it starts from frame 234.

As it sits now as long as the cookie exist in the TIF everytime they return to my page it will not play the opening animation it will just jump to then end even on the index.php.
[code].....

View 11 Replies

ActionScript 2.0 :: Stop MP3 From Cache'ing Streaming Sound Using Loadsound?

Jul 19, 2004

I have used the loadsound command with the streaming option set to true, so it streams sound etc. But the problem is that it cache's the mp3 file it is streaming onto the user's internet cache folder Is there a way to prevent mp3 files from being cached (have I murdered the English language today using the word cache? ) Something like what the Real Player does, it streams the files but never cache's them. <gasp>

View 7 Replies

ActionScript 2.0 :: Stop MP3 From Cache'ing Streaming Sound Using Loadsound

Jul 19, 2004

I created a streaming mp3 player, the Click here for player

I have used the loadsound command with the streaming option set to true, so it streams sound etc. But the problem is that it cache's the mp3 file it is streaming onto the user's internet cache folder.

Is there a way to prevent mp3 files from being cached (have I murdered the English language today using the word cache? ) Something like what the Real Player does, it streams the files but never cache's them. <gasp>

View 12 Replies

Flash - Locally Cache Audio When Streaming With Sound.load() In Adobe AIR?

Sep 30, 2010

I'm building a mobile MP3 player with AIR, which streams audio using the Sound class's .load() function. I'd like to cache this audio as it's downloaded, to the the user's SD card. Is this possible without having to download the file twice??

View 2 Replies

ActionScript 2.0 :: Preventing Video Playback?

Mar 12, 2008

I imported a video using progressive download method (so not embedded). I don't want the video to play until the user clicks on it. Right now, it's playing as soon as I get to the frame it's on. Is there a way to prevent it from playing until the user activates it?

View 3 Replies

Media Server :: Streaming Video Live With A Video Camera?

Sep 17, 2009

I am looking to broadcast live video and need a camera that is better than a simple webcam. It looks like they used to make video cameras that would register as webcams, but stopped making them.If you wanted to broadcast an event live, what would be a good camera to use?

View 5 Replies

ActionScript 3.0 :: Streaming Flash Video And The Dimension Of The Video Is 1280 By 720?

Apr 10, 2011

I am streaming flash video and the dimension of the video is 1280 by 720 (same size as the stage)
 
but just before the video streams, there is a quick flash of the video (about 320px by 240px) at the top corner of the stage, and then it plays the videos at the correct size (which is 1280 by 720)  .... a quick flash is the best way I can explain it.
 
This is my code:
 
function clicked(event:MouseEvent):void {
var video:Video = new Video();
addChild(video);

[Code]....
 
is there anyway I can stop that quick flash of the video .... so when I click on the button, it just plays the video, at the correct size?

View 4 Replies

Flash :: Play Smooth Streaming Video From Iis 7 For A Video Player?

Jun 10, 2011

I want to play smooth streaming video from IIS using the flash video player like e.g. jw flash player instead of silverlight player?Which video format should I use in this case? Can flash then play e.g a video via smooth streming encoded with microsoft encoder?Do you know some alternative video players, that combines flash and silverlight functionality (selected per java script) to use with flash and silverlight?

View 1 Replies

ActionScript 2.0 :: Streaming Video - Change The Location Of The Video Without Flash?

Jan 30, 2004

I am trying to make a flash movie and have it find a external movie to show. I also need to be able to change the location of the video without flash, so I think I have to use a seperate .as file.

View 6 Replies

IDE :: Video Streaming - Loaded An External Video With Playback Component?

Feb 18, 2010

I have loaded an external video with playback component in Flash CS4.

Now the question is do I need to add streaming script or not?

View 2 Replies

ActionScript 3.0 :: Video Class - IE And 'refresh'

Dec 6, 2009

i've made my own video player class, which uses the flash's natural video class (flash.media.Video) and the netStream and netConnection class. all works fine when i test it from a server (not locally) using IE 8, untill i refresh the page i get the following error:

[Code]....

View 3 Replies

ActionScript 3.0 :: Make Flash Video With Cache Disabled?

Nov 25, 2010

was going through the free trainings offered by them. The trainings were good but what surpried me that even though the videos are Flash based, they are not stored in the browser's cachewhich also uses Flash for videos, where the videos are stored temporarily in the browser's cache, this was not in this case. The following is the link for one of the video training which I played on my computer but I was unable to find any trace of it on my local hard-drive:I guess, if the videos are played, then there must be some temporary storage allocated in the hard drive. There are two questions I would like to ask:

View 8 Replies

ActionScript 3.0 :: Progress Of URLRequest - Preloading Video Into Cache?

Jan 13, 2011

I am having an issue with tracking the progress of a URLRequest for a FLV file. My code is as follows:

ActionScript Code:
var backgroundVideoSourceRequest1:URLRequest = new URLRequest("video/loops/Loop1-1080.flv");
var backgroundVideoSourceLoader1:URLLoader = new URLLoader(backgroundVideoSourceRequest1);
backgroundVideoSourceLoader1.addEventListener(Event.COMPLETE, changeVid1Status);
backgroundVideoSourceLoader1.addEventListener(ProgressEvent.PROGRESS, video1status);

[Code]...

View 1 Replies

ActionScript 3.0 :: Range Error On Video() In IE8 On Refresh

Jul 27, 2010

When I refresh my flvplayer (custom made) in IE 8, I get this error:

Code:

RangeError: Error #2006: The supplied index is out of bounds.
at flash.media::Video()
at com.rejuvenateProductions.flvPlayer::FLVPlayer/connectStream()[Z:Personal FoldersToddFlash LibraryflvPlayersrccom

[code]....

View 1 Replies

Flash :: Video Player For Video Streaming?

Oct 31, 2010

I need a flash video player for our public site where users will share videos.The video usage model is similar to youtube as far as video part is concerned.Users will upload and share videos. Users will browse and play all shared videos as well.The videos will be streamed from the server and our app is a .NET/C#/JQuery application.We have 3 options:

1) Either buy a commercial flash player

2) Customize a open source player or use free player and customize its gui

3) Develop our own (time consuming and last resort)

I am required to find a flash video player with these requirements:

Player should work in all major browsers (IE, FF, Chrome, Safari)

Player should have way to inject Advertisement clips when playing a video file

Light weight and easy to integrate

Must support streaming and scale

Plus all other basic features of a flash video player.

View 1 Replies

Flash :: Video Player For Video Streaming ?

Apr 11, 2011

Possible Duplicate: Flash video player for video streaming.is there any good and open-source video player to be embed in as3, no flex, html, and js.i tried

f4player.org

https:[url]....but i found tons of bugs,if you know any comercial player, that would be awesome too.

View 1 Replies

Media Server :: Do FMS Cores Share The Same FLV Cache Or Does Each Core Have It's Own Cache

Jul 28, 2009

Do FMS cores share the same FLV cache or does each core have it's own cache?

View 1 Replies

Media Server :: Flash Video Streaming With "fall Forward" To HTML5 Video For Mobile Only

Jul 19, 2010

I'm looking to duplicate the video-embedding technique shown on [URL], whereby they show the flash video to all platforms where flash is available, and only show the HTML5 player on mobile devices. (specifically, iphone / ipad)
 
Is there a browser-sniffing framework, or some other method available to accomplish this?

View 2 Replies

Professional :: Refresh Button Does Not Refresh Flash Website

Sep 30, 2010

I had an issue with my index.html testing on IE and the preloader just stalls on "loading 0%". he told me that locally the progress event doesn't have time to load and to try uploading it to your server and see if it works. It worked just fine. Rah Rah Kglad.
 
So today I'm fine tuning the swf/ fla to clean it up. Reduced some picture sizes and deleted unused files and reduced the swf from 4000 KB to 350 KB Rah Rah Gene. replaced the swf in Dreamweaver and re-uploaded with Filezilla. Rah ah Filezilla.
 
Everything working great and my preload went from 23 seconds to less than 3. So I'm real happy except for one small issue. Firefox and IE both do this. If I hit the refresh button, it stalls on "loading 0%" once again just like it did locally.
 
If I hit the refresh several times it WILL refresh randomly....2 times refresh......10 times refresh etc.
 
[URL]
 
Spoke to my hosting company who said everything seems fine on the server. BTW he said Chrome did NOT have this issue Rah Rah Chrome.

View 1 Replies

FLV Video Compression / Streaming?

May 12, 2009

Got a large file 12 minutes long clip and I compressed it with the adobe optimization program adobe media encoder. I got a 350 megbite file to be 60 megabites as a 320X240. I choose also a medium size video file. How do I keep the video quality and stream it (like hulu would do) or how do I compress it smaller than 60 megabites and keep the same quality. Either or. I am not familiar with web video so I am trying to make the file as small as I can in size with the most amount of quality.

View 3 Replies

Choppy Streaming Video FMS 3.5

Jul 23, 2009

I'm new to the streaming video world but I do have FMS 3.5 up and running and have encoded some wmv and mp4 videos to flv using adobe encoder CS4.  I followed the tutorials and have created the swf files in flash CS4 and the videos are streaming as expected.

The primary issue I am having is the videos tend to be choppy at times.  They pause, run slowly, audio pops and just overall; glitchy.  Typically at the beginning but some times throughout. The test files at the FMS admin page stream fine without issue from the same server.  We have tested the site/streams from multiple providers all at cable modem speed or above.

We are running FMS 3.5 developer version and wish to purchase the full version but I really need to fix this issue to prove it's value.As a bit of background we are running/testing FMS 3.5 from a server with the following specs:Redhat EL 4.6-32 SuperMicro X7DBU Intel Xeon QuadCore DualProc Sata [2Proc] Intel Xeon-Harpertown 5420-Quadcore [2.5GHz] OEM 4GB ECC FB-DIMM DDR2 Mainboard Onboard SATAII Controller  (2) Western Digital WD Caviar RE 16 WD2500YS  Uplink speed 10 (Mbps) Bandwidth allotment 2000 GB(Virtual Private Rack)

View 2 Replies

Publish A Streaming Video To FMS?

Sep 22, 2011

I know Flash can capture webcam and record the video to FMS.Can I publish a streaming video to FMS ?

I mean, I am streaming a video with netstream and I want record to FMS the output of that video.

View 3 Replies

ActionScript 3.0 :: Add A Streaming Bar To Video?

Apr 18, 2010

I have a "Play video" button that does exactly that, it loads a flv video and plays it - I can stop, pause and play the video. Now, I want to add a streaming bar.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved