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...
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].
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.
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
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:
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.
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.
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.
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?
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.
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;
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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?
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.
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.