CS3 : Keep Button From Activating Until After Mc Plays?

Jul 17, 2009

I have a simple movie clip of fading in text displaying on page with a sound. also have a button that allows user to go to the next frame. It is an exercise for students that basically goes like this: object presented in each frame, spelling (text) for that object fades in on mc with sound attached to mc, then button activates to let them move on to next. Since they are trigger happy, I don't want the button that allows to move on to activate on the frame until AFTER the movieclip and it's sound have played out (which is like 2 seconds so not a long wait) - otherwise, they would just keep clicking next and not listen to the material presented (it's very young children).

How do I set this up? I knew it's likely very simple, but I'm a newbie. Of course, I could always just do it on the timeline, but I have a ton of material, so am trying to use actionscript to be more efficient. for even younger kids, am considering setting this up so they can move to next frame through any keypress. I know how to set up a certain key, but not ANY key.

View 2 Replies


Similar Posts:


ActionScript 2.0 :: Activating And De-activating Loaded Movies?

Jan 7, 2009

Am working on a flash AS 2.0 project where am loading movies from the same folder. my code goes like

on (release) {
loadMovie("HAD.swf",2);
}

problem is the swf loads infront of the main movie but the main movie's links are still active.

View 4 Replies

ActionScript 1/2 :: Activating/de-activating Buttons?

Mar 9, 2009

I want to create some AS to disable and enable a button.Let's call this ButtonX. I want this button to appear disabled at first, and then allow the user the option of enabling this button(ButtonX) by clicking another button. Let's call this ButtonY. I cannot get this to work. I am attaching the code I am trying. I have this AS added to ButtonY and ButtonX is the instance name for the button I want to de-activate-activate.

View 7 Replies

ActionScript 3.0 :: Activating Buttons With A Controller Button?

Feb 24, 2009

I have a row of movie clips which act as buttons with an inactive state, active state, selected state etc. What I am seeking is kind of like a controller button which when clicked will activate or de-activate this row when clicked. I thought the best way might be to set frame labels and add a goto sript for the controller button to make each button go to the activate frame when the controller button is clicked.

View 4 Replies

ActionScript 1/2 :: Get Movable Button To Stop Activating?

May 18, 2009

I'm trying to get my movable button to stop activating. It's looping (up/over/down/hit).
 
loupe_mc.onPress=function() {
this.startDrag();
};
loupe_mc.onRelease=function() {
this.stopDrag();
};

View 3 Replies

ActionScript 2.0 :: Button Activating Movie Clips?

Mar 11, 2004

Ok so, I have a button called btnEnter and its instance name is enter. Then, I have a movie clip called mcRotatingDot and its instance name is center. These two work so that when the mouse is over the button, the dot blinks. When the mouse is no longer over the button there is a fade in from alpha 0 to 60 of the dot. It all works fine, here is the code that I am using on the movie clip:

onClipEvent (load) {
//this sets the initial properties of our clip
this._xscale = 75;
this._yscale = 75;[code]...........

1)How can I make the movie clip blink with pure action script? And not having to do a stupid tween on the movie clip's timeline.

2)Can a button activate more than one movie clip? Because I am also trying to make the same button (aka. btnEnter, instance name enter) to change the rotation speed of another movie clip to spin faster. Here is the code for the other movie clip called mcRotatingCircle instance name outter:

onClipEvent (load) {
//this sets the initial properties of our clip
this._xscale = 1000;[code]............

Yet the movie clip will not spin faster on roll over. The only thing that I thought could go wrong is that there is another instance of the same movie clip mcRotatingCircle, named middle on the stage. I tried absolute addressing the outter instance, but it just won't work.

View 2 Replies

ActionScript 2.0 :: Button Activating Movie Clips?

Mar 11, 2004

Ok so, I have a button called btnEnter and its instance name is enter. Then, I have a movie clip called mcRotatingDot and its instance name is center. These two work so that when the mouse is over the button, the dot blinks. When the mouse is no longer over the button there is a fade in from alpha 0 to 60 of the dot. It all works fine, here is the code that I am using on the movie clip:

onClipEvent (load) {
//this sets the initial properties of our clip
this._xscale = 75;

[code]....

View 2 Replies

Advanced Button Usage - Activating Two Separate Areas

Apr 14, 2011

Basically I am trying to link two buttons so that two separate areas activate as one button including with rollovers etc. I am creating a flash application that features a series of tabs along the top of the page that when rolled over, will light up. When clicked on, these tabs will take the user to a different page. My problem is that I have an image on the left hand side of the application that features areas of the image that will take the user to the same place. I wish to link the button rollovers so that when the user rolls over the tab, the image will light up and vice versa. I have been unable to find a solution to this myself - the closest I came was making the area one button, but due to the distance the image and tabs are apart, the whole screen becomes one big button!

View 1 Replies

ActionScript 3.0 :: Activating A Class File With A Button Click?

Mar 19, 2009

I have a class file which prints a flash object. I don't want the print job to activate until a button is clicked. The print activation is a package and referenced by the document class. How would I code this to activate only when a button is pressed/ Currently it activates when the movie is played.

View 14 Replies

ActionScript 2.0 :: Activating SWF Frame From Flash Button In Dreamweaver

Apr 20, 2004

I have a set of flash buttons in a left hand frame in dreamweaver in the right hand frame I have a swf file, is it possible for the buttons to control the swf! For example I want button 1 to make the swf jump to frame 1, button 2 make the swf jump to frame 2 ect....

View 1 Replies

ActionScript 2.0 :: Activating A Swf Frame From A Flash Button In Dreamweaver

Apr 20, 2004

here is my problem I have a set of flash buttons in a left hand frame in dreamweaver in the right hand frame I have a swf file, is it possible for the buttons to control the swf!!!!! for example I want button 1 to make the swf jump to frame 1, button 2 make the swf jumb to frame 2 ect ect ect

View 1 Replies

ActionScript 2.0 :: Activating Button In Send Info To PHP Order Form

Sep 13, 2009

I'm trying to finish off a Flash menu that was done for my website & I'm a bit stuck - New to this game. Basically I have a menu made up of 5 items, each item leads to another list which has a "datefield", "nemericstepper" & "order" button. what I am trying to achieve is when the "order" button is pressed the "date" & "number" information is sent to my existing order page, customers details are then entered in the required fields & this is sent including the "date" & "number" via my existing PHP script to my email.

View 0 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 :: When Click A Button It Plays The Movies Assigned To The Variables Gallery & Button To The Frames Mentioned

May 2, 2006

[Code].....

Ok- so the idea is that when you click a button it plays the movies assigned to the variables gallery & button to the frames mentioned. Then the variables are changed and then when another buttons is clicked it does the same - 'except it doesn't - it does it once then sits there I have to use variables because there's a lot more buttons..but i don't understand why it doesn't work - it seems such a simple and obvious thing to try and do - why is it so HARD???

View 14 Replies

Actionscript 3 :: Flex Alert Control: Activating The "default" Button On Enter/space Key-press?

Dec 17, 2009

No matter what I try, I can't seem to fire the click event on the "default" button in an Alert control in a Flex 3.4 application.

[Code]...

View 1 Replies

Button Plays Sound Twice

Nov 28, 2009

In my flash game, every time you click a button, it plays a short sound. Almost all of the buttons work - Except for a few random handful. Those couple play the sound twice. I don't know why either - I double checked everything.None of the frames have sound. The buttons that play twice are only set to play once. I didn't do anything different between the ones that worked and the ones that don't work.

View 2 Replies

ActionScript 3.0 :: Flash File Plays One And Stops In End And Only Plays Again

Dec 11, 2011

I want my flash file plays one and stops in the end and only plays again if  play again button is pressed.How do i do it?

View 1 Replies

ActionScript 3.0 :: Button That Plays From One Frame To Another And Stops

Jul 28, 2009

I'm working on a flash content slider thing (i.e. it shows a message and then transitions to the next, and there are buttons at the bottom to navigate to each message). Now I want it to actually stop playing when you navigate to a specific message, instead of continuing to play from there. The problem is there's a fade transition, so I essentially need it to go to the first frame in the transition and play (what it does now), but then STOP once the transition is complete. I don't know how to do this without adding a global stop() to that specific frame, and I don't want to do that because I want it to, by default, rotate from one message to the other.

View 3 Replies

ActionScript 3.0 :: Button That Plays One Movie Then Jumps To Another?

Jul 27, 2010

I'm trying to create a button that plays one movie clip to exit, then jumps to another frame to play a movie clip to enter another.[code]...

View 4 Replies

ActionScript 3.0 :: Sound Plays When I Click Button

Aug 4, 2010

I have a movie clip with a sound at the beginning of my project, and when I click a button in another scene it starts playing the voiceover from that clip. I don't have the button linked to that clip.

View 2 Replies

ActionScript 3.0 :: Button That Plays Reverse Tween?

Dec 15, 2010

I'm trying to make a button that plays a tween, and after that tween finishes playing it stops. If you press the button again it plays the tween backwards to the very first frame where you originally came from.[code]...

View 7 Replies

ActionScript 2.0 :: Add Another Button That Pauses/plays The IntroPage.swf?

Jul 13, 2009

This code loads an external intro movie, and allows me to remove it when I hit the back button.I was wondering how I can add another button that pauses/plays the introPage.swf at whim from the container .swf file?

[code]...

View 1 Replies

ActionScript 3.0 :: Button Plays MC Forward Then Reverse?

Feb 16, 2010

I have 4 buttons on the stage. Each button controls associated MCs. When the button is clicked, the MCs fade to invisible (alpha). Now I want them to fade back in when the buttons are clicked again. Is there a way to get them to play in reverse or would you suggest that I do all of the fading tweens dynamically instead of in the MCs timeline? By the way, there is a stop command at the end of each MC.

Code:
this.cloud_mc.cloud1_mc.stop();
this.cloud_mc.cloud2_mc.stop();
this.cloud_mc.cloud3_mc.stop();

[code]....

View 1 Replies

ActionScript 2.0 :: Movie Only Plays When Hold Down Button?

Aug 24, 2004

Button a, when pressed triggers a few things. I triggers a mask to tween in to uncover some text. But the movie will only play as long as i have the button pressed .

View 4 Replies

Create A Button That Plays A Movie Clip And Stops?

May 20, 2010

I'm trying to create a button that plays a movie clip and stops when it's moused over. I've attached a file (help.fla) that illustrates my problem.

View 8 Replies

ActionScript 1/2 :: Click On A Certain Button, It Plays A New Music Clip?

May 3, 2006

I want to make it so that when I click on a certain button, it plays a new music clip. I am trying to do it by selecting the button I want, then going into behaviors, then +, then Sound, Play Sound... It then asks for the instance of the audio file that I want to play... but I don't know what it is.

View 6 Replies

ActionScript 2.0 :: Button That Loads And Then Plays A Specific Cuepoint?

Jul 30, 2009

This should be simple but...I have several buttons "Questions" on the main timeline. The answers to these Questions are at specific cuepoints in the flv. This .flv has nav.cuepoints inserted during encoding.Click the button needs to load the flv,then automatically go to the specific cuepoint. Then it needs to run, eventually, to the end of the flv.I dont want the user to have to load the video first then use the cuepoints.I also dont want the video to load at the start, only after one of the questions(buttons) have been clicked.

Will the flv buffer from the cuepoint or does it have to buffer from the start of the video regardless of the cuepoints?

code Im playing with:

import mx.video.FLVPlayback;
//play at start
var my_flvPb:FLVPlayback;my_flvPb.autoPlay = true;[code].....

View 2 Replies

ActionScript 3.0 :: Sound Only Plays When Clicking On Pause Button

Sep 2, 2009

All my sounds work however, the play button only seems to play my sound when I click on the pause or stop button first! Plus, my stop button acts like a pause button, it doesn't start the song from the beginning once it stops. [code]...

View 3 Replies

ActionScript 3.0 :: One Button - Plays Several Movie Clips In Order?

Nov 17, 2009

I'm using AS3 in CS4. I have a problem which i can't get past: I have a button which when clicked I wish it to play two movie clips (blind_mc, text_mc) when clicked.. however I do not wish them to play at the same time (as the script below achieves).. but to play one after the other.

I cannot put them on the same layer or join the two togther for many reasons including -- I have many different buttons i wish to apply this too all with different number of movie clips and orders of play, therefore I would have to create excessively long layers for each and every click.

function goHome(e:MouseEvent):void {
blind_mc.play();
text_mc.gotoAndPlay(2);
}

View 3 Replies

ActionScript 3.0 :: Got A Toggle Button That Plays Sound When Clicked?

Jan 3, 2010

So I got a toggle button that plays sound when clicked, now I need it to stop playing sound when clicked again.

[Code]...

View 1 Replies







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