ActionScript 2.0 :: Creating An Flv Player Without Components?
Mar 8, 2006
Ive built a pretty nice video payer for swf movie files.So be fore I go any further with it I wanted to extend it to run flv files too.
So far this has been a major pain.Im thinking ill buy one of the flash 8 action script books.Everything ive read so far tells me to use the flv components? But I dont want to! I want to adapt my action script from my already working swf player to an flv player?Does anyone have any good tutorials or tips to creating an flv player without components? ive managed to load play and pause an flv and also controll the audio but i want a video progress bar and rewind and fast forward button...
View 3 Replies
Similar Posts:
Mar 9, 2011
I've been trying to find useful information on the web about using components in flash. I want to create a simple mp3 player, and I wanted to use the components because I thought that would be easier. I want to create something like this: [URL].
View 2 Replies
Feb 4, 2010
I have a XML and it has an attribute option or combo box, parsing that i need to create components in my flex dynamically. Viatropos has given a wonderful code, but i am not able to execute it... can anyone produce it.
View 2 Replies
Feb 15, 2010
i'm attempting to write an mxp, and have found the folllwing links:[URL]i've started to read and sort of understand how this all comes together but can anyone out there point in the direction of further tutorials or at least advise on whether i'm on the right track on not
View 1 Replies
Jun 8, 2010
Isn't there some way to re-write the following code, such that I don't need a gigantic switch statement with every conceivable type? Also, if I can replace the switch statement with some way to dynamically create new controls, then I can make the code smaller, more direct, and don't have to anticipate the possibility of custom control types.Before:
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical">
[code].....
View 1 Replies
Jun 21, 2010
When I define custom propertie in my MXML component, I also want to define a set of possible values of that property to make Flex Builder show then (possible values of the custom property) when I invoke code completion function.
View 2 Replies
Nov 18, 2010
is there no official documentation / guide published somewhere on how to create components for Flash CS5?
View 1 Replies
Nov 30, 2002
i have an exam on monday and i have been asked to Create a component with embedded action script, that everytime i call an instance of it, it has the action script allready in it... i need a step by step on this.
View 1 Replies
Aug 25, 2010
For my AIR based application I am trying to create a custom component based on canvas which has an image (as shown below).
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="100" height="100" cornerRadius="5" borderStyle="solid" borderThickness="2" dropShadowEnabled="true" borderColor="#EDEDE8" dropShadowColor="#dddddd" shadowDistance="5" shadowDirection="center">
[Code].....
As a work around, I am trying to add an creationComplete listener to the canvas in my custom component and used to give titleImage.source = this.path . keep changing the image or when the path of the image fetched using some async call.
View 1 Replies
Mar 9, 2012
im trying to figure out what is better for run-time, creating components in MXML or by SCRIPT?. I built an app that recieves data from a server without knowing how much data exactly. In worst case scenerio , ill need 10 LABELS and 2 DATAGROUPS.But i usually need something like 3 LABELS and 1 datagroup. what is better? creating all components in advance and than not include in layout the ones i dont need, or make some checks and then create only the components i need by script? I made some tests , but it wasnt really decisive, run-time was pretty much simillar.Im guessing it must be stated somewhere what is better. Does anyone have an answer for me?
View 1 Replies
May 7, 2003
I want to create a component with a variable/parameter that is a method it calls when (clicked on for example). In "Flash UI Components.fla" the they do this and I studied the code but cant get it to work. The Push Button one has a click handler, but the way it is actually called in the script is like this:
this.handlerObj[this.clickHandler](this);
That bracket/parenthesis thing is not working.
View 4 Replies
Sep 7, 2009
createClassObject returning null value when creating dynamic components. I am using the following code
[Code]...
this.mc is a movieclip which has the correct value during runtime but when i use createClassObject() with it its always returning null value.
I have the component dragged into my library. Also the code fails even when i am using mx.controls.Button instead of controls.PixtorieButton .
View 4 Replies
Dec 10, 2009
I have some simple function in Flex in which I would like to send one of my variables to all the components used in my app... The problem is that there is lots of components in my app, and I'm not sure how to reference to my component's id... Basically, is there an easier way to do this;
private function preloadStuff():void{
// populating of bulkLoader var
var preloaderItemsList:XMLListCollection = new XMLListCollection(preloaderItems.children());
var item:XML;
[code].....
View 2 Replies
May 11, 2010
I'm looking for a tool to create just the skins for different kinds of Flex 4 components.I'd like to be able to create the components myself and have the designer/artist do the skin, but I don't think they'd like the idea of doing them by writing MXML files.
View 2 Replies
Sep 7, 2009
createClassObject returning null value when creating dynamic components.
I am using the following code
var __reg2 = new Object();
__reg2.label = _label;
__reg2._width = _w;
__reg2._height = _h;
[Code]....
this.mc is a movieclip which has the correct value during runtime but when i use createClassObject() with it its always returning null value.
I have the component dragged into my library.
Also the code fails even when i am using mx.controls.Button instead of controls.PixtorieButton .
View 0 Replies
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
Jan 20, 2005
It looks like this might be a bug, but Im not sure. When you load two or more MediaDispay/Player-components into different levels (using loadMovieNum()) in a project, the project will crash/freeze.
Its enough just having one of these components in the library (ie. not on the stage) in two or more .swf's that gets loaded into the project, for it all to freeze up.
View 1 Replies
Aug 30, 2008
I am working on this project I am doing for my video player application. Everything works except the list component which is supposed to be filled dynamically by xml labels.
View 1 Replies
Apr 15, 2012
Is there any opensourse, free set of components for creating Flex mxml graphs? like aviary Peacock style ones with at least Drag, drop, and connect generators so each graph element could have or something like that. Framework should be opensource (like GPL, LGPL etc) BTW: I found one wary bacic made by Erno Aapa with Degrafa but I would really love to see something much more Flex 4 - mxml oriented and frienfdly.
View 2 Replies
Jun 11, 2009
how to create a web player similar to this:
[URL]
Im trying to create one similar, but isn't all the way fancy, it just plays the music, I just want it to have a playlist, volume, stop, next track, previous track, and a picture for each song.
i dont really have a clue how do this. So far i created a 1600x1000 skin completely similar to the link above, now i just need to know the right coding for the buttons, and how can keep adding music every 2 weeks. and tommorow (which is in a couple hours), i will have a chance to work with cs4 in a studio.
View 1 Replies
Jan 7, 2010
i really need something to begin a Video Player development. Can you show me any arcticle or tutorial explaining how I should proceed? As a matter of fact I simply need a manner to change the source file whenever o click on a different button.
View 0 Replies
Dec 11, 2006
I want to create a video player like some tutorials about creating video player in flash using actionscript and XML.
View 1 Replies
Jun 5, 2009
How we can create a basic Flash & ActionScript based mp3 player with a playlist that displays songs and allows you to choose from it? I know how to make the basic player with the play, stop, next and previous buttons but wanted to create one with a playlist.
View 2 Replies
Aug 18, 2010
Is there any best practices one should follow when creating a public API for an existing application?
My my case it's a video player. We've built it to be *very* generalized and flexible so that it can be used by us, but also be licensed to third-parties.
I'm working on a new feature now where content on the page (relating to the current video) gets refreshed via a jQuery AJAX call when a new video in the playlist is cued, so I'll be having the player make an ExternalInterface call to a javascript function in the page in order to let it know when and what to update.
The problem is, how do I generalize such a thing? There are many cases where we *won't* need this functionality, and our clients will likely never need such a thing, either.
View 3 Replies
Apr 19, 2011
I'm creating an mp3 player with playlist, equalizer etc. I've worked with an equalizer before, however I want this equalizer to display outside of the playlist movie clip where all the track information is stored.
So this is my code:
[Code]..
View 3 Replies
Aug 22, 2010
Do you know any flex component with the functionality such as horizontally collapsible window or panel I found arc90, but it folds vertically.
View 1 Replies
Oct 19, 2009
I'm trying to create a flv custom player with scrollable playlist, much like youtube's. Anyways, I have a scroll bar with the buttons inside of it. The problem is the buttons that are inside the scroll bar do not want to communicate with the main timeline. So I want to press the button inside the scroll bar and have the selected video play on the main time line. So if the buttons are three movie clips deep into the timeline how do I tell it to play video1 on the main timeline when that button is clicked?
View 1 Replies
Jun 22, 2009
I have seen it done where people are able to create drawing programs that allow the users to save thier work as jpegs or even movies.
View 4 Replies
Feb 5, 2010
I have created an application which includes a menu system for selecting videos and a video player. Currently when the application opens the flv player video starts on load. I would like to change this to show a preview image which would not disappear until my users click on a button to view a video.I have tried to use the preview image function in the flv player and received this error:"The preview image is displayed at authoring time only. To generate a runtime preview image, use the export button and load the image back by writing your own ActionScript.
View 29 Replies
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