ActionScript 1/2 :: Make Sanpshot From Playing Video Through Button Click?

Oct 11, 2011

How to make sanpshot from playing video through button click? (to local machine)
 
 

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 :: Multiple Button Functions - When Click The Button, The Mc Does Not Stop Playing And The Text Does Not Show Up?

Nov 8, 2009

I'm designing an interface for a class, and the buttons that I am using all have multiple functions.For example, when the story button is clicked, I need the mc to stop playing and change to text (in the same window/screen, just no mc playing).  The mc is 31 frames long, but if there's a way to just make it loop continuously until told not to, Currently, my code looks like this:

stop();
story_btn.addEventListener(MouseEvent.CLICK,story);
function story(event:MouseEvent):void { gotoAndStop(32);}credits_btn.addEventListener(MouseEvent.CLICK,credits);[code]...

When I click the button, the mc does not stop playing and the text does not show up. 

View 6 Replies

Professional :: Stopping Sound Playing On Button Click?

May 3, 2010

I found this code to play sound:

myButton_btn.addEventListener(MouseEvent.CLICK, buttonIsClicked); [code]....

I got it working fine, but was wondering how to program a function for another button to stop stop playing that sound?I tried a function with snd.stop(); but that seems to be incorrect.

View 6 Replies

ActionScript 3.0 :: Automatically Loading One Swf Once The Other Is Done Playing Without A Button Click?

Nov 7, 2009

I really just need help automatically loading one swf once the other is done playing without a button click.a.swf has several buttons. When a button is clicked an animation plays within a.swf. If button b is pressed, once it's animation plays in a.swf, I need it to automatically jump to b.swf.I have no idea where to go.

View 0 Replies

ActionScript 3.0 :: When Click The Next Button The Current Track Keeps Playing While The Next One Starts

Apr 9, 2009

I'm making a mp3 player using flash. when i test the movie it starts playing fine but when i click the next button the current track keeps playing while the next one starts. plus the stop button it's not working. here is the code.

[Code]...

View 1 Replies

ActionScript 3.0 :: Get A Button To Toggle Playing Or Stopping A Mp3 If Click It Or Hit The Space Bar?

Feb 26, 2010

I'm trying to get a button to toggle playing or stopping an mp3 if I click it or hit the space bar. The code I have does that but it does something funny I don't understand. This is the code:

var s:Sound = new Sound(new URLRequest("song.mp3"));
var sc:SoundChannel;
var playtggl:int = 1;

[code]....

As you can see I've added two event listeners on the button, one for the mouse and for the spacebar. Thing is everytime I hit the spacebar, my function for the mouse click fires up. I don't understand how this is happening.Also, how do you have the event listener listen for a spacebar event without having to first focus on the button by clicking it with the mouse?

View 2 Replies

ActionScript 1/2 :: Click Invisible Button On Moving Target For Playing Movie

Dec 30, 2009

I have an image of a target on stage, that moves left and right. In the center of the image is an invisible button, occupying the centre circle of the target. The idea is you click the invisible button on the moving target and this starts another movie playing. Seems to me the action script should reside in the button, and be something like this:

on(release){
targetPath(this.movie2);
play();
}

View 2 Replies

Professional :: Make A Button Click Make Text Appear Elsewhere On The Screen?

Apr 1, 2011

I have a map of the US and each state has a rollover that changes the color of the state...what i am trying to figure out is how to click on the state and have text appear to the side of the US map and have that text stay up until the user clicks on another state.

View 16 Replies

ActionScript 3.0 :: Add A Button When Video Stops Playing?

Sep 23, 2009

I created an FLV of my movie and am using the Slideshowpro for flash component to play the FLV in my SWF. (Not the built in FLVPlayback component) The video is about 2 minutes long.At the end of the video playing I would like a button to pop up that people can press to send an email to request more information. I have no idea what the best way to go about doing this would be and I do not know AS well at all.Currently my only thought is to make my player.swf (the one that plays my video) as long as my video (appr. 2 minutes) and then fade in a button towards that people can use. This would probably work but it is probably not the most efficient way of accomplishing this.Does anyone have any suggestions? I have been searching for things like adding annotations to flash movies just as YouTube does but have not found anything so far.

View 4 Replies

ActionScript 3.0 :: Play Again Button After Video Is Done Playing

Jul 20, 2010

I am importing video into flash via FLVPlayback Component..
 
What I would like to do is have a button after the video is done playing that offers to re-play the video and may be another button with some other action.. I"m sure it's some kind of "if" statement... (to see when the video is done playing)

View 15 Replies

ActionScript 3.0 :: Play Again Button After Video Is Done Playing?

Jul 20, 2010

I am importing video into flash via FLVPlayback Component.. What I would like to do is have a button after the video is done playing that offers to re-play the video and may be another button with some other action..

View 1 Replies

Flex :: Make A Button Change It's Shape With Every Click (music Button)?

Sep 20, 2010

I want to design a music button for a game like geochallenge

View 1 Replies

ActionScript 3.0 :: Playing A External Video With A Text Button

Mar 29, 2010

I am trying to start an external video with playback component (instance name- movie_flv) upon clicking on a text button I created (instance name- play_btn). Here is my code that I have so far

play_btn.addEventListener (MouseEvent.CLICK,playClick);
function playClick(event:MouseEvent)
{
trace ("button was clicked");
}

The trace function works but when I try to insert "movie_flv.play();" underneath the trace function, I get this error message: 1120: Access of undefined property movie_flv.

View 1 Replies

Actionscript :: Make A Flash Video Start Playing On MouseOver, And Stop On MouseOut

Jul 6, 2010

I'm wondering how I can make a Flash start playing a video on MouseOver, and stop playing on MouseOut.

View 1 Replies

Actionscript 3 :: Make A Button And When Click The Button It'll Change Direction?

Dec 18, 2011

by the way you need to make a symbol and need to export for ActionScript and class name is "ball". And the button instant name is:bButton. So here's the script I wrote so far.

var boundaryRight:Number = stage.stageWidth;
var boundaryLeft:Number = 0;
var balls:Array;[code]....

As you can see that code made the multiple ball go to left and looping over and over again. So here's what I want to do. I want to make a button and when I click the button it'll change direction like click and it change direction to right. I click it again and it'll go left again. How do I write the code for that?

View 1 Replies

Professional :: How To Make Imported Video Play On Click

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

Stop Video From Playing Until User Clicks The Play Button?

Mar 27, 2009

I am using flash 8 professional.

I have a custom video player that loads videos from an external xml file. It uses all actionscript to control the video using the attatchVideo(ns).

At present the video starts playing as soon as the video opens, I would like the video to only start playing after the user clicks the play button.

What is the actionscript I need to achieve this?

* all the actionscript for all buttons etc. is on one layer called actions. Videos are external not on layers.

View 3 Replies

ActionScript 3.0 :: Getting A Video To Stop Playing When User Clicks On Another Button To Navigate

Jan 17, 2010

I am trying to create a little website in flash.. I have some video that plays automatically once the user goes to that section (I am using frame labels to navigate from section to section of the site). But, when the user clicks another button to go to a different page, the video is still playing because I hear it..How can I stop the video from playing once another button gets clicked?

View 20 Replies

Flash - AS Button Click For FLV Video Playback

Jul 7, 2011

I'm new at actionscript and not sure how to do this. I have a button named btnPlay and an flv video named valerie.flv. I would like it when the button is pressed, the flv video plays in the same flash file through the standard flv player.

View 1 Replies

ActionScript 2.0 :: Make A Mute Button For The Video That Can Instantly Make The Volume 0?

Nov 22, 2009

Im have an flv playing on my stage. I want to make a mute button for the video that can instantly make the volume 0 or 100 depending on what it is.So i have tried using this code:

ActionScript Code:
m.onPress = function() {

[code]........However, it doesn't seem to work.

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

ActionScript 3.0 :: Starting Video To Play From Beginning On Button Click

May 26, 2011

I have three buttons, which starts three separate videos...click on button starts video, that's ok, but then video is not over, if to click again,it's not starts video from beginning. I'm talking about one video. I must push on other button and then on that again to start it from beginning.

ActionScript Code:
import flash.events.MouseEvent;
import fl.video.FLVPlayback;
vidPlayer.stop();
Object(this).1btn.addEventListener(MouseEvent.CLICK, button1);
function button1 (e:MouseEvent):void{
[Code] .....

View 0 Replies

ActionScript 2.0 :: Click A Button - Make It Come To The Top

Sep 11, 2003

Say I have 10 buttons all on the same layer (which in fact are drop boxes) - How can I make each one appear at the top when it's clicked?

View 2 Replies

ActionScript 3.0 :: How To Make This Into A Button Click

Feb 25, 2012

Right now this code starts when it grabs GPS info but i need to to only grab when someone clicks a BUTTON.. But i cannot get it into a button.

Code:
import flash.sensors.Geolocation;
import flash.events.GeolocationEvent;
import com.google.maps.LatLng;

[code]...

View 5 Replies

Php :: Mute A Flash Video Player When User Click On A Social Button?

Sep 19, 2011

How can I mute the video on the a page to do the following: Once user clicks on any of the social buttons, the flash video should mute automatically.

View 1 Replies

Button Script To Make Each Click Do A Function?

Feb 12, 2010

I am still new to swish and flash and the script confuses me at times. I am doing it more for a hobby and to create interactive programs for my daughter to help her learn. I have made a parking ticket machine to help her tell the time and to count money. The problem I am having at the moment is that I am trying to make one button add 30seconds to a text box total every time it is clicked (for example click1 = 00:30, then click2 = 01:00, then click3 = 01:30 and so on). The problem I am having is that I have made an else/if statement to do just this but every time I click the button it just jumps to the last else/if and shows that total. I am trying to think logically but I may be making things more complicated or maybe the scripting is wrong and I need to try something else. Here is the script I have made for you to see and hopefully someone can tell me what I have done wrong.

[Code]...

View 1 Replies

ActionScript 1/2 :: How To Make Button Function With Every Click

Sep 18, 2009

I have a button to increase the scale of few items. It's suppose to increase the size with every single click. When I click the button continuously having the mouse unmoved and over, it wont increase the size. But if I rool out of the button between every click, then I works. I need to make button function with every click.
 
CURRENT CODE:
on (press) {
if(this._root.gmb_mc.rotate_mc3a._width <= 50){
this._root.gmb_mc.rotate_mc3a._xscale += 7;
this._root.gmb_mc.rotate_mc3a._yscale += 7;
}}

View 1 Replies

ActionScript 3.0 :: Make A Button That When You Click, Goes To Another Frame?

Dec 27, 2011

i put a code in to Flash AS3 to go to another frame when the play button is clicked, and it has worked successfully. But when it goes on to the other frame and i click, the play button comes up and keeps making the game i've made restart. Does anyone know how i can stop the function after it's gone onto the next frame?

[Code]...

View 4 Replies

ActionScript 2.0 :: Make MC Move To Another MC After Click A Button?

Mar 13, 2012

I need it to were MC1 moves to MC2 after i press a button.

View 7 Replies







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