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


Similar Posts:


Flex :: Run Custom Scripts Before Compiling/building?

Mar 9, 2009

I am creating an AIR app. In this app there's a need to copy a folder from a fixed known localtion C:xyz to app:/. I would like to know how can I do this copying before compilation/build so that they get packaged when I run the 'Export Release Build'

View 1 Replies

ActionScript 3.0 :: Building Custom Flash Video Scroller?

Oct 12, 2010

Building a custom skin for a flash video player but I do not want any play pause button. Instead I want the video scroller to play and pause on a click event. Problem is I want to change the graphics on the scroller to show the user when the video is paused and being played? I have attached the video player FLA file.

View 1 Replies

ActionScript 3.0 :: Building An MP3 Player?

Sep 25, 2009

I have the below actionscript almost working for playing mp3s. This isn't dynamic or anything. Just links to songs (from buttons) that should null each other out when clicked on. The first song loads fine. However, the second song will not load. I must be missing something. Or maybe I took the wrong approach? Any help would be great.

[Code]...

View 2 Replies

ActionScript 3.0 :: Building Components - Give Each Instance A Custom Timeline?

Oct 12, 2010

Something I've been struggling with and can't seem to figure out. What I want for a system is to create several components, BUT each with their own timeline. For instance for a quiz, I want a number of answerbuttons. But each one should have their own appearance, preferably on a timeline. However these should be components, seeing their 'answerbutton'-logic should be the same over all buttons (apart from their answerbutton-index, set in the Component Parameters).

View 5 Replies

ActionScript 3.0 :: Hard Time Building Custom XML Driven Popout Menu?

Dec 13, 2009

I'm trying to make an XML driven popout menu (click a menu item to open its submenu) and have run into a snag. I haven't figured out how to "hide" elements that aren't supposed to be on the screen.The menu is constructed completely out of TextFields based on the structure of a simple XML file. I added Event Listeners to each of the TextFields but I can't figure out how to make those TextFields go away when they are not supposed to be seen.

I have tried to add each TextField onto a common DisplayObject and the use container.removeChild to remove the TextFields that shouldn't be there but I keep getting errors telling me that the target of removeChild must belong to the caller. So how do I manage the visibility of menu items based on mouse clicks in a menu?I've attached the specific AS file (SOMAMenu.as) that handles the menu if anyone finds that helpful.

View 2 Replies

Professional :: Building A Music Player / Efficiency?

Mar 8, 2012

I'm creating a music player to be on my website and so far I have it set up as such: The player is contained in a movieclip with a 'song progress bar', a pause and a play button.The songs are played by clicking the song title in a list in the main stage (not contained in the player movie clip), which sends the music player to the frame in which the song starts.
 
My audio is set as event audio so that the play and pause buttons can be coded as play(); and stop(): respectively which will stop the main player movie clip thus yeilding the progress bar from moving further and the song from playing.
 
This works just fine, except for the following:
 
- When I select event as my audio type the quality reduces dramatically Having the audio files in my library and not obtained from some outside source (i.e on my website's server) causes the .fla file to be much larger as well as the .swf Being as my project is at 24 FPS and each song is represented in as many frames as it takesto play the song out, my music player at present has only 3 songs 'in it', and my frames in the movie clip are approaching 20,000 (this is VERY tedious to work with) 
 
I'm sure there is a more efficient way of doing things, but my knowledge is limited. I'd imagine I can do something along the lines of loading .mp3's off of my website into the frame and the play pause buttons will enact more elaborate scripts that not only stop the progress bar but also stop the music from playing temporarily, or something like this. But I have no idea how to implement it

View 2 Replies

ActionScript 3.0 :: Building A SWF Player That Loads Other SWF Files Into It?

Jan 18, 2010

I am building an AS3 SWF player that loads other SWF files into it, both AS2 and AS3 files will be loaded (one at a time). In the case that it is an AS3 file then the main player SWF can directly call functions and variables inside the loaded AS3 file. Now to handle AS2 files I am using 2 Local Connection channels, one for the player to send info to the loaded SWF and one for the loaded SWF to send info to the player SWF.

Now i never have more than 1 SWF loaded into the player at a time and before i load the next SWF into the player i use..

[Code]...

View 1 Replies

ActionScript 3.0 :: Building A SWF Player Which Loads External SWF's?

Oct 3, 2010

I am building a SWF player which loads external SWF's.

Rite Now. I could call the external SWF using URLRequest.

but I am getting 2 problems

1. How to run the SWF with the frame rate of the actual SWF movie. If, I increase the frame rate manually, some movies become a lot faster and some are pretty slow.

2. I have set a layer of 450px by 333px. How do I scale the external SWF with showall property to fit in the layer.

View 5 Replies

ActionScript 3.0 :: Compile SWF - Building Different Flash Player Versions

Jan 15, 2012

Can we compile a SWF for (let's say) Flash Player 11, but still let people with older Flash Player versions run the SWF? E.g. if they have the latest version of Flash Player we will take advantage of the features in that player (eg H264 encoding of video) but if they have an older player we will just use older features (in this case VP6 encoding).

I've tried compiling for the latest version, FP11.0, but when you run this in older Flash Players it complains that libraries aren't available, even though that part of the code is not executed as its placed within a conditional statement which checks the version of the Flash Player. Surely we don't need to compile a SWF for each different Flash Player and have a condition in the HTML page which decides which movie to load?

View 6 Replies

ActionScript 3.0 :: Building An AS3 Media Player And Get TypeError: Error #1009

Sep 13, 2007

I'm building an AS3 media player and I am having trouble loading an external movie. I keep getting the error: TypeError: Error #1009: Cannot access a property or method of a null object reference at CookBookPlayer$iinit()Here is my script for the main Loader class:

Code:
package {
import flash.display.*;
import flash.net.URLRequest;

[code]....

View 9 Replies

Actionscript 3 :: Building Flash Video Player With Amazon Cloudfront To Stream MP4?

Aug 2, 2010

So I have a working Flash player using Cloudfront, AS3, NetConnection & NetStream. Works with a FLV, but I need it to work with MP4s. It connects to the stream, and outputs the following:

NetConnection.Connect.Success
NetStream.Play.Reset
NetStream.Play.Start
NetStream.Buffer.Full

My presumption is that it is working when looking at these messages, however it doesn't show the video or play any audio.

View 1 Replies

Flash :: Media Server - Building A Custom Live Media Encoder For Website

Apr 12, 2010

I could contact about building a custom live Flash media encoder for our website. We have a database for authentication and a list of upcoming events with stream information (FMS URL and Stream Name) that  we want to automate into an encoder. Currently we have our customers use  Flash Media Live Encoder and copy/paste the values into the encoder, but would prefer a solution that is more tightly integrated with our site

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

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







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