IDE :: Start 2 Videos When Clicking Button?

Apr 15, 2011

I would like to to have 2 vidoes next to each other on a webpage which start simultaneously so that the viewer can compare the two.

what HTML code to use in order to achieve this.

View 1 Replies


Similar Posts:


Actionscript 3 :: Function To Start Download After Clicking A Button

Jun 4, 2010

I need an actionscript 3 function for my website, that lets people download a document after they have clicked on a button.

View 2 Replies

ActionScript 3.0 :: Text Disappear On Font Size Change And Reappear On Clicking Start Button?

Dec 4, 2009

I'll try to be brief. I've built a teleprompter projector file app in Flash CS4 and it works great on PCs & MACs. Only one bug. the program works in three phases: Welcome & instruction screen / Text input screen / Prompter screen.Problem occurs when you first enter prompt screen

basic navigation and functionality includes:

BUTTONS: button to return to INPUT screen, a BEGIN button, a MIRROR text button, and a SAVE prompting position KEYBOARD: SPACE begin prompting, LEFT & RIGHT ARROW increase & decrease font size, UP & DOWN ARROW increase & decrease scrolling speed, HOME returns script to top, PAGE UP & PAGE DOWN moves script by 600 pixels.

MOUSE: MOUSE_WHEEL increases and decreases scrolling speed *(would like to add a ctrlKey modifier to change font size on mouse wheel - another day perhaps)

THE PROBLEM: When you enter the prompt screen and hit PAGE DOWN the script correctly moves down 600 pixels, but does not redraw on the stage. If you then hit PAGE UP it correctly moves up and the text is back on the stage. Hit PAGE DOWN again and it moves but does not render. You can repeat this continuously. I have a Y position reference that shows the Y coordinates of the text field, so I'm confident that the MC is correctly moving, it's just not rendering. If you hit PAGE DOWN and hit BEGIN the text renders in the correct place. Once you start the prompter, you can stop it and use PAGE DOWN and it renders correctly, but if you change the font size larger > 100 and hit PAGE DOWN the font again does not render. Again if you hit BEGIN the font renders correctly in the correct position.

WHAT I THINK: I've been trying to find a way to update or refresh the text field that is being manipulated on PAGE DOWN and font increase; no luck with updateAfterEvent or redraw. I've tried to start and stop the prompter programmatically in one frame at the end of the PAGE DOWN function & font increase.

POSSIBILITIES OR NEW STRATEGY? I'm a media production specialist with a school district in Florida, and I'm hoping to release this app to all our schools and to sourceforge.net. It's a small bug, but I'd rather not have to explain it if I can find a way to fix it. The following code block only contains the functions related to the navigation and prompter text box manipulation.

//Begin button toggle code.Toggle between begin and stop.startBtn.addEventListener(MouseEvent.MOUSE_OVER, startOver);function startOver(e:MouseEvent)[code].....

A Visual Basic & ASP.NET programmer I work with looked at the bug with me, and he believes the error is somehow related to the actual CLICK of the BEGIN button. As I noted earlier, we tried a workaround by using code to start and stop the prompter in one frame after the font size change, but that did not correct the issue. Yet when you physically click begin with the mouse it renders the text.What is it about clicking the mouse that causes the text box to render? Is it a focus issue? Like the keyboard has focus, but when you click BEGIN it returns focus to the text box and it redraws then?

View 2 Replies

ActionScript 2.0 :: Start Two Videos At The Same Time?

Oct 19, 2009

currently iv got 2 of the same movie clip. both containing an flvplayback component.One of them has a heavy blur effect, one of them doesnt.The blurred one is the 'reflection' of the other one, but the problem is they don't load at exactly the same time alot of the time. Is there any simple code that will make one wait for the other to load?

View 2 Replies

Flash :: Which Apps Are Available To Create Start Up Explain Videos

Jan 25, 2012

I was wondering if there is any easy tool to use in order to create a start up video? I know there is the Adobe After Effect option, which is extremely expansive.

any tool that allows you to create an animation, easily? for a startup site, a video that explains what the startup do?

View 1 Replies

ActionScript 3.0 :: Multiple Videos On Player - Stop One And Start Other

Dec 19, 2009

I got roped into assembling a cd of videos to send out to jazz students for my video class and I'm a bit over my head code-wise, so I'm turning to the pros. The project has about 5 different videos that are all suppose to play (locally from the disk) when the corresponding button is clicked, and they need to be scaled and positioned on the video section of the background img. I can make the buttons work, scale and position is no issue, but can't get one video to stop and the other to start.

I thought I would simply just removeChild the current video and start up the next one. When I took the project I thought it would be simple, but I had never really worked much with video so when I dug into it I found myself a bit overwhelmed. How to work with local media (I found tons of stuff on streaming it from the web) all I need is to make one video stop and another play when a button is clicked.

View 1 Replies

ActionScript 2.0 :: Start Button Needs To Start Timer And Move To Another Frame?

Apr 24, 2011

I'm trying to broaden my horizons with it and so I'm trying to do an update of a quiz program my employer has. Everything has worked well, except for the timer. The button that starts the game has two options, "study" or "exam"; if the study is selected, there is no countdown, just the score keeper. If the exam option is selected, the timer is show (counting up). But, press "Start" and while the quiz begins, the timer, in either case, does not.

I'm going to post the actionscript for the timer that was already there, as well as the start button. I'm hoping someone can explain how this timer is supposed to work and why it's not; and where the disconnect lies in pressing the start button and making it run.The timer is embedded in a movie clip, with two dynamic text boxes, that are for some have no instance name; and actionscript spread out over several frames.Frame 1:

Minutes = "00";
Seconds = "00";
Centiseconds = "00";

[code]....

View 8 Replies

ActionScript 1/2 :: Using Start Button To Start And Stop The Scene Or Movie?

Nov 19, 2011

Here is the action scrip that I created. Correct it if you can.

Process.visible = false;
Cycles.visible = false;
stop();

[Code]....

View 3 Replies

Media Server :: Videos Start Immediately In Domain, 20+ Sec Delay Outside Domain

Apr 23, 2009

We are running FMS3 on Windows 2003 Server. Videos stream and play fine when inside our domain, but outside the domain the videos take anywhere from 20 or more seconds before playing.
 
After analizing the connections it was determined that the player is randomly trying to access ports until it gets to the one that works, but this is ONLY happening from people trying to view videos from outside our domain.

View 14 Replies

Actionscript 3 :: Write Script For Clicking Button Using Following Code For Creating Button Dynamically?

Nov 11, 2011

i have to generate a button dynamically... and have to keep a click handler for the same how to write script for clicking buttonim using following code for creating button dynamically

var btn:Button = new Button;
btn.label = "Print";

View 2 Replies

ActionScript 2.0 :: Clicking A Button - Select A Button On The Screen And Then A Movieclip Plays?

Nov 24, 2006

I have many buttons (symbols). This is what I want it to do: -Select a button on the screen, and then a movieclip plays. - If the user selects any OTHER button on screen, a message box displays a message.

View 2 Replies

ActionScript 2.0 :: Stop Sound Loop From One Button By Clicking New Button?

May 22, 2011

I want to stop the sound loop from one button by clicking new button. Does anyone know the code that would stop one button's sound from looping by just clicking another button (for another sound)?So you have these buttons:button 1 button 2 button 3 button 4and after clicking "button 1" a sound loops. when i click "button 2" i want the sound from "button 1' to stop.

View 2 Replies

ActionScript 2.0 :: Onpress Button - Clicking On The Button Movieclip Moved To X = 100

Jan 17, 2010

how to do so by clicking on the button movieclip moved to x = 100; and when pressed repeatedly to x =- 150 event onRelease - not work:

[Code]...

View 9 Replies

Actionscript 3 :: Hide A Button After Clicking Another Button In Flash?

May 18, 2011

I am using actionscript 3 to make a point and click game. On frame 1 there are two buttons, button 1 and 2. On frame 3 there are two buttons, button A and B. I want it so that after I click button 1 on frame 1, button A on frame 3 will be hidden or when I click button 2 on frame 1, button B on frame 3 will be hidden. The buttons that are hidden do not do anything when you click them.

View 2 Replies

Clicking On A Button Moves Everything

Oct 18, 2009

ive made a button and ive got it to randomly move to a different position on the screen.the probelm is when i click, everything else on the stage moves. They are all on different layers.How do i get different buttons to only move when i click on them, otherwise they stay where they are

View 1 Replies

ActionScript 2.0 :: Button Animate After Clicking?

Sep 15, 2009

Hi! I just figured out how to animate a button on mouse over. My question now is, how could I make a button animate after clicking it and before it goes to the link?

View 5 Replies

Pause FLV When Clicking An External Button?

Oct 16, 2009

I am autoplaying a FLV in a SWF in scene 1. I have created buttons on this same scene that will do different things, and present different information. I really want that button to pause that autoplaying video when it starts those actions. How can I accomplish this?

View 6 Replies

Unload Gallery SWF By Clicking Button

Jan 21, 2010

I created a flash site and on the gallery page I load a gallery .swf and I want to be able to click on the "about" and "contact" buttons and have it go to there page and unload the gallery swf. This is the code I have on the gallery frame

import flash.net.URLRequest;
import flash.display.Loader;
import flash.events.Event;
import flash.events.ProgressEvent;
function startLoad(){
var mLoader:Loader = new Loader();
[Code] .....

View 1 Replies

ActionScript 3.0 :: Looping A Mp3 When Clicking A Button?

Dec 15, 2010

Im creating an xml based mp3 player in AS3. I have everthing working except the repeat song part. I need a code to loop the song endlessly on the click of a button, while the song is playing. Say the user is listening to a song and wants to hear it again. They can click on the loop button and replay the song until they click on the loop button again, to take the loop off. Once the loop button is clicked again, the current song ends and plays the next song in the playlist. As the playlist continues to play, I hear another song that I want to replay, so I click on the loop button. Also I need to be able to pause the song and then play it, while the loop is in affect.

View 1 Replies

ActionScript 1/2 :: Going To The Next Scene By Clicking On A Button

Mar 11, 2010

I'm using Adobe Flash CS4 and ActionScript 2, And I need to go to the next scene buy clicking on a button. Instead it stays in the same scene. And this is the code I use:

on(release) {
gotoAndPlay("Scene 2",1)
}

View 4 Replies

ActionScript 2.0 :: How To Set Button State On Clicking

Oct 26, 2006

I'm making a website with mc used as button for the menu. I want that when I click on
a button it remain on "over" state, then when I click another button it come back to "up" state and the new one to "over", I can do this, but then I can't assign single action to every button (like onRollOver, gotoAndPlay ecc..).

Here is my code:
The button instance is pbtn0, pbtn1 and so on to 4.
fncBtnBuild = function () {
For each of 5...
for (var icrBtn = 0; icrBtn<5; icrBtn++) {
Create a reference to a movieclip-button's instance name (pbtn0 through pbtn4).
var rfcClip = this["pbtn"+icrBtn];
[Code] .....

View 4 Replies

ActionScript 3.0 :: Clicking The Button Continuously?

Jun 1, 2011

if i click the button continuously, there will be also continuous trace of "click" base on how many times i clicked the button..now the question is, how could i make it only one trace of "click" event if i clicked the button many times?

Code:
button.addEventListener(MouseEvent.CLICK, onClick)
function onClick(e:MouseEvent):void

[code].....

View 2 Replies

ActionScript 2.0 :: Clicking On A Button To Get To Next Scenes

Oct 1, 2002

i have a few scenes that run all together by clicking on a button to get to the next scenes. instead of the next scenes coming and going super fast, i want to have some neat type of animation that string them all together when you want to get to the next scene.

View 6 Replies

Actionscript 3 :: Change The Color Of One Shape By Clicking On Clicking Another Object Of Sprite?

Aug 30, 2011

I have drawn intersecting lines. The user can click on a region inside the angle formed by the two lines.When the user clicks inside the area, the small region formed by the arc between the two lines showing the angle should change. How can I do that.the region between the intersecting lines is sprite object to dispatch event listener, but the arc is shape object.

View 1 Replies

ActionScript 2.0 :: Make A Button Disappear After Clicking?

Sep 8, 2003

I'm new to wonderful world of flash and I'm having a little trouble with a button I've created. Basically, I have a button which covers an image. I'd like to make it so that after the button is clicked, it disappears - thus exposing the image behind it.

View 8 Replies

ActionScript 2.0 :: Clicking On Button Number Of Times?

Mar 1, 2009

I created a button.....it will be clicked 2 times. When clicking on button 1st time, the ball 01 will appear. When clicking on button 2nd time, the ball 02 will appear.

Code:
var i:Number = 2;
_root.next.onPress = function()
{

[Code].....

View 1 Replies

ActionScript 3.0 :: ArgumentError 2109 While Clicking The Button?

Mar 4, 2009

using this:

[Code]...

I get this error when I click the button: ArgumentError: Error #2109: Frame label NaN not found in scene Scene 1. at flash.display::MovieClip/gotoAndPlay()

at Untitled_fla::MainTimeline/onClickNextSlide()

View 3 Replies

Stop Interval Function By Clicking Button?

Mar 26, 2009

I have a simple movice clip, 72 frames. On Frame 42 I have this actionscript

//----------------------------------
function wait2() {
stop();

[Code]....

and a few other "possible" solutions I found on the web....but nothing works. If I click the damn button...

View 2 Replies

CS3 Making A Movie Play When Clicking A Button?

Jun 10, 2009

im making an intereactive map and i have certain areas in the map where you can click and a video pops up so you can view real footage of the area. I just need help making the video pop up like how to import it and whatnot.

View 1 Replies

Make An Object Pop Up Then Disappear When Clicking A Button In It?

Feb 15, 2012

So, here is what I'm trying to do. I have a page full of characters for a project I'm working on now, and I want to add some interactivity to the page by making each of the characters clickable and having a description of the character pop up that you can then close. I have included 3 images of what I'd ideally like tohappen.Picture 1: The page in just a normal state, nothing happening.Picture 2: On rollover, I would like the character to pop out and enlarge.I know how to make it enlarge on rollover, but I don't understand how you would make it come to the front above other layers. with understanding how to do.

Picture 3: I want a description like this to pop up when you click on the character. I have a layer at 50% opacity to fade the background out as well. I need to know how to:1. Make this image show up when you click on the respective character.2. Make this image disappear when you click on the red X button at the top right

View 10 Replies







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