Professional :: Make Video Pause When Clicked?
Mar 4, 2010
I have a flash video that is set to autoplay when the page loads. We've just implemented thickbox/lightbox system on it now so when you click on the video it enlarges into that new frame. Problem is, when that's done the video/audio is still playing while the video in the thichbox is playing too. This leading to ineffective listening. Does anyone know a code that would trigger the video to pause when clicked anywhere on the video screen?
View 5 Replies
Similar Posts:
Mar 10, 2010
I have a flash video that is set to autoplay when the page loads. We've just implemented thickbox/lightbox system on it now so when you click on the video it enlarges into that new frame. Problem is, when that's done the video/audio is still playing while the video in the thichbox is playing too. know a code that would trigger the video to pause when clicked anywhere on the video screen? Right now the videos being tested at this link -[URL]I don't currently have the video linked up to lightbox, just a link above the video to expand.With FLVPlayback,this is my current code (it's currently coded and set up so the video autoplay starts at 52 seconds)...
import fl.video.MetadataEvent;
import fl.video.VideoProgressEvent;
import fl.video.*;
[code]...
View 2 Replies
Jan 19, 2010
I have a flash video that is set to autoplay when the page loads. We've just implemented thickbox/lightbox system on it now so when you click on the video it enlarges into that new frame. Problem is, when that's done the video/audio is still playing while the video in the thichbox is playing too. This leading to ineffective listening. Does anyone know a code that would trigger the video to pause when clicked anywhere on the video screen?
View 2 Replies
Jan 18, 2010
How to get a video to play upon rollover and pause upon rolling out? Here's an example: [URL]. Roll over the dark gray stripe and click on Contact. Roll over the videos to start them. I have not been able to find any info out there on how this is done.
View 4 Replies
Jan 19, 2010
I've created a video player using the flv component. I have images of cue points. The user should be able to click on an image and the video should skip or start at that cue point
View 9 Replies
Apr 4, 2012
I am making my second video, so I'm not too knowledgeable. Anyway, I imported audio into my video and it plays back fine. So I play the video, and pause it to try and synchronize the audio. The video stops, but the audio keeps playing, and it will not stop until the whole thing has played. If I try to start from the beginning again and play the audio to sort of override it, it just overlaps with the original audio, and the resulting noise gives me a headache. I don't know if somehow I can stop the audio a
portion of the way through
View 5 Replies
Jan 6, 2011
How do I make code which runs every time the mouse is clicked anywhere (not on any specific object) using AS1
View 1 Replies
Mar 31, 2011
How do i make a movie clip go back to the main stage once it is clicked.. it has a roll in and out which is inside the movie clip.. i have a door and i want it so when you click the door it goes to another key frame on the main stage
View 1 Replies
Feb 1, 2010
what the actionscript would be to make a button be clicked and held down with the mouse a certain amount of seconds before executing an action???
View 8 Replies
Mar 30, 2005
I have a flash program that needs to play and pause when the button is clicked, right now I have this code
Code:
var status;
status = stop
on (release)
[Code]....
this is of course is not right. my var is in the wrong place but i dont want to declair on every "on (release)"
View 2 Replies
Apr 30, 2009
I want to pause my timeline until a button is pressed on the mouse. i want it to work like a powerpoint presentation would. i know how to pause the timeline for x amount of seconds but i want to be able to pause the timeline until the user is ready to continue with the next section.
the application i am building is for kids to teach them about writing skills and the section i want to pause it on is where the kids will be asked to complete a task before the next section is played. the next section will be how they should have answered the last section.
View 1 Replies
Dec 7, 2009
I have created my first flash video and wish to allow the visitors to play the movie themselves instead of having the movie play automatically also have a stop or pause button too.
View 2 Replies
Jul 29, 2009
My dilemma is that is that I have an image that when you roll over it with the mouse the words 'click to play' appear. Now when I click I want the image to disappear and the movie behind it to start playing.
I've managed to put together some action script through looking at various tutorials and posts. but when I preview my site and click the image nothing seems to happen.
The code I'm using is as follows:
import fl.video.VideoEvent;
function doPlayVid(e:MouseEvent):void {
tanmov.play();
this.alpha = 0;
[Code].....
View 6 Replies
Jun 24, 2010
i have an xml gallery where every thumbnail is supposed to load a video on onRelease function. I tryed the easiest way i figured, since i�m not used to work in as2, but it works only a bit: It loads the first video you click ok, but it won�t load another one. This is my code:
Code:
function callFullImage(myNumber) {
myURL = myImages[myNumber].attributes.full_url;
var my_player = new FLVPlayback();
[Code].....
View 5 Replies
Dec 13, 2010
I want to make a button (or graphic) active and visible if another button is clicked. But it must be invisible and unclickable before the other button is clicked. (this is a "find the differences between the 2 pictures game" and I want circles to appear over the differences that the user finds but only after he clicks it)
The button (or graphic) I want to become active has instance name of "sockcircle_btn" The button you click to make it appear is called "sock_btn"
In the first frame of the sockcircle_btn layer, this is my code
sockcircle_btn.addEventListener(MouseEvent.CLICK,sockcircledisable);
function sockcircledisable(evt:MouseEvent):void{
sockcircle_btn.mouseEnabled = false;
}
In the sock_btn frame (frame 3) this is my code
sock_btn.addEventListener(MouseEvent.CLICK,sockcircleenable);
function sockcircleenable(evt:MouseEvent):void{
sockcircle_btn.mouseEnabled = true;
}
The file is setup to loop between frames 2-3. But the sockcircle_btn never enables even when sock_btn is clicked.
View 5 Replies
Apr 4, 2010
Is it possible to make a animation using video clips? What I want to do is have the same clip playing side by side in a loop at different speeds - I would like the animation to play without it having to be clicked on too.
View 3 Replies
Feb 21, 2010
We have imported our video into flash cs4 (we are using presentation mode to mimic a powerpoint presentation), we have gone into the component inspector and altered it so it doesn't autoplay. When it is on autoplay, it plays the audio throughout the entire presentation. We want the video to start on click (hit the spacebar or return or anything).
View 9 Replies
Jun 28, 2010
I run a small digital signage business and need to be able to use Client provided Flash files. Problem is Harris Infocaster's built in video player is version 5 (yes, it is 2010 already). I made a 15 second clip with three photos and some text, looks okay BUT I want to include video an endless error messages when attempting to Export to Flash. Any takers on a solution.
View 1 Replies
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
Dec 21, 2010
I work on flash CS3 I created a video in sony vegas, and imported it to flash, but the background is black, I want it to be transparent, what should I do? P.S: in sony, there is no background, except the original black backgound that we see when we open the projet?
can we make some changes in the flvplayback in order to fix this?
View 9 Replies
Sep 10, 2011
The video imported and plays fine with the provided skins. However I want to display the video online with the same Play control as many YouTube videos - a Play button shown in the center of the video screen area. Right now I have the video player controls that I selected during import and they are at the bottom. These skin controls work but I'd like to let the user just click on the screen to start the playback.
View 3 Replies
May 2, 2009
I'm a PHP guy and know very little about Flash... I've got a few videos that I've run through Adobe Media Encoder, uploaded to my server, and imported into Flash to add a preset playback control skin. They're working well enough, but I would like them to start in the paused state when the page loads rather than just playing right away.
View 1 Replies
Feb 9, 2010
I have imported the video in FLASH CS4 and want to make my own play/pause button.
View 1 Replies
Oct 2, 2009
I have a main video clip being played right when you enter a page. On that page are multiple thumbnails that load up another swf on a new level and play that video. Well if that happens - the main video continues playing. I want the main video to just pause once they click on a thumbnail. And once they close the loaded swf - to be able to play that main video again. Right now - I'm able to click on the thumb to pause the video which is great. But if I unpause the main video by clicking it, all the code seems to be ineffective anymore. [code]...
View 7 Replies
Jun 14, 2011
I'm working on a simple Video player that plays upon click. Than, once the movie is done playing, the oplay button re-appears and you can re-play the movie.I'm trying to add a Pause button when a user puts a mouse over a movie.. So, the pause button should appear once the Mouse is over the Movie and dis appear when the MOuse is moved..Below is the script so far:
import fl.video.*;import flash.display.MovieClip;
var myVideo:FLVPlayback = new FLVPlayback();var playbtn:playBtn = new playBtn();var staticpic:staticPic = new staticPic();
[code].....
View 4 Replies
Dec 14, 2011
i wrote this code for video play/pause through SPACE keyplay/pause is fine. But not visible play_button when i press SPACE key.how to write that ?
stage.addEventListener(KeyboardEvent.KEY_DOWN, pausePress);
function pausePress(e:KeyboardEvent):void{
if (e.keyCode == 32){
[code].....
View 4 Replies
Jan 17, 2011
How do I make a code to pause the video for a certain time and then continue on after? (or play a specified frame)
View 1 Replies
Oct 13, 2011
Im trying to make a video class so I can put in my src and video dimensions to load up a video .. I am wishing to implement this in the following way
[Code]...
View 2 Replies
Sep 26, 2008
I have a video looping via AS3; only thing is the video slightly pauses at the end before it loops. I have tried the following, but no matter which method, I get that pause:
(METHOD 1)
container.myVideo.autoRewind = true;
container.myVideo.addEventListener(VideoEvent.AUTO_REWOUND,
loopVideo);
function loopVideo(event:VideoEvent):void {
container.myVideo.play();
}
(METHOD 2)
container.myVideo.addEventListener(VideoEvent.COMPLETE, playAgain);
function playAgain(evt:VideoEvent):void {
container.myVideo.seek(0);
container.myVideo.play();
}
View 1 Replies
May 19, 2010
I am using AS3 and have embedded a video into flash using player. I want to play pause the video.
So, I am using ns.pause(); to pause the video and its working. ns denotes the instance name.
Simultaneously, i am using ns.play(); to play the video. But its not working.
View 10 Replies