ActionScript 2.0 :: Way To Control Flv Player
Feb 5, 2009I have a simple problem. i import a flv into flash and i want to control it with pause stop and mute buton here is the code, how can i don this?[code]...
View 3 RepliesI have a simple problem. i import a flv into flash and i want to control it with pause stop and mute buton here is the code, how can i don this?[code]...
View 3 RepliesI got a code for a flash player but it only has a start and stop button . I would like to know how to add a volume control and a pause button.
Here is the code;
var nc:NetConnection = null;
var nsPlay:NetStream = null;
var metaDataValues:Array = new Array();
[Code].....
I am using the flex flv player component and i want to be able to skip 5 seconds forward and backwards , at the moment from what i understand from the documents it is not acurate because the movie can only skip to keyframes sometimes making the skip 6 or 7 seconds. the same goes to cue points which the flv might miss the actual point if there is no keyframe there/ my question is there any other way to use the player in a more accurate manner ? since i see on the web players that can do these skipps
View 2 RepliesI am making flash player that suppose to be controlled from outside, from javascript.
I need those methods: Play/Pause and Volume level
I am stuck with volume level... I tried to add this code:
flashMovie.volume = 10;
Where flashMovie is flash instance... And it's show NO ERROR but it's NOT WORKING
[Code]...
I have a folder of sales training lessons (flvs) and I want to play each one of them by clicking a button and to have each one use a common playback control. When I us the follwing code I get a "1120: access of undefined property error".
stop();
function playAud1(evt:MouseEvent):void { player.source = "audio/The_Profession_Called_Selling.flv";}seg1_btn.addEventListener(MouseEvent.CLICK, playAud1);
[Code]....
For a month now I have been without the use of programs lke Swishmax and sothink video downloader because all of a sufdden, flash can;t be installed. I do have in in firefox but I get this error when I try to install "ActiveX control for Flash Player could not be registered" I have tried everything, but nothing works.
View 2 RepliesI am building a php-based website. I want when the main page loads, then play a random song from a folder of songs. there should be a play, pause, stop control for the song. a flash player would do that. But I cannot find a suitable one.
View 3 RepliesI built this mp3 player from a tutorial.But the volume control doesn't work, and suddenly the player doesn't want to play the music.[code]
View 1 RepliesI am working on adding playback controls. So far, I've been able to achieve a working slider component that scrubs the external swf's timeline. However, it is faulty and the slider thumb doesn't follow move with the timeline of the swf-it just remains still. What I mean by faulty is that sometimes the slider scrubs the swf timeline and sometimes it fails with this error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at swfPlayerMain/sliderDrag()
at flash.events::EventDispatcher/dispatchEventFunction()
[code].....
I am in need for some serious help before i have to do the ultimate and reformat my hard drive and spend the next 12 hours reinstalling everything. The issue is flash. I get this error "ActiveX control for Flash Player could not be registered" anytime i tru to install flash. I can see flash content in every browser except internet explorer 9 so I don;t know what to make of this. I have tried everything to now avail. There are a few programs that won;t work and always prompt me to install flash. When I do I get the same error. The fact that this error can;t be fixed is amazing to me. I am asking has anyone got any idea on how to fix this problem minus the usual links that Adobe has, none of their remedies work. I am using windows 7 64 bit.
View 7 Repliesi have to do the ultimate and reformat my hard drive and spend the next 12 hours reinstalling everything. The issue is flash. I get this error "ActiveX control for Flash Player could not be registered" anytime i tru to install flash. I can see flash content in every browser except internet explorer 9 so I don;t know what to make of this. I have tried everything to now avail. There are a few programs that won;t work and always prompt me to install flash. When I do I get the same error. The fact that this error can;t be fixed is amazing to me. minus the usual links that Adobe has, none of their remedies work. I am using windows 7 64 bit.
View 1 Repliesi need code for swf player.the player consists of play, pause ,stop, next and previous with seek bar and time control.i had try my code which not support my swf ......the code is
function swfLoadedHandler(e:Event):void {
trace("swf loaded");
currentSWF=MovieClip(swfLoader.content);
[code]......
Recently I have made a simple flash application that utilizes a webcam feed and an embedded chromeless youtube player within it. I now need to make custom controls around the player but would like to be able to do that in html/css and control it with js/jquery. While I can find material helping me control the chromeless player directly ( as in solo embedded and not part of another flash app ). My question is that since the chromless player is embedded INSIDE of another flash app ( say test.swf ) can I still access the player in there from js?
View 1 RepliesAny list which folders need to be excluded from a Flash Builder project when adding it to source control. E.g. bin-debug folder which is automatically generated when the project is compiled should not be in source control and etc.
View 1 RepliesI have few .swf files (presentation with narration) with timeline animation. Now, what i need is to load them into a player control with play/pause, seek bar, audo control and next / prev slide buttons. Is there any free players (components) are available?
View 1 Repliesi need code for swf player.the player consists of play, pause ,stop, next and previous with seek bar and time control.i had try my code which not support my swf.[code]
View 3 RepliesI want that my spaceship gets louder when my mouse moves away from it (and vice versa). Problem is that my function produces an annoying crackling sound I can't get rid of when I move my mouse away from it (and vice versa). The sound file is ok so far.
Code:
shipSpeed = (abs(player.x - playerPrevPt.x) + abs(player.y - playerPrevPt.y)) / 2;//the ship's speed gets calculated
//this is used to determine whether the ship's volume of its sound shall be increased or decreased
[Code]....
Im currently playing around with trying to code a tower defence game and im a bit stuck on the bit where I want to add a control so the player can't place towers on the road.the road is simply just an array with cordinates e.g [2, 3] [2,5] ect.and i draw a rectangle between those two cordinates with the Graphics class.So i was hopeing for a class that can detect the colour of a given x,y pixel cordination so i could use color detection to detect if its a road or not instead of going with my backup plan witch is to write a function that convert each "cordinate" to pixel then compare the mouse, x.y cordinate to it since its so much more resource demanding.
View 1 RepliesI've created a SWF Player that loads external swfs from an XML playlist. I am working on adding playback controls. So far, I've been able to achieve a working slider component that scrubs the external swf's timeline. However, it is faulty and the slider thumb doesn't follow move with the timeline of the swf-it just remains still. What I mean by faulty is that sometimes the slider scrubs the swf timeline and sometimes it fails with this error:
[Code]...
How to insert the volume control for this player and set a default value.
//Declaracion de variablesvar duracion:Number=10000000000000;
var flv:String='../../../'+unescape(_root.flvFile);
//trace(flv);//var flv='video.flv';//aviso.text=flv;
//trace(flv);
var conexion:NetConnection = new NetConnection();
[Code].....
I have a Delphi 6 Pro program with a TWebBrowser component that loads a web page that embeds a Cool Iris Wall. The Cool Iris wall is an SWF object which means that when running, the execution happens inside the Adobe Flash player, an ActiveX or similar object I believe. The problem I am having is that sometimes when the Wall is loading pictures/videos from the web, it takes a big hit on the CPU on the main UI thread. I know that TWebBrowser moves most of its operations on to a background thread to keep the main UI thread happy, but something the Adobe Flash Player is doing is happening on the main UI thread and its causing my program much grief. Is there a way to move the Adobe Flash Player on to a background thread?
[UPDATE - 12/7/2010] - After a marathon probing and debugging session it turns out that the problem had to do with the Cool Iris Wall's Flickr proxy. You can interface with the Wall in two main ways: 1) You pass them special Flickr api protocol URLs and let them talk to Flickr for you, for example [URL]..loads the Wall with the results of a Flickr keyword search for puppy. The advantage to this approach is that they do all the work for you necessary to make the query to Flickr and build the Wall's contents. 2) You build an RSS media feed yourself containing the photo stream item data and feed it to the Wall.
I was using technique #1. The problem is with #1 is that when their servers have trouble building the Flickr feed for you (for whatever unknown reason), their host SWF puts a heavy load on the CPU interfering with the main UI thread's operation. I converted my entire code base to work directly with the Flickr API and create the feed myself using the second technique and the problem vanished.
I have 2 swf's and a activex media player on an asp page. I want the buttons on my swf to control what live stream the activex player plays. The stream urls are in a webservice that i connect with one swf then send to the other swf using "localconnection". So when you click on a button on the first swf, it then sends a list of available streams to the other swf, displaying them in their designated dynamic text fields, which are located on top of their corresponding buttons. In my "localconnection" i send both the name and the url from the first swf to the second. Basically I want to know if its possible to click on a button in a swf and control what stream is played through the media player on the same asp page.
View 1 RepliesI'm trying to control a Flash video player with external Javascript commands using 'ExternalInterface.addCallback' but I'm not having any success. Here is the HTML code:
[Code]...
Anyone know of a skinnable audio player (or something similar to Windows Vista audio control in task bar) that i can embed in my website?
A player that can be customized to use a 'speaker' icon instead of a 'play' icon. When the speaker is clicked, the volume can be adjusted or turned off. The option of being able to autoplay and set the default volume level.
I am trying to manipulate (move up and down, enable/disable and launch a form) child controls inside a panel control. However I am unable to get the id of the child control on which the click event occurs. To illustrate, I am trying to create similar functionality as is available. I am trying to create the up-down buttons that you see in the image at http:[url].......
View 2 Repliesim trying to make a music/sound control and FX sounds control,so i have my FX volume level as a variable(FX_vol) and also the Music/sound volume level as a diffrent variable(M_vol),so i set them as sounds that i can use trough coding:
[Code]...
Is it possible to control a Flash movie from JS when you have no control over the source? I have decompiled the movie to see its inner workings, but I know nothing about Flash, so I'm mostly in the dark. I found this resource, Interaction with JavaScript, but it's not working for me (probably because I don't know what message to send to the movie).
View 1 RepliesI have a flex application and have embedded a flash (SWF) file into it using <mx:SWFLoader>. There is an "Exit" button on the Flash file. I want to be able to handle the button click event on the flex application.
So when that button in the flash file is clicked, I want to perform an action in the parent flex application.
I have two mp4 video files on webserver, i wanted to play them in flash player(flv player) on my asp.net page, but i couldn't be able to play them, i also tried to play them in quick time player the same prob occured. but i waz giving the accurate path, there were no spaces in mp4 file names etc. Does it need to have mp4 player(or codec etc) installed on webserver?
I have also some wmv files on that server , and i am playing perfectly using silver light player, and media player object on my website.
I am trying to make the SIMPLEST POSSIBLE MP# player using the player component preinstalled in flash.It is very simple, the code is as follows:
Code:
on (release) {
player.contentPath ="Song.mp3"
player.play()
}
("player" is the mp3 component)
This works if I want a single track to be selected and played.Now, I need it to AUTOMATICALLY LOAD THE NEXT TRACK, which I will input in the code.I am thinking something like this:
Code:
player.onSoundComplete = function() {
player.contentPath ="Song.mp3"
player.play()
};
But this is not working.
PS: I know an XML file would be the best here, but I don't want to use it. I just want to enter the next track's code inside the swf.