Actionscript 3.0 :: Unable To Get Rid Of The Audio Even When Video Stops Playing?

Nov 8, 2010

I'm trying to load a movieclip that has some video running on it using a page container dynamically on the click of a button. however im not able to get the audio from pausing even when this page has been navigated to another. The video gets hidden behind the newly called page however the audio still continues to play on the called pagethis is the code i wrote to add the movieclip(page) to the container..

var gp1:gpage1=new gpage1;
menu_cont.media_menu.press_review.addEventListener(MouseEvent.CLICK,mediaclik3);
function mediaclik3(event:MouseEvent ):void {

[code]....

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Playing Video - Unable To Stop Audio After Moving To The Next Frame?

May 3, 2011

I'm having the problem that my video, which sits in a movie clip, does not stop the audio after moving to the next frame, even though the video instance is removed. Here is the code from the main timeline:
 
import flash.events.MouseEvent;
next1_btn.addEventListener(MouseEvent.CLICK, ongoPage2);
function ongoPage2(Event:MouseEvent):void {[code]....

View 4 Replies

ActionScript 3.0 :: Detect When A Playing Audio File Has Reached The End (stops Playing)?

Aug 31, 2009

I have some animation (programmatic, I'm NOT using keyframed animation in timeline), and some music I want to play in the background. Once the music file reaches the end (about 30 seconds long), I want to trigger the end of the animation functions.I figure I could either use an actionscript timer to trigger the end of the animation or a keyframe with actionscript that is placed on the timeline near the end of the song but these methods assume knowledge about the duration of the wave file. If I changed the framerate or updated the external wave file, these triggers would possibly no longer sync upIs there some sort of event listener or other detection method for an audio file to signal it has finished playing? Or maybe there is a way to get the duration of the audio file to use in the timer

View 3 Replies

Media Server :: Fms 3.5.2 - Video / Audio Streaming Application - Audio Stops Or Lags Behind

Aug 25, 2009

I ran a simple live video streaming application for the first time with actual users and ran into a couple of serious performance issues that had not turned up during testing. In this instance there was one video stream from a live web cam and used FMLE at 150 kbps using VP6 and MP3 @22k. There were 16 clients and everything worked pretty good for about 30 minutes. (although some clients said their audio and video were out of sync by up to 3 seconds)

Then individual clients would have either the video freeze or the video would continue and the audio would stop. These clints had to "disconnect" and then "connect" again to the application. This happened to all of the clients at one time or another for several minutes. I stopped and restarted the FMLE with progessively lower bandwidth settings down to 75 kbps but still clients were having the same issue.

I eventually stopped the FMLE and used the applications built in publisher at 45 kbps and that seemed to eliminate the freeze/dropping issue. But of course the video quality was very poor and some clients still reported that the audio was out of sync with the video. The server hosting the FMS application is a quad processor dell with lots of memory and network connectivity. The Flash Media Admin Console performance graph showed the total Bandwidth as 3 Mbps at maximum.

View 8 Replies

ActionScript 3.0 :: VIDEO Stops Playing, Continue Playing Flash Movie?

Aug 7, 2009

I am loading an external SWF file into my main timeline. The external SWF file contains an FLV video. At a certain point in my main timeline, the SWF file loads and plays the video. Is there a way to say...

If the VIDEO (FLV) is done playing, gotoAndPlay(X)?

View 4 Replies

IDE :: Video Player Stops Playing Before The End?

Jul 6, 2009

I have a FLV player that stops playing right before the end of the video.

View 1 Replies

ActionScript 3.0 :: Add A Button When Video Stops Playing?

Sep 23, 2009

I created an FLV of my movie and am using the Slideshowpro for flash component to play the FLV in my SWF. (Not the built in FLVPlayback component) The video is about 2 minutes long.At the end of the video playing I would like a button to pop up that people can press to send an email to request more information. I have no idea what the best way to go about doing this would be and I do not know AS well at all.Currently my only thought is to make my player.swf (the one that plays my video) as long as my video (appr. 2 minutes) and then fade in a button towards that people can use. This would probably work but it is probably not the most efficient way of accomplishing this.Does anyone have any suggestions? I have been searching for things like adding annotations to flash movies just as YouTube does but have not found anything so far.

View 4 Replies

Media Server :: After 70 Minutes, The Video Stops Playing?

May 13, 2010

I bought Adobe Flash Media Streaming Server 3.5 and I have problems with large video.After 70 minutes, the video stops playing.

View 8 Replies

ActionScript 3.0 :: Multi Video Player - Audio From The Last Video Remains Playing Even When Prompted To Stop??

Jun 2, 2010

I built a timeline based player with 2 menus and many videos that you can play.The buttons move the timeline to a frame label and the video plays. The back button has a stop function built in it so the video stops playing when its hit.It plays wonderfully locally but once on a server after a few clicks it boggs down and sometimes the audio from the last video remains playing even when prompted to stop. I was pointed to use the add and remove child functions to prevent this but being very new to Flash and 100% self taught i have zero idea on how to do this. The link to the player is[url]....Even if its a link to a tutorial or something.

View 3 Replies

ActionScript 3.0 :: Video Audio Won't Stop Playing

Jul 8, 2008

I'm trying to build a simple portfolio website, which displays images and videos. I imported a video, and got it to play when a certain button is pressed. But when I press another button (to go look at an image, for example) the video's audio keeps playing. How do I make the audio stop whenever another button is pressed?

View 2 Replies

Audio From Video Keeps Playing When Click On New Page

Aug 2, 2009

My dillema is that on my site when you load a video on one page then click on another page the audio keeps playing. I've had a look around other topics but nothing seems to work for me. I've put in things like videosname.stop() with no success.

View 25 Replies

Professional :: Video Component Disappears But The Audio Keeps Playing?

Jan 12, 2010

when a video is playing..and i click a button to play to a different label in the main time line..the video component disappears but the audio keeps playing.. all so the volume component, the slider indicator stays stuck to the stage.. what AS3 is needed..to stop the audio and fix the indicator..

View 5 Replies

ActionScript 2.0 :: Stop Audio Sound When Video Is Playing?

Jan 19, 2009

I want to stop my background music(audio) from playing when i click on a button which loads video[code]...

View 0 Replies

Actionscript 3.0 :: Stop The Audio Playing From A Video When You Navigate Somewhere Else?

Apr 11, 2010

how to stop the audio playing from a video when you navigate somewhere else. However none of these solutions seem to work for me.I have my buttons on the root timeline, and all my pages are seperate movie clips which are added to the timeline with labels. I tried the

Code: Select allimport flash.media.SoundMixer;
SoundMixer.stopAll();

but i also have audio streaming on the whole site so when i navigate to a page the audio stops.

View 2 Replies

Media Server :: The Video Picture Is Hang But Audio Keeps Playing

May 17, 2010

We are using FMS3.5 for VOD streaming. It's spotted that when we are using Flash Player Version = WIN 10.0.42.34/10,0,45,2, it is encountered that the video picture is hang but audio keeps playing after our commercial break point. we will first pause the video content and then use the same object to play the instream ad. After that, the video is resume when instream ad complete.

View 1 Replies

ActionScript 3.0 :: Record Video Playing On Side And Audio From Another Place

May 6, 2010

Is it possible to capture video playing on your own flash site using netstream? I mean instead of capturing from a camera object. Capture video of something playing on your own site.

View 0 Replies

CS4 Media Encoder Audio - Audio Sound Stops After A Few Seconds From The Beginning?

Aug 4, 2009

I am converting from .FLV's to .F4V. Video outputs fine but the audio sound stops after a few seconds from the beginning.I have tried many different settings for the audio with no luck. Also, tried on a colleague's machine who is running CS3, which works fine, so something is buggy in CS4...

View 1 Replies

Media Server :: Recording And Playing Back Streaming Audio And Video?

Sep 12, 2010

I have this sample code from the e-book: "Learning Flash Media Server 3". The purpose of the code is to create a FLV. The code is not running as it should. When I click on the 'record' button, the label is to change to 'recording', that dosen't seem to happen and also when I click on the 'Stop Record' button, I get the following error:
 
"TypeError: Error #1009: Cannot access a property or method of a null object reference.at MinRecord/stopRecord()"

[Code]....
 
My deduction is that the 'if' statement in the 'startRecord' function is not resolving to 'true' and hence the label is not changing to 'Recording'. Also I feel that the assingment to the variable 'ns' of type NetStream is not being done and hence in the function 'stopRecord' I get the above mentioned error message when I click on the stop button. How do I rectify these problems?

View 3 Replies

ActionScript 3.0 :: Call To Main Timeline, After External Video Or Audio Is Done Playing?

Aug 3, 2011

I am curious if there is a way to call back to the main timeline using AS3 after a video clip or audio clip that is being loaded externally, is done playing? For instance: you get to a page with a video on it, but when the video is done playing, instead of just sitting there, it automatically takes you to a new page (framelabel).

View 9 Replies

ActionScript 2.0 :: Tracking A Slider's Movement While A Dynamic Piece Of Media Is Playing (audio - Video)

Mar 6, 2007

tracking a slider's movement while a dynamic piece of media is playing (audio, video) and recording the time and new location of the slider. So if you were watching a 30 sec video clip, and you were rating it in real time, how to record the position of the slider and the time that you moved it? Ugh, if I should explain this better,

View 3 Replies

Flash :: Actionscript - Remove The Audio - Put The Audio Into A Byte Array And Then Re-add The Audio To The Flv Video?

Aug 6, 2010

If I import an FLV video is there any way to remove the audio, put the audio into a byte array, and then re-add the audio to the flv video?

View 1 Replies

Streaming Audio / Loading Audio Into Swf First / Then Playing It?

Jan 28, 2012

I think it is loading the whole audio first into the swf, but I would like to get confirmation from someone more knowledgible.[code]I want it to stream the audio when the button is clicked only so that 100 of these swf will not slow down a whole webpage from loading.[code]I only start getting concerned when I noticed that on FF and Chrome, the page loads really quick but when I open the page in IE, it takes a very long time for the page to appear.

View 3 Replies

Actionscript 3 :: SetInterval Stops After 10 (Audio)

Aug 12, 2011

I have little problem with my script. Here is the code. [URL] When I set setInterval to something like 10 seconds, sound stops in about 10 calls to reset. But when its something like 20 mins it stops in first reset call.

View 1 Replies

ActionScript 2.0 :: Go To URL After FLV Stops Playing?

Jan 24, 2011

I have a friend who's stuck in an old-school splash setup: He's trying to insert an AS2 script that goes to a URL when an external FLV stops playing... It's not working. He's in CS5 � I can test out in CS4

View 1 Replies

ActionScript 2.0 :: Animation Not Playing Just Stops In First Frame

Feb 22, 2010

I'm developing a simple application at the same time as I am studying some things in actionscript and I've got the following code:

ActionScript Code:
if (Key.isDown(Key.LEFT)) {
x -= speed;
this.gotoAndStop(2);
_xscale = -scale;
} if (Key.isDown(Key.RIGHT)) {
[Code] .....

I've got an object, and every time I press one of those keys those actions happen. My problem is that, when I press SHIFT, the object appears in that way (frame 3), but It doesn't play that animation it just stops in the first frame. How can I say "if you press SHIFT at the same time as RIGHT or LEFT, gotoAndStop(3); and the object that is in frame 3 only plays if either RIGHT or LEFT is down too"?

View 1 Replies

Flash :: .swf File Stops Playing (ends Prematurely)

Sep 30, 2008

I have uploaded an .swf file to my site but when I embed it into my site page it won't play all the way through, it just freezes about half way. But the same .swf file will play fine in Flash.. I am using a content management system called Teamsite.

This file is not especially large only 377KB, I have tried removing images to reduce the size down to 96KB and it will still freeze. The file is just rotating images and uses no fancy effects just a simple fade.

View 2 Replies

Professional :: Flash Plugin Stops Playing When Hidden Or On Different Tab?

Jan 14, 2011

I've noticed (a few months ago, actually) that in most browsers I use  to test my application (Firefox, chrome and explorer) the flash plug in,  while playing it's content, will stop, or freeze, when the actual plug in  playback window is out of the window (due to scrolling, or switching  tabs), or covered by another window (a different browser or program  window that will cover the visible area of the player), which is  something good, and nice, when you think about web pages full of  commercials slowing down your browser and computer in general, but what  happens when you a games programmer, who work with multiplayer games, on  games which are mostly turn based? If one of my players switches  tabs, open a new window over the browser, or god forbids, scroll down  the page, the game is essentially stopped, since no events occur on that  players side of the game!! And this does not effect just simple  frame based animation, but everything, onEnterFrame events stop,  setInterval stops... the only thing that I could find that does not stop  when this happens is a setInterval action done in a different swf,  which is loaded to a different level of my game file.

View 3 Replies

Professional :: Movie Clip Stops Playing For No Reason?

Mar 9, 2012

I am making a banner that has multiple movie clips sharing the same area, creating different rainbow effects when different areas (invisible buttons) are moused over.
 
First of all I couldn't figure out if there was a way to have one invisible button over the whole area that changed to a different colored effect with each mouse over (first mouse over the black and whites would change to reds, second would change it to blues, third would change it to browns, etc.). Since I couldn't figure this out I settled on creating three buttons covering a third of the banner each, so when the mouse passes over one button it changes to reds, over another button it changes to blues, over the third it changes to browns.
 
The effects are movie clips where each frame has another stripe changing color so it goes in a wave effect from one to the next, and then goes back to white and black in the same manner.  The first frame of each movie clip I had to turn into a nested movie clip so I could turn the alpha to 0, since I was going to have these color effect movie clips on top of one another in the main timeline on different layers, and so you could see the effect even if that color layer wasn't on top. I used the same nested movie clip with zero alpha for the first frame of each color effect clip (reds movie clip, blues movie clip, etc), so I dont' know if that's an issue.
 
Anyway, it seemed to work fine for a while, but after working on it for a while longer (and not getting any further since I removed most of the changes I made), now when I test the movie the mouse over does not seem to work correctly. It works fine, seemingly, for the first time I mouse over each button, but in order to have it work again I have to mouse over the button twice, and then it will pause randomly during a part of the clip and I have to move my mouse back over for the movie clip to continue.
 
I can't tell if this is because of the overlapping movie clips, or because my buttons are messed up, or if my actionscript is messed up, or if the timeline has to be longer, or what. Currently the timeline is 55 frames, the same as each movie clip.
 
I put a movieclip_instance.stop(); command in the first frame of the main timeline, is there a better way to do this? Should I put the stop command in the movie clip itself?
 
Here is a section of my AS in the main timeline, this is my first time programming ever, in any language, and trying to learn from the internet is more difficult than I thought it would be.
 
redmovie.stop(); 
red_btn.addEventListener(MouseEvent.ROLL_OVER, playRed);
function playRed(event:MouseEvent):void
{
redmovie.play(); 
}

View 4 Replies

Flash :: Applying A ColorTransform Stops MovieClip From Playing

Dec 2, 2009

I have a MovieClip that consists of multiple layers, one of those layers is an animated background Shape. let's call this MyMovieClip with the background shape have the instance name "mcBackground";

I'm adding the MovieClip to the stage from ActionScript by:

var myMovieClip = new MyMovieClip();
addChild(myMovieClip);

This works fine and when the movie clip is added to the stage it plays as expected (background is moving).

The problem is when I try to apply a colorTransform to the background shape, it stops from moving. what I'm doing is this inside the MyMovieClip class:

[Code]...

View 2 Replies

Media Server :: Flvplayback Stops Playing But The Client Is Still Listed As A Connection In FMS 3.5

Apr 7, 2010

I have a live streaming application using RTMP. Sometimes the playback works fine but sometimes it stops without any trace or errors in the log file, while still appearing as a connected client.

View 7 Replies







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