Professional :: Stop Video After Leaving Page?

Jan 8, 2010

i want to stop my video once i click onto another page
 
but the video still plays in the background??

View 4 Replies


Similar Posts:


ActionScript 3.0 :: Make Video Stop Video When Leaving A Frame?

May 11, 2010

I know how to make a video (instanced as showreel) stop when clicking on a button that that navigates to another section/frame, since otherwise I would still listen to that video while not visible. The problem is when I'm in another frame that doesn't have that video, when clicking on the menu to go to whichever other frame, it looks for that it to stop if it's playing and it and doesn't find it, and so there's an error.
 
How can solve this? Maybe I should put an order saying something like if there exists a video in that frame instanced as sowreel, stop it, otherwise don't do anything as there is nothing to be stopped. Or assign the order to the frame (which is called motion), but I don't know how to do that, can someone help? The code I have is: 
 
import fl.video.VideoEvent;
function onClick(evt:MouseEvent):void {    if( showreel.playing ){        showreel.stop();}    gotoAndStop(evt.currentTarget.name);}
motion.addEventListener(MouseEvent.CLICK, onClick);web.addEventListener(MouseEvent.CLICK, onClick);logo.addEventListener(MouseEvent.CLICK, onClick);photo.addEventListener(MouseEvent.CLICK, onClick);

View 5 Replies

ActionScript 3.0 :: Stop A Video From Playing Once Leaving The Frame

Aug 7, 2009

It is for a portfolio for school, in the case that you wanted to know. I have created a frame in the FLT thatis for videos. I have called a net connection to load a video locally when a custom button is CLICKed, and i have made a custom button to pause said video, and play again, using togglePause

My problem is, once the video is started (using play) and if the user navigates away from this video page, (which means they are a jerk/ass for not finishing my video) the audio will continue playing, as the video has been loaded and is not through executing. I want this net connection to end once navigating away from the page, if necessary. I have tried calling an EventListener(EXIT_FRAME) but errors upon outcome follow.

View 0 Replies

IDE :: Stop Video When Going To Another Page?

Aug 24, 2009

I am working on a website using the [URL] tutorial for Flash CS4.

I ran into a bit of a problem, I made my flash movie and everything was good. I added a welcome video with sound that plays when the user opens the website, my only problem is that when you click on the other pages the video and sound keep playing even if you see the other page.

How do I get that video with sound to stop once you go away fro the page and go to another page?

View 3 Replies

ActionScript 2.0 :: How To Stop Video When Go To Another Page

Apr 24, 2011

I am trying to stop video when I change to another page [URL].

View 9 Replies

Stop Video Player When Accessing Another Page?

Mar 17, 2009

I'm looking for a (simple) way to make the vidplayer to stop playing when moving from one page to another one (on the same timeline hey). As it is right now if you start to watch a video and don't push the stop button before going to another page it keeps playing - hence you still hear the sound playing in the background while you're actually looking at another page. And that's not good.

View 3 Replies

Video Won't Stop Playing When Change Page?

Dec 2, 2009

Im using flash4 with action script 3.0, for a website promoting the xbox games Ive worked on.

[URL]

as you will see the videos wont stop playing when I change pages, and I cant work it out at all, Im more than willing to give you a mention on my site . Im more than willing to supply you with the flash file...

View 3 Replies

Stop Swf Video From Starting When Page Is Openend

Oct 13, 2009

How can i stop an swf video file from starting when the page is opened in browser? Under the publish settings i click on (paused at start) . This doesn't seem to have any affect on whether the video starts when the page is opened.

View 3 Replies

ActionScript 3.0 :: Stop Flv When Leaving A Frame?

Oct 6, 2009

i want to stop a video from playing,when leaving a framei tried to use SoundMixer.stopAll(); but it only stops the sound, i think my video is still streaming in the background because im starting to notice performance problems when i go back and open the video againthe website gets very slow.

View 5 Replies

Stop Video Audio When Clicking On New Page Of Site

Aug 5, 2009

The situation is I have a number of pages with a single movie clip on each, however once the movie is playing and you click the home or contact buttons for example, it will go to the correct page but the movies sound keep playing in the background. So I've got a code, but I just get an error sayign tanmovstop() does not have a body. I'm very new to action script so am very lost! I'll be extremely grateful. The code on the sites main buttons is as follows, with tanmov being the movie whos sound I want to stop:

[Code]....

View 1 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 :: Get An Flv Video To Stop Playing When Exit The Page It's On?

Sep 13, 2011

The audio continues to play no matter where I navigate on the site.

View 6 Replies

ActionScript 3.0 :: Movie Replay After Leaving Page?

Jul 27, 2010

I have a movie that has an intro to it. It also has buttons that take them to subsequent pages. Once they go back, I'd like the intro portion of the movie to not play. In other words, I'd like it to start at a particular frame after the initial visit to it.

I think this can be done with Local Shared Objects, but I haven't quite figured out how exactly.

View 1 Replies

ActionScript 3.0 :: Stop FLV From Playing Upon Leaving Frame?

Apr 19, 2011

Maybe someone has some insite on this before I open an artery. I have a timeline, seperated into sections. The navigation targets frame labels. On one of those keyframes there is a flv. When you play that video and then navigate to another frame without stopping the video, it continues to play. I've tried giving it an instance name and adding a stop action to it that resides in the button functions so when it navigtaes to another frame it would stop. However, when  I click on any button and the movie is not currently playing, I  get a error message that reads TypeError: Error #1009: Cannot access a property or method of a null object reference. I assume it is looking for something that is not currently there. It has been suggested that I use the SoundMixer.stopAll() but that removes any background music currently playing.
 
Do I need some kind of conditional statement that detects if the flv is currently playing?
 
Can FLV be controlled with a simple instancename.stop() ?

View 3 Replies

ActionScript 3.0 :: Gallery Page With A Bunch Of Page Numbers - Click On A Page Number, The Over Script Should Stop Until Go To Another Page?

Jan 26, 2009

i'm trying to build a flash site and ran into a problem... i have a gallery page with a bunch of page numbers at the top. when you click on one, a movieclip loads of some images coming in.so the problem i'm having is that i made a little animation for when you roll the mouse over the page number (they scale up when the mouse is over, scale back when the cursor moves away)... what it's doing is when you roll over, it goes to a certain frame in the timeline and plays that animation.that's all working cool, but i need it to not do that once it's clicked on. so basically when you actually click on a page number, the over script should stop until you go to another page... here's the code i've written,

function over(event:MouseEvent):void {
this.gotoAndPlay(30);}
function out(event:MouseEvent):void {[code].....

View 0 Replies

ActionScript 3.0 :: Stop Video Playing When Changing Frame/page?

Nov 28, 2011

i have a video that appears when looking at my 'Other' page. But when i click onto a different page i see the new page but can still hear the videos sound. how to stop the video when you leave that page?

View 2 Replies

ActionScript 3.0 :: Flash Video Not Stop Playing When Goto Another Page

Jun 25, 2009

I am having a problem with the video on my website. I put a couple of videos on there and I have them working. But if I click on another page, the sound is still playing on the video until it is over. I found a temporary solution by putting in the code to STOP ALL. This make it work how it should. But the thing is I want background music, and with the code I have know the music would shut off every time I go to another page. Is there any code where I could just shut the sound off for that video when I click on something else and not ALL sound?

View 8 Replies

ActionScript 1/2 :: Stop Attached FLV Audio When Leaving Frame?

Mar 11, 2010

I have an embedded video object in a single frame. A script attaches an external FLV file which plays upon entering the frame. When I leave the frame to go to other parts of the movie, the music from the attached FLV continues. How can I stop the audio when I leave the frame?

View 3 Replies

ActionScript 1/2 :: Stop Cursor Leaving The Flash Stage Area In Browser?

May 22, 2009

I need to stop my cursor from moving on certain points on the stage. I'm using a magnifying glass effect but in the browser this only show the glass up to the stage so I need to stop it moving past those points. You can see what I mean if you move the magnify glass to the very left or right here:
 
[URL]
 
this is the code I have for the magnify glass:
 
var moveGlass:Number; 
magnifyingGlass.onPress = function() {    moveGlass = setInterval(startGlass,1);};function startGlass() {    magnifyingGlass._x =

[Code]....

View 4 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 :: Adding Music - Stop And Play Buttons On Main Page

Nov 9, 2010

I have my mp3 audio clip and made my play and stop button. I am using cs4 and as3. I want to have the play and stop button on my main page but still have the music play when the users clicks onto one of the buttons which takes them to a new page.

View 6 Replies

Professional :: Cant Stop Flash Page From Flashing Repeatedly (making Website)

Nov 20, 2011

Well first off here is my script so far on the page:
 
[URL]
 
Using Pastie to keep amount of text on thread low to make things easier to read.
 
Here are the errors I get everytime I try to debug or Test Movie:
 
[URL]
 
Also maybe if you can help a bit with it heres the check list that this is graded on. Also no I am not trying to make you guys do my work for me its just he gave us this project but I have been at work (17) and unable to finish it at all. Please help I dont want  a bad GPA this ending semester.[URL]

View 1 Replies

Professional :: End Video With Stop Action?

Apr 12, 2011

I want the video not to loop, but to stop on the final frame of the video. I want to add that action before publishing the SWFas3 file. I need a litle advice. I went to last frame and right-clicked on Actions. I don't know what to put in the dialog box.

View 2 Replies

Professional :: Flash Video Does Not Display On Page

Sep 18, 2010

I have created a Flash video clip, and can't see the video when published to server. I am able to see the video on the page when I preview it in Dreamweaver CS3. I have deleted, recreated and re-uploaded the files.URL...

View 2 Replies

Professional :: Stop Video From Playing Automatically?

Apr 29, 2011

I imported a video in my "about me" section of my website with a skin chosen from within flash. However, when I click within another section of my website, for example "Home" and go back to the "about me" section, the video starts playing automaticly. If your speakers are turned all the way up, you will jump.

What is the code I need to add to my video's actions layer to stop the video from playing automaticly and give the the user the ability to play the video themselves?
 
And what would be the code if I wanted to reduce the volume at 50% for example but have the video play automaticly?

View 5 Replies

Professional :: Export To .mov Leaving Artifacts Everywhere

Feb 17, 2011

I have made a simple animation with music, 800ish frames, no actionscript, using CS4 When I export it as a Quicktime Mov it breaks up and leaves artifacts everywhere, I read that the spec of your mac can affect the export but I'm working on a mac pro with 2 x 2.26 GHz Quad core Xeon and 16GB Ram so I very much doubt its that. The only other forums I've seen (working) answers on are ones where you save the video and audio separately and rebuild it in after effects or something similar but I do not have that software (and surely you should'nt have to do all that). I need to import the movie into iMovie to add to another piece of film.

View 5 Replies

Professional :: Tell One Flash Video Component To Make Another Stop?

Nov 5, 2010

So I have a website... [URL]

If you go there and click on the "Corporate Videos" section, you will see me pop up and start talking.

But... if you click on one of the videos below... I keep talking over the top of the new video.
 
Is there a way to "tell target" the one video to stop playing from the action of clicking play on the other video so I stop talking the minute any button on the page is pressed?
 
I am using AS3 with the FLV Playback component for all these videos.

View 8 Replies

Professional :: FLV Video Import In To Flash Stop/Play

Nov 20, 2010

I have imported a flv video in to a flash8 page and want to get the video to stop on load?when importing the video there are no option other that to included the skinning play/stop/pause etc buttons but no option to stop the video on load!

View 3 Replies

Professional :: File Structure - FLV Video With Play And Stop SWF

Jan 4, 2011

I am trying to import a video in to flash. I have converted it to a flv and used the stream from flash media server option and selected a standard play and stop bar. I have imported it in and it works find when you just select the individual swf that it loads into. The problem im having is that when I go to it through the home page, all the page loads apart from the video. I've tried moving it around, moving where all the assets to the video are etc. I know the file structure is important to this working. I have a main folder called interactive / and in that have a FLA and a SWF folder and the swf and fla home page. Currently I have the the video swf in the swf folder with the flv and the play and stop swf.

View 7 Replies

As3 :: Professional - Stop A FLV Video On Entering The Next Frame (cs5 - AIR2.5)

Jan 5, 2011

I have a magazine of 40 frame. each frame is a different page. in one page (frame) i have imported an flv video from a url. but when i publish it and go to the next frame the video keeps playing, even if im not seeing it.

View 7 Replies







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