Professional :: Video Sound Won't Stop When Changing Frames On Timeline
Nov 19, 2010
I've been making the transition from AS2 to AS3 for the last week and am making progress. But I'm having a problem that hopefully someone can help me with. I'm using Flash CS5. I have a fairly simple Flash website I'm working on. I have sections on the timeline like Home, About, Photos, Media ... all set up using labels for each of those sections. Everything is working fine but when I go to my Media section where I have a video placed (using the flv component) I'm having a problem as follows:
The video auto plays fine when I go to the Media section but when I attempt to leave the section and go to another the sound of the video doesn't stop. It continues to play when I go to another section and if I go back to the section it starts again. The video is not there when I go to another section which is the part that's confusing me. In AS2 when I did this the video and the sound both stopped because you went to another section on the timeline. Why is the sound of the video not stopping in AS3?
View 28 Replies
Similar Posts:
Feb 29, 2012
Is there some codes, to stop sound in movie clip, when changing keyframe on main (parent) timeline ?
View 1 Replies
Feb 11, 2011
I'm trying to modify many .fla files (in CS3) that have a voiceover layer on them. Because I'm adding or deleting other items on the stage, I need to adjust the audio fo synch with the modified flash file. I have tried deleting frames and this happens - I select the unwanted frames, such as frames 200 to 300 of a 500 frame file. Then, the audio from frames 300 to 500 (at the end of the file) gets deleted instead.
I need to create gaps (like 200 frames of no sound) in the audio (.wav) file so I tried adding blank frames. When I click on "insert frames" in the middle of the timeline, Flash adds the new frames to the end of the sound timeline.
I also tried adding a keyframe at the beginnig of the range and Flash deleted all the frames after the keyframe.
It looks like any modification to the sound/audio layer only affects the end of the timeline. How do I modify sound parts in the middle of the timeline? I know this can be done but how?
Details: The audio layer (.wav) runs the whole length of the Flash file. The .wav file is a sound file in the Library; 22kHz Mono 16-bit 27.4s 12.1kb. The files were created in CS3. These files work fine.
View 1 Replies
Jan 29, 2010
my reverse button causes the timeline to ignore the stop() function on its keyframe and play backwards all the way to the start. Since it keeps trying to play the previous frame, it's frozen at frame 1.
Code:
stop()
// Reverse button //
var reverse:Boolean;
rev_btn.addEventListener( MouseEvent.MOUSE_DOWN, down );
[Code].....
View 12 Replies
Apr 20, 2009
I am using a sound on frames and when I am stopping the frame the sound continuous playing but the frame stops.
View 3 Replies
Jun 10, 2009
Okay, so I've got a happy little movie that shows an atom diagram. Every seven frames shows an electron popping up in the ring around the nucleus. This is all contained in a movie clip. I want a button that when pressed, tells the movie clip with the atom to advance the seven frames ( making an electron pop up ) and then stop. The same button if pressed again, will advance the movie clip an additional seven frames ( thus adding another electron ).
I've looked around quite a bit but haven't found a solution that will work for me. Also, I am working in AS2. (if you're feeling especially helpful, do you also know how to do the same but in reverse? I've found how to play movie clips in reverse, but not for a certain frame interval.)
View 1 Replies
May 18, 2004
I have created an into to my flash site. I have put the intro in one scen and the main site in another. While the visitor watch the intro, he has the option to click "Skip intro", then he goes directly to the main site scen.In the intro scen I also have added a sound trackSo, I would like to find a way to stop the sound when the visitor click the "Skip intro" button and are linked to another scen. Right now the sound continue to the end of the sound track, even though I click to change scen. Does anyone know how to do this?
View 1 Replies
Feb 16, 2005
if I can control volume by means of a slider , is there anything to stop me progressing through preloaded frames along a timeline with a slider? has anyone tried this? i am imagining giving the user control of a decaying image from beginning to end with the use of a slider?
View 1 Replies
Feb 16, 2005
if I can control volume by means of a slider , is there anything to stop me progressing through preloaded frames along a timeline with a slider? has anyone tried this? i am imagining giving the user control of a decaying image from beginning to end with the use of a slider? does this sound the wrong way of going about this? i am ok with actionscript but with this, i havent a clue where to begin!
View 1 Replies
May 12, 2010
I am currently in the middle of making a "sniping" flash game. In the first level there are a series of moving targets which are also movie clips. Inside the movie clip there is a 7 frame animation of the target exploding. Inside that is a tween of the target moving up and down. And inside that there is a plain old button.
What I want to happen is when you click on the moving target it explodes and brings you to a new frame of the main timeline. (ex. Main Timeline frame #27) But I'm pretty sure it thinks I was to play the seven frame animation of it exploding and then go to frame 27 inside the movie clip, rather then frame 27 on the main timeline.
Here's what my AS looks like on the target (ActionScript 2.0 is what I'm using.)
on (press) {
play();
}
on (release){
gotoAndStop(27)}
So how do I make it explode and then take me to frame 27 on the main timeline?
View 3 Replies
Apr 15, 2011
Basically im trying to stop sound playing from a timeline. My little swf plays and has music playing from a separate layer. and when i mouse down on it i have action script 3 that jumps to a dif frame and starts playing a new anim and sound layer. but the previous sound layer keeps playing to the end. Is there anyway to stop the sound layer playing at the same time that i jump to a new frame?
View 1 Replies
Dec 2, 2009
I have a four frame fla with a video flv in each frame... myVideo1 and so forth.
Problem. After one of the frame is playing and left for another... it continues to load.
How do I stop this? I would expect that being a frame to frame fla.. this wouldnt happen.
View 0 Replies
Jun 7, 2011
I have created an animation where I have pictures and text accompanying the pictures sliding in and out. However, I want to change the font of the text across the entire animation. What is the easiest way to do this? I have found when I have tried it, (changing the font in the text box) that sometimes it throws the whole animation out for each key frame that has that text (if this makes any sense). In other words, suppose I change the font in keyframe 1, the change it at the next keyframe, sometimes the second keyframe is no longer consistent with the first, perhaps only slightly and therefore the animation can run a bit choppy as it goes from keyframe to keyframe.
View 2 Replies
Apr 4, 2010
I have a sound that I have imported into my library and I'm playing it in my timeline by adding it to a keyframe. I want it to go away when I move to scene 2. In action script 2.0, there was a script that I used that was "stopAllSounds()", but that doesn't work in 3.0. Is there a quick fix to stop all sounds or one sound on my timeline?
View 1 Replies
Aug 28, 2009
Is there any way we can stop the sound embeded in timeline directly?
We have an application that load SWF dynamically. These external SWF are not created by our company and other company has embed the sound in timeline. without use of any actionscript or anything.
Now we need to provide the MUTE option for our user, is there any way We can simply disable all kind of sound in any mode from our ActionScript code.
View 2 Replies
Dec 30, 2011
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.
View 5 Replies
May 4, 2009
i have SWF file named videoTwo instance of FLVPlayback which shows up when button called Media is clickedi have other buttons resume home etcwhenever i play the video then click on any other button it still plays in the background how can i stop that.
View 1 Replies
May 4, 2009
I have SWF file named videoTwo instance of FLVPlayback which shows up when button called Media is clicked
i have other buttons resume home etc
whenever i play the video then click on any other button it still plays in the background how can i stop that.
View 1 Replies
Jul 9, 2009
I am using the following actionscript 2.0 on the first frame of my flash movie to not play the .flv until its 50% loaded. This works great but the rest of the movie advances as that preloads. How do I stop the advance of the flash movie as well until the .flv loads 50%? [code]...
View 4 Replies
Aug 15, 2010
I have added some three sound clips, play pause buttons, on the root timeline in a movie with corresponding callouts. I am able to stop all sounds on the main timeline by below
stop_btn.addEventListener(MouseEvent.CLICK, stopSound);
function stopSound(event:MouseEvent) {
SoundMixer.stopAll();
}
But now how do I resume all the sound to play. In sort, mute unmute root sounds in AS3.
View 1 Replies
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
Dec 8, 2009
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");
[code]....
View 2 Replies
Mar 23, 2009
im currently building a site with 3 buttons and each buttons loads an external swf for each section of the site on a empty movie clip, im having an issue with the video section that has an video thumb gallery loading flv videos,
every time i try to go somewhere else in the site, the video sound continues to play (loop) behind the scene.
this is the actionscript code im using for my buttons.
[Code]....
View 9 Replies
May 30, 2010
I havve accidently created extra unneeded key frames in a layer, in the middle of motion tween. I was wondering how to change these keyframes, without deleting them so not to change the length?
View 3 Replies
Aug 3, 2010
I don't know what I did while working in a CS3 Flash document, but I cannot view the frames up in my timline bar. All I can see is the layers there - they take up the whole area and when I try to grab and drag the timeline to shorten the layers nothing happens. I must have hit something by accident
View 4 Replies
Mar 22, 2012
Decided to stick with AS2.0, i've got buttons that are working great, linking to certain frames in my timeline etc. The only problem I'm having is after they have been clicked and gone to their respected frame, they remain clicked. This is my code for each button
[Code]...
Could this be something in my code or something in the timeline i've possibly done wrong?
View 8 Replies
Nov 13, 2010
I have a flash video (.flv) that auto plays upon page entry... and the user also has the ability to view a second video (by clicking on link on webpage)... it opens a SOLIDBOX (similar to floatbox) window and plays the second video... which is great.
But unfortunately the AUDIO/Video from the initial video (behind solidbox POP UP) is still playing. A savvy user would realize this and stop the other video, but unfortunately, to make it user friendly for our customers, we need it to automatically stop the initial video.
How can this be accomplished? How can i stop the initial video when the link on the webpage is clicked (opening the pop up with second video playing)?
You can see this all in action here:[URL]
(notice the video upon entry starts playing... then click on the yellow starburst (DEMO GREETING linK) to open the second video)
View 6 Replies
Feb 21, 2009
I am loading swf's that have an flv embedded on the timeline. When the user selects from the menu I unload the swf and load another. This is working fine, but the audio from the first swf's video keeps playing. How can I kill this first videos audio track?
View 3 Replies
Jun 1, 2011
I am making a small website and i am trying to stop the sound from a video playing when the user clicks any other button to navigation away from the video which is fine (SoundMixer.StopAll behind the code for each of the buttons) but then if they decide to go back to the video page there is no sound? I tried removing the event listener but i cant get it to work
View 3 Replies
Dec 25, 2010
By default when I create a new motion tween, it automatically comprises all frames on the layer I want only a 72-frame tween, not a 350-frame tween.
View 2 Replies