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...
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?
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?
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.)
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.
I have a as3 project, a magazine like project.I have like 10 pages, and some of those pages, has a FLVPlayback component to stream flv videoes.I have one problem, and it goes like this:
When i enter a frame, with a FLVPlayback component and start playing the video, everything works fine. But when i then switch to another page, the video file keeps playing in the background.
Ive been trying to find a way to play 3 photos and stop when I click on The vision page on my site. I have the site laid out like this Home Vision Contact when I click on the VISION i need the photos fade in and out and stop to show the vision statement...
i have a simple website i'm building. 4 sections/nav buttons. on the main homepage a video automatically starts playing, but when you click on another nav button which takes you to another frame in the site that displays another section - the video from the first homepage section is still playing.here's the code i'm using on the buttons that go from one section to the next:
Quote:
home.addEventListener(MouseEvent.MOUSE_DOWN, homeNav); function homeNav(event:MouseEvent):void { gotoAndPlay("home"); }
[code]....
what do i need to do so that the video stops playing when you go to another section from the homepage/section?
I've just posted a reply in the ActionScript3 Forum as someone else has had the same problem, but I can't find a solution so posting again here as it's taken me about 5 hours of getting nowhere and I'm sure this is really easy... have one frame on my time line called "theatre" and another called "Video" the buttons between the two work but the video continues to play in the background when I go back to the "theatre" frame on the same time line and I can't find a stop function that will work A button on my main page links to Video on the timeline with following AS3
btnVid.addEventListener(MouseEvent.CLICK, clickbtnVid); function clickbtnVid(event:Event) :void { gotoAndStop("Video");
i have a problem that i've already see that is pretty usual, the videoplayer that i have works fine but when i click in a button to go to another page the videoplayer doesn't stop,the audio continues playing even when i'm not on the videoplayer page.I've already found some solutions in the web but none of them worked,probably because i didn't put them in the right place
The code is a little long: // ###############################// ############# CONSTANTS// ###############################
I have some navigational buttons and one being a video player using XML to load the videos. When I click to navigate to another section, the page comes in however I can still hear the video.
Here's my code for the button sequence:
asstgm.addEventListener(MouseEvent.CLICK, asstClick); function asstgmOver(event:MouseEvent):void { asstgm.gotoAndPlay("_over");
[Code].....
Is there a way to just disable the video player (xmlPlayer1_mc) from working once I click out of that section?
I have a micro site that is really one large flash file with labels driving the navigation. I have a couple of videos in certain sections, but when I click onto another button while the video is playing, you can still hear the audio.I want to disable the player once you "click" away.The code I have for the button(s) on the page is as follows:
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.
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?
I am new to flash and asc3.I am currently developing a website using cs3.I have the main swf that calls in other swfs using the add child.The swfs that I am calling in, have video using the standard flvplayer.The problem that I am encountering (and is driving me nuts) is when I use the remove child, you can still hear the audio from the video that was just removed.
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?
1. in this script Video playing auto. how to stop that.2. now playing video auto. suppose i click pause/play then video stating first. what is the problem in script?[code]
I have created a video gallery that loads video(flv) files from XML. When you first select any video, it loads works ok, but when you select/load second time it is playing second video with fist video voice at the background. I can't let first video remove from custom video player.
// display ContainerFourvar containerFour:MovieClip = new container4();var bjwC = new bjwContainer();var timer6:Timer = new Timer(39000, 1);timer6.addEventListener(TimerEvent.TIMER, displayContainerFour);timer6.start(); function displayContainerFour(e:TimerEvent):void{ addChild(containerFour); containerFour.x = 192.0; containerFour.y = 108.0; TransitionManager.start(containerFour, {type:Photo, direction:Transition.IN, duration:2, easing:
[code]....
I am using As3 to add to the stage dynamically, now what seems to be happening is the video is playing before I add the containerFour - how can I code this, so that the video only begins to play when I add containerFour, and not before it?
I have made a frame which contains four videos that play when the user clicks on the button relating to that video. However, when I click on another frame, the video's sound continues to play. But when I click back to the video page the FLV Componant Player has reset itself and is not playing anything, but I still hear the sound of the video that I played earlier. Any ideas as to either stop or pause the video that is playing when clicking away from that frame?
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.
I can hash a flash template to make it work, changing URL's, pictures etc, so have not had a grounding in the coding side of things.
My problem is that I have a new website that I have published in CS5 from a template by flashmo. I have substituted one of the pages to play videos ( I originally wanted to have 1 video with 4 thumbnails that would play when clicked but that is above me). On that page I have imported 4 flash video files, one set to autoplay, the others using the skin to start when necessary.
The issue is that when I navigate away from the page "Examples", the sound keeps on playing and if I navigate back to "Examples" another instance of the video starts with both soundtracks playing.
I have researched and found other people with the same issue, but the solutions always seem to involve entering a stop(); function on the buttons that navigate away from the Examples page. This is where it all falls apart for me.
below is the code from the first frame of the timeline. Am I looking in the wrong place to stop the video playing. There are other lines of script later in the movie, but I am ssuming this is where it all runs from ?!
fm_button.visible = false; var menu_label:Array = new Array("Home", "Examples", "Packages", "Links", "About", "Contact"); var total:Number = menu_label.length;
I have a website.fla and when i change page i want the video to stop playing because at the moment it continues to play in the background even when on a different page.
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
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?
I am playing youtube videos with the TShockwaveFlash component in Delphi 2007.The component has many options such as play, stop, rewind, gotoFrame, etc and they work on a normal flash file.However if I try to use them on a youtube video it doesn't work.