Actionscript 3 :: FLV's Not Caching In Custom Flv Player

Jul 13, 2011

working on a project with a custom flv player.Everything works as it should However, the flv's don't seem to be caching, if I play the video once, close the player, and replay again, the video has to cache -load entirely again before the video starts playing.

View 1 Replies


Similar Posts:


Flash :: Flex 3 And Player Caching?

May 7, 2010

i pass text strings from a configuration file into my Flex app, one of the strings i pass in is a mailto link which i use to allow users of my app to send me feedback. I recently needed to change this link however when i updated the link in my config file the change did not happen instantly in my Flex app. In fact i had to clear my cache (both browser and flash player) before the change showed up. This of course is fine for me but how can i be sure that users of the application also get the updated content? Is there a way to force a refresh of data loaded into my swf on other users browsers?

Finally is this an issue with my browser cache or the Flash player cache? Does the flash player only keep such data, like my email address, in memory while the app is in use and then clear once it is closed or does it cache this data for the next time the user wants to use the app?

View 1 Replies

IDE :: Preventing Flash Player Caching

Sep 8, 2009

edit: Resolved; my ActionScript function for parsing the mySQL results didn't correctly interpret a recently modified column, and the corrupted new output happened to be identical to the old output.

I have created an application that accesses a PHP/mySQL database, but it caches old information.

I used the workaround from Adobe's website, where I append '+ new Date().getTime()' to the URLRequest String, but the application continues to use the old data.

When I trace the URLRequest String and C&P it into a browser window, however, I receive the correct data.

View 2 Replies

Flex :: Javascript - Caching Video Player

Jul 30, 2011

I've got the following Javascript for creating the HTML of video player. I use Javascript because this is the only way I can tell the player which video to play.

[Code]...

The problem is FlexPlayer.swf is loading every time and I need to cache this SWF file. Maybe I should use Javascript constructor but don't know how in this case.

View 1 Replies

ActionScript 3.0 :: Click On Another Greeting The Original Greeting Still Plays In Ie - Swf Caching Or XML Caching?

Dec 30, 2009

I have this PHP page that lists several people. When someone clicks on one of the people they are sent to another PHP page that has their video greeting in a .swf embedded into the page. This works by the php writing the path to the greeting video to the xml file that the .swf loads and plays.

Well in firefox it works perfect, but in IE when they try to click on another greeting the original greeting still plays. Its like the swf is caching the first greeting and refresh of the page does nothing to alleviate this. Is this a problem with the swf caching? or XML caching? or am I totally clueless?

[Code]...

View 1 Replies

ActionScript 1/2 :: Building A Custom Flv Player?

Aug 24, 2009

I'm currently building a custom flv player and need some help.  Maybe I'm missing something, I'm not sure.  The main problem is that the FLV doesn't load/play, which most likely causes the secondary problems, such as the bufferClip always visible and no way to test the video and audio scrubbers.

[Code]...

View 9 Replies

Flash :: Custom Flv Player - Add Features?

Aug 9, 2011

I know how to create a FLV player in FLASH - But how do I add other features in the right click menu when a visitor hovers over the player? Like my own domain name & a toggle full screen and more.

View 2 Replies

Actionscript 3.0 :: Scrub Bar For Custom FLV Player?

Mar 27, 2008

So I have a copy of the actionscript 3.0 cookbook... trying to figure out the scrubby code ...using the actionscript 3.0 cook book I come up with:

Code: Select all   
import flash.display.Sprite;
import flash.net.NetStream;

[code]....

Returns no compiler errors.... I get the scrub bar... but it doesnt work... it just slides back and forth. I know its problaby something simple that is missing and one of you advanced flash coders are snickering and making fun of me under your breath but thats fine..

View 6 Replies

Custom Video Player By GotoAndLearn?

Jan 20, 2009

i did the Video Basic Tutorials and the XML Playlist, because this was a chance to insert more than one videos. Altouhgh, i customized the skin of the Videoplayer.

When i'm finished, the videoplayer shoud look like this:

Okay, so i took the functions shown in the tutorial. So i've got an XML-Playlist, play/pause button, replay button, mute button.

But as you see in the screenshot there should be some more

First of all i want to stop the "Autoplay-system" and "Autoreplay-System". I want to show the preview-picture and if i klick on "play" i want the TV to start. If one video is finished, there should be the "screenshot" again.

Screenshots -> Because i want to use the player with a lot of movies, i want to write down screenshots next to the videourl (XML Datei), something like this

Code: Select all<?xml version="1.0" encoding="ISO-8859-1"?>
<videos>
<video url="videos/rundengewinner08.flv" desc="Giga Homepage Award Runde 8" thumb="preview.jpg" />
</videos>

Than there are some "Arrowkeys" like this », so i want to switch between the screenshots to choose your video. Because i want this as "navigation", i don't need the Playlist next to the player (if i delete the layer i cannot use the player anymore).

Third: I would love the "minutes"-display (shown on the screenshot).

View 3 Replies

Custom FLV Player - Scrubber And Load Bar

Mar 16, 2009

I've been following the tutorials for building a custom flv player and have come across a few problems, the player can be seen online here: [URL]. I'm having a few issues with the scrubber and the load bar, they loadbar starts in the middle and stretches out towards the sides and the scrubber starts in the middle and runs off the end? I'm pretty new to actionscript as have only really used flash for simple animations before, i have attached the source file and the actions are listed below.

var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);[Code] .....

View 1 Replies

Actionscript 2.0 :: Lee Brimelow's FLV Player Custom?

May 10, 2009

I'd like to add a little thing to the Lee's flv player : i want to allow user to click wherever on the progress bar to contol the video, and not only by dragging the playhead (like in the vlc player in fact)...

For the moment, I'm trying to modify this part of code, but unsuccessfully, video still remains to beginning

PlayHeadFunction :
loader.scrub.onPress = function() {
clearInterval(videoInterval);
scrubInterval = setInterval(scrubit,10);

[Code].....

View 2 Replies

ActionScript 2.0 :: Can't Get Flv To Play In Custom Player

Nov 17, 2007

I'm building a portfolio web site. In the portfolio part, where actual examples of my work are to be displayed, I have it set up via an XML function from a tutorial I found on building a slideshow. On the stage is an empty movieclip called "myHolder". When you click on the portfolio button in the main movie, a submenu appears with several headings(movieclip buttons), such as print, design, direct mail, etc. When you click on, say, print ads, external thumbnail jpgs are loaded into the lower portion of the main stage, while the first external large size example of the group is loaded into the upper part of the main stage. This is all fed into the main movie from an external xml document. Each time you click on one of the thumbnails, that thumbnai's corresponding larger swf is loaded into the upper portion of the main stage in the "myHolder" movieclip. As I mentioned, I've made all of the larger examples into swfs. And each group of thumbnail jpgs and corresponding larger swf examples, are all kept in separate directories.

Everything works fine, except for the videos. I've made a custom player with the proper code calling the NetConnect and NetStream. When I run the main movie locally, the video player loads fine and the videos play as they should. But when I upload everything to the server, the flv doesn't play. The button rollOvers function, but I don't think the actual functions I placed on the buttons(which are movieclips) are working.Oddly enough, when I use the built-in video player component that comes with Flash within the individual swfs that are to be loaded dynamically, the video plays remotely in the main movie, however I then also lose the included controls that come with the component. So obviously that won't work, plus I would rather use my own player.I know this is an addressing problem, but I haven't been able to decipher it for two days. Obviously, I'm not a real Flasher; I'm just trying to do something nice for my little freelance business.

View 2 Replies

Professional :: Creating A Custom Flash Player?

Oct 28, 2010

Which product do I need in order to create a customized flash player (and that is all I need to do)? I have a VP6 Alpha Channel.flv movie (transparent background). I would like to create a custom flash player for my website to display and control this movie.The player  needs the following properties:
 
1. Play the movie transparently (using "wmode"?)
2. Play, pause, volume and exit buttons on the control bar
3. Autohide control bar
4. Logo / text on the control bar
5. Ability to unload itself after the movie ends

Which is the right product for me? Any links on how to create this  player would be useful.

View 3 Replies

Flash :: Draw Circle On Custom Flv Player?

Sep 8, 2010

i have the custom flv player which reads an XmL and draws circles on Flv video. Postion and time is specified in the XML. I did calculation with as3 getTimer() function. It works fine, no matter how long u pause and then play again. Circles are shown at right time.Now i have two problems

1- How getTimer can be reset?? it is required when user is allowed to play another swf..

2- Is there any other way besides getTimer calculation. I am not using Timer Class as it is Dependant on Frame-Script Execution time and may yield wrong result so this is not as accurate as getTimer() function.

3- As i am using Custom Slider , so i have to do calculations each time when user click or drag slider w.r.t getTimer() function and then subtracts seconds and all that. but again it goes very hard when user plays another swf as my calculations are based on getTimer() Funtion.

View 1 Replies

Flash :: Modify And Intergrate A Custom MP3 Player?

Sep 13, 2011

This is a Flash MP3 Player I have found on internet, and I was looking for his .fla file so I can modify it and add some text on it.

View 1 Replies

ActionScript 2.0 :: Custom FLV Player Scrubber Inconsistency

Feb 17, 2009

I'm working on building a custom FLV player and I'm having issues with my scrubber. When I drag and drop it, the spot in which it falls and plays is inconsistent. Example, if I drop it in one spot, the video will pick a spot a second or two past. Then when you mouse over the scrubber it wiggles when your on an edge. [URL]

My scrubber code is:
ActionScript Code:
//---Handle Code---//
scrubbar.mcHandle.onPress = function() {
this.startDrag(true, 0, this._y, 455, this._y);
delete this.onEnterFrame;
trace(this);
[Code] .....

View 0 Replies

ActionScript 3.0 :: Make A Custom Flash Player?

Jul 10, 2010

I followed a tutorial on youtube on how to make a custom flash player but the guy never uploaded continuing videos. Here's the link to the video: www(dot)youtube(dot)com/watch?v=_8q3NuboKQI So all I have now is a 3.0 Action Script file with a layer that has this code in it:

[Code]....

View 3 Replies

ActionScript 3.0 :: Custom Video Player For SWF Files?

Mar 17, 2011

All I want to ask is that, can I use netStream and its functions for like resume(); or play(); to control playback of swf files. more importantly, can i use netStream for swf files?

View 9 Replies

Actionscript 3.0 :: Add Cuepoint Using Custom Flv Player (not The Component)

Oct 27, 2008

I have this custom flv player and now I want to add cue points to it, but I don't know how. I've been doing research online. I know that if I use the component flv playback I can use addASCuePoint to add cue points in actionscript, but what about custom flv player?

View 3 Replies

ActionScript 2.0 :: Creating Open Source Custom Player?

Mar 18, 2009

I've created a custom video player which links to a specific Video with:

theVideo.attachVideo(ns);
ns.play("videoName.flv");

I have a client who wants multiple players on a page, each playing a different video. The tricky part is that they want to be able to add videos to their website with this custom player on their own, without having to go into the flash file.

Anyone have an idea or where I can find out how to do this? I dont' think XML would work, because it would still have to call a specific node inside flash...and this one swf should be able to work with any .flv they want.

View 2 Replies

ActionScript 1/2 :: Getting Custom Dragger To Work On Audio Player

Aug 24, 2009

I am trying to get this dragger to work on the play head of my audio player. I get it to drag but when i let go it jumps back to the place it was before. You may need to change the sound file to get it to work but I have attached all other files needed to get it to work.

var XMLLoaded:XML = new XML();
XMLLoaded.ignoreWhite = true;
var timesLoaded:Number = 0;
this.createEmptyMovieClip("sound_mc", this.getNextHighestDepth);
var sound_mc:Sound = new Sound();
[Code] .....

Attachments: AudioPlayerOnline.zip (14.2 K)

View 3 Replies

ActionScript 3.0 :: Adding Subtitle Functionality To Custom Flv Player

Sep 16, 2009

I have a custom flv player and i'm slowly adding more functionality to it as I go along but i've hit a wall.I want to add a subtitle button that toggles between show/hide. I've seen on the internet that the best way is to use an XML file (holding the script, times etc.), which I have no problem writing.I'm having problems trying to replicate the 'FLVPlaybackCaptioning' component (in Flash CS3) in to my custom flv player. I.E. Adding the right actionscript to my toggle button.

View 8 Replies

Error #2044 On Custom Flash Player Using Shadowbox?

Dec 5, 2009

I'm using shadowbox and I am trying to load my video that has a custom skin. But for some reason it can't find my custom flash player. When I don't use shadowbox I can view the video and the skin shows up.

View 1 Replies

ActionScript 3.0 :: Custom FLV Video Player - Loadbar And Scrubber

Jan 16, 2009

I am working with the scrub element in my custom video player. The code for this in AS2 is as follows (this is the whole of it). How the scrub portion is coded in AS3?

HTML Code:
var nc:NetConnecttion = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);
ns.play("vegas.flv");
[Code] .....

View 0 Replies

ActionScript 2.0 :: Run Big Flv Files With Good Quality From Custom Flv Player?

Feb 11, 2009

I exported flv file 1360x768 with quality 2000kbps and 30fps from After Effects. When I test it(from HDD) in vlc player it palys smoothly, but when I test it in my custom flv player in complex places it starts jerking.

is there any solution to run big flv files with good quality from custom flv player?

View 0 Replies

ActionScript 2.0 :: Adding Subtitle Functionality To Custom Flv Player?

Sep 16, 2009

I have a custom flv player and i'm slowly adding more functionality to it as I go along but i've hit a wall.

I want to add a subtitle button that toggles between show/hide. I've seen on the internet that the best way is to use an XML file (holding the script, times etc.), which I have no problem writing.

I'm having problems trying to replicate the 'FLVPlaybackCaptioning' component (in Flash CS3) in to my custom flv player. I.E. Adding the right actionscript to my toggle button.

The current actionscript for my flv player is:

Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);

[Code]....

View 2 Replies

ActionScript 3.0 :: Custom Video Player Full Screen?

Jun 9, 2010

for a project I need to develop a custom video player that needs to be able to go fullscreen, with custom control (play btn etc) overlay. The player will be used in a flash application (say as a window in the application.

Now I can figure out how to build a player from NetConnection, NetStream, Video etc, but I have no idea how you would implement the ability to go fullscreen and have the control overlay when in fullscreen as well.

Note that I cant tell the SWF to go full screen, it needs to be just the player.

View 2 Replies

ActionScript 2.0 :: Custom FLV Player Components Volume Slider

Jan 12, 2009

I've followed the Flash Video Basics Tutoirals 1-8 here on gotoAndLearn and stopped short of making the "Volume Slider" or "Full Screen" buttons. I've been googling all over and not come up with a simple solution to adding these features to my video player. In addition, a counter for the video length would be awesome.

View 6 Replies

Play Video In Fullscreen Mode In Custom Flv Player

Feb 28, 2010

Does anybody know why flash gives me this errors when I play video in fullscren mode in custom flv player?

[Code]...

View 8 Replies

ActionScript 2.0 :: Make A Custom Video Player In Flash Pro 7.2?

Aug 13, 2006

i want to know how to make a good clean video player in flash pro 7.2.

1. show my a website telling me to do that.

2. give me a understandable tutorial

3. send me a file showing how its done.

View 4 Replies







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