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


Similar Posts:


ActionScript 2.0 :: Flash8 Add A Scrub Bar To MP3 Player

May 10, 2009

I am trying to find out how to make a flash mp3 player. I have downloaded the source codes from the following website : [URL] (Slim version 0.2.3) and have made some minor modifications to fit my needs.

However, I am still clueless as to how to add a "scrub bar" (or progress bar) that would move as the file is playing and go to the location (minute) where i click on.

View 1 Replies

ActionScript 2.0 :: MP3 Player - Scrub Bar Not Working Properly

Jun 13, 2008

I am creating an MP3 player, populated by xml. Everything works great, except the scrub bar. I can make the bar dragable, it is keeping the length etc fine, but when drag it, it goes back to its current position as opposed to where I want it to go. I can upload source file(s) if they are needed....

ActionScript Code:
stop();
playlist = new XML();
playlist.ignoreWhite = true;
playlist.load("playlist.xml");
playlist.onLoad = function(success) {
[Code] .....

View 3 Replies

ActionScript 3.0 :: Removing Loaders And Listeners - Scrub Thumbs For Video Player Load And Unload Repeatedly

Sep 1, 2010

I need to have scrub thumbs for video player load and unload repeatedly. Something isn't getting cleared. Every time the thumbs are removed, there's a slight increase in the cpu baseline - something is piling up in memory.

[Code]...

View 4 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

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

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

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

Scrub Bar For SWFs

Sep 14, 2009

what i am looking for is an FLV player type component (doesn't have to be an actual component) that will play SWFs. i need it to have all the same functionality (play, pause, scrub bar, etc...) it seems crazy that there isn't one out there i have even looked in the Exchange area and only seem to find ones that control FLVs or MOVs, not SWFs.

View 4 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 :: Scrub Through The Timeline With A Key?

May 1, 2009

Just curious if anyone has ever discovered a way to scrub through frames one by one on the timeline? I'm not referring to action script nextFrame() kinda thing, I'm referring to the Flash editor only. Seems like a <control> + <right arrow> ought to do something like that but no luck.

View 1 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







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