Flash :: Player Keeps Playing Audio After Leave Page?

May 31, 2009

I deployed a website a couple of days ago which is written entirely in Flash.  On one of the pages there is a video which plays in the Flash Player.  I have noticed that when I leave the video playing and select a button to take me to another page, the other page comes up but the audio keeps playing from the prior page. Worse yet, if I go back to the page with the Flash Player, it now relaods again and there are two audio tracks.  Can someone tell me how this code is solved?  There must be some Actionscript 3.0, which I'm using, which kills the player whenever you enter a different page? 

View 1 Replies


Similar Posts:


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

ActionScript 3.0 :: Audio From Flv Player Won't Stop Playing?

Nov 17, 2010

I have a swf loading in another swf that has a video player in it. When I remove the swf from the stage, the swf goes away but the audio from the swf keeps playing. Is there a way to tell that swf to stop playing from the parent swf?

View 7 Replies

ActionScript 3.0 :: Audio Player Not Playing In Symfony Framework?

May 25, 2010

i've used my audio player before and it's working perfectly fine.

we shift to symfony framework and i just put the player on in but it won't work?

Code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="430" height="21" id="musicplayer"

[Code]....

View 3 Replies

Flash :: Running Code On Page Leave

Oct 31, 2011

How can I run code in Actionscript 3 when a page with my flash object is.well.I'm not sure of the term.When the webpage is left and the flash applet is exited?

View 2 Replies

ActionScript 2.0 :: Stop Music Playing In Audio Player Automatically?

Jun 20, 2010

I'm by no means up on my AS at all and this MP3 player I've had for a while and just readjusted to suit my needs.

One thing i really want to change is the fact the music starts automatically. I changed line 38 from True to False which does indeed stop the music playing on load but instead i get "Loading" and it doesn't do anything after that. Hitting play won't work.[code]...

View 5 Replies

ActionScript 2.0 :: Stop Music Playing Audio Player Automatically?

Jun 19, 2010

I'm by no means up on my AS at all and this MP3 player i've had for a while and just readjusted to suit my needs.

One thing i really want to change is the fact the music starts automatically. I changed line 38 from True to False which does indeed stop the music playing on load but instead i get "Loading" and it doesn't do anything after that. Hitting play won't work.

Code:
stop();
playlist = new XML();
playlist.ignoreWhite = true;

[Code].....

View 3 Replies

Flash :: Audio Player That Can Play Binary Audio Streams?

Apr 13, 2011

My server is streaming binary audio data (mostly mp3 files) to a client (a browser). This client stores the audio data in memory.

What I'm looking for is a flash audio player that I can input the binary audio data so that it can play the audio file.

Preferably, the flash client is merely a bridge to Javascript so that I can handle everything in Javascript and simply use Flash's audio features, but this is not a requirement.

View 1 Replies

Html :: Flash Audio Player For M4a (AAC) Audio File Embedded?

May 15, 2007

I'm looking for a (free) flash player that I can embed in my site and use to play a .m4a (.mp4 with AAC audio) file that will be obtained using a URL (i.e. it's not local to the server hosting the web page).I've tried searching on google for one, but either I'm searching wrong or no one has made such a thing. Ideally this would be very simple (small user interface with play button and maybe a progress bar) and it would be easy to have multiple instances of on an html page (can create the player with an <object> tag).

View 7 Replies

ActionScript 3.0 :: Movie Keeps Playing When I Leave Webpage

Aug 6, 2009

I have run into a sticky problem in IE7.

A visitor can click on one of four links on an HTML page. Each takes them to a correlating anchor position within a movie that is located on another page.

When they click on the link, they are taken to that page and the movie begins playing at that location. So far, so good.

Some visitors hit IE's browser back button to return to the orig page. There, they click on one of the other anchors and are once again taken to the page with Flash. This time, however, the audio from the first anchor they clicked continues to play below the new audio they selected.

Apparently, the original link doesn't stop playing. Is there a way to stop a movie from playing as someone uses the browser's navigation to leave that page?

View 2 Replies

ActionScript 3.0 :: User Leave Webpage But Movie Keeps Playing

Aug 6, 2009

I have run into a sticky problem in IE7. A visitor can click on one of four links on an HTML page. Each takes them to a correlating anchor position within a movie that is located on another page. When they click on the link, they are taken to that page and the movie begins playing at that location. So far, so good. Some visitors hit IE's browser back button to return to the orig page. There, they click on one of the other anchors and are once again taken to the page with Flash.

This time, however, the audio from the first anchor they clicked continues to play below the new audio they selected. Apparently, the original link doesn't stop playing. Is there a way to stop a movie from playing as someone uses the browser's navigation to leave that page? The links page is here (just click on a photo to begin the movie. [URL]

View 0 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 :: Unload External FLV's When Leave Page?

Jul 7, 2011

I have a site that has multiple video clips on multiple pages. However, once you get a few pages into the site it really bogs down, and I am wondering if it might be that the previous FLV that was playing when you clicked on the button to leave that page, might still be playing in memory or behind the scenes?

I currently have the next page buttons coded with:
Code:
SoundMixer.stopAll();

and the sounds are stopping, but I am wondering if Flash still is using resources to keep the video playing on that frame?

Do I need to unload the video clip, or stop it somehow with the button?

These are external FLV's, NOT embedded in the timeline.

My CPU usage stays between 80-100% and once you click trough a few pages, it really begins to bog down, and stutter, and crash Flash Player.

View 1 Replies

ActionScript 3.0 :: Remove A .swf Once Leave The Index Page?

Sep 7, 2009

i am trying to remove a .swf once you leave the index page. unsure of the method "contains" and how to remove the banner var or unload the var

the page variable code is

Code:
var sights:URLRequest=new URLRequest("sights.swf");
this defines the page loader

[Code].....

View 5 Replies

ActionScript 3.0 :: Music To Stop And Continue Once Leave That Page

Oct 11, 2011

I created a flash site with four pages with music playing in the backround. on one page I want the music to stop and continue once you leave that page.

View 2 Replies

ActionScript 3.0 :: When Leave The Video Page , Sound Will Be Stop?

Jun 8, 2010

I'm building a site that has an mp3 player that's available all the time.I'm adding a video page to the site.The videos use an FLVPlayback component.When I leave the video page I want the sound that was playing on that video to stop.I can't use SoundMixer.stopAll() because if I had the mp3 player playing before I went to a page I want it to keep playing.

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

ActionScript 2.0 :: Load A Different Page For The Flash Player To Scroll Up All The Way To The Top Of The Page Itself?

Apr 25, 2007

Im working on a website for school, and im doing it through flash. The server ive been given is being taken up by thousands of pages, so its slow. Instead of loading each page through HTML, ive decided i could do a seperate frame for each page. However, to reach the menu at the bottom, you have to scroll down. Is there any way to make it so that when you click a button to load a different page for the flash player to scroll up all the way to the top of the page itself?

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 :: Audio Not Playing In Flash

Oct 22, 2010

I've been trying to play an external sound file in Flash and failing miserably.[code]...

The problem with this code is, I can only run it while it's on a live server (the link is obtained from a MySQL database via XML), so I can't tell if any error when it's being run. Then again, I can't see how the above code can lead to any problems.

View 1 Replies

Flash :: AIR 2.7 For IOS Playing Audio In The Background?

Jun 23, 2011

Update: With the latest Adobe AIR 3 Beta, Adobe added this functionality to their SDK.

http:[url]....iOS Background Audio Playback Support — Developers can now write multitasking iOS applications that can play audio while in the background, including music or voice chat from a conferencing application.

With the new release of AIR SDK 2.7 and Flash Builder 4.5.1 you can "Take advantage of new features in iOS 4 like multitasking..." (from http:[url].....Searching a bit I found out that this "multitasking" does not include true background process, like playing audio while the app is in the background.I know this is new but does someone knows if it is possible to keep audio playing in the background?

View 3 Replies

Asp.net :: Skinnable Audio Player (or Something Similar To Windows Vista Audio Control In Task Bar) For The Web?

Mar 11, 2010

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.

View 1 Replies

ActionScript 1/2 :: Audio To Not Play When Moved To New Position For Audio Player

Aug 25, 2009

I have an audio player that has a custom timeline and playhead. I am using a start and stop drag to move in the time line but the only way i can make it work is to have it play when ever I release the play head. I would like it to stay stopped if the player is paused and play if the player was playing.
 
[Code]...

View 5 Replies

IDE :: Progress Bar For An Audio Player Streaming Audio From Wowza Server?

Feb 24, 2011

I am new in action script 3.0. i am trying to build an audio player which will stream audio(mp3 etc.) from wowza media server. the player needs to have a play button, stop/pause button, a play progressbar and a volume scroll bar. i am using NetStream object to paly the audio

View 1 Replies

Flash :: Unloading Swf's With Embeded Flv's, Audio Keeps Playing?

Nov 13, 2010

so I have 3 swf's that im loading with buttons into the main swf. The thing is that these 3 external swf's have embeded flv's. when switching between the swf's with the buttons, im using vid1loader.unload();the only thing is that while the video switched to the other video like it should, the audio keeps running on any number of videos(swf's) that are loaded. My question is how do you stop the audio when using simple Loader and URLRequest to load the swf's?

View 1 Replies

Playing Local Audio Files With Flash And/or HTML5

Jul 9, 2011

I realize it is possible to play audio with Flash and HTML5 by passing a URL.

However, is it possible to get a reference to an audio file using a file browser (either with HTML5 or Flash), to then play this local file, again using either Flash or HTML5?

Of course, this should happen without the interference of a server. Since the file is already on the local system, it does not make sense to route it through a server only to receive the same file again.

View 1 Replies

Java :: Youtube Keep Flash Video Playing / When Go To Users Profile Page From Video Page?

Aug 31, 2011

In the cosmicpanda update for youtube, you can go from a video page to the video creators profile page while your video is still playing in flash. Does anyone how Youtube accomplishes this? I would like to know if it's possible to keep the flash state of a site constant while moving from page to page on a site.It doesn't seem as if the flash is reloading, so I don't think that they are just saving cookies for the current video time and starting the video at that point when they refresh.I would assume that they're using ajax, but the application of this feature is really clean. The URL gets correctly changed to the users' profile page's URL. The back button still works as it should. (I can press back and forward between video page and user profile page and the video continues going clean and never drops.)

View 2 Replies

Professional :: Get Flash To Stop Playing Audio When Previewing While Working?

Nov 25, 2011

For a class project I have to make kinetic typography and so I need text to go along with some audio from a movie (in Flash). Every time I press enter to preview what I've done and what I have to do next, the audio starts and doesn't stop till it's done and this is a little over a minute long, and it's really annoying. If I don't start from the first keyframe, I can't even hear the audio, it doesn't play if I play from the middle. How do I press enter to play and have it stop when I press enter again? I can load the swf by CTRL+ENTER but then I can't see what frame I'm on and what frame I want. :|

View 4 Replies

Actionscript 3 :: Adobe Flash : Playing Speex Audio From A File

Aug 5, 2010

I have tried really hard to find an example showing how to play speex encoded audio in flash. I tried the following code -

var connect_nc:NetConnection = new NetConnection();
connect_nc.connect(null);
var stream_ns:NetStream = new NetStream(connect_nc);

[Code]....

I tested the above code with .flv videos and AAC encoded audio files and it works just fine. But when I try stream_ns.play("sample.spx") I get a stream not found exception.

Am I using the wrong container (.spx) for speex audio. Is playing speex audio from a file supported?

View 4 Replies

Actionscript 3 :: Make Flash Button Disappear When Playing Audio

Aug 12, 2011

I have a flash document (Actionscript-3) with play button on top of a image, and an audio is played when the button is clicked. How do I make the play button disappear when it is clicked and audio is playing. The button should reappear after the audio has finished playing.

View 1 Replies







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