ActionScript 2.0 :: Getting Text To Appear When 4 MovieClips Are Each Stopped On A Specific Frame

Dec 8, 2009

Basically I'm making a demonstration of a puzzle for class.

Each MovieClip is a bit of the puzzle, and users can move forward a frame or back a frame using the keyboard using the on(keyPress) function.

When the puzzle is complete, I want text to appear (or another MovieClip, ideally) letting the user know they've completed it.

So I'd want the text to appear when the following conditions are fulfilled:

round_mc is at frame 53
square_mc is at frame 2
triangle_mc is at frame 19
rectangle_mc is at frame 80

View 2 Replies


Similar Posts:


Actionscript3 :: Jump To A Specific Frame Avoiding Others Movieclips?

Feb 4, 2012

I have a problem regarding flash, actionscript3 and movieclips.

I have 2 videos(inserted as movieclips, each one in different frames 100 and 102). I want to gotoAndPlay the one on frame 102, but the other in frame 100 always starts at the same time. How do I play just the specific movieclip of frame 102?

P.S. If I order to reproduce the movieclip on 100, it starts as it should.

View 1 Replies

CS3 Typing-Button Interaction - Only Plays Next Frame And Then Goes Back To The Frame Where It Stopped

Mar 20, 2010

I hit enter,it only plays next frame and then goes back to the frame where it stopped. What I've tried was something like:

stop();
Key.addListener(Key.ENTER)
if (Key.isDown.ENTER){
play();
};

I want it to play all the way to the end,not just go back.

View 1 Replies

ActionScript 2.0 :: Button Play A Frame And When It's Stopped Jump To Another Frame

Sep 6, 2011

I built a button in one of the movie clips in my project,

when I release this button, it goes to the 41st frame of the main timeline and continue to play until the frame 70 which has got a stop; command. till here everything's just OK. But I want this button to do something more though I don't know whether it's possible or not.

I want this button to go and play the frame number 41 in the main timeline, and then after it stopped at the frame 70 , then jump to frame 73.

View 5 Replies

ActionScript 2.0 :: Loading A Text In A Specific Frame?

May 2, 2005

dont know how to load a dinamic text in a text_MC, but make it apear only in the midframe of the background mc...i have a dropdown menu who loads the BG's to the container_MC in the main timeline (its a movieclip too) who has the following code in the button:

on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "bg2";
_root.contentor.loadMovie("bg2.swf");

[code]...

i know this second part is wrong, but its the best i could do :S how do i make it unload the preview text, and load a new one when the bg finishes the intro animation (gets to the midframe)?[URL]

View 1 Replies

ActionScript 3.0 :: Access A Text From Specific Frame Of MovieClip?

Jun 20, 2011

I have a text (textbox1) in the 3rd frame of a MovieClip (movieclip1).

How can I access that textbox1 from the main timeline, when the MovieClip is not at its 3rd frame?

For example to change it to "Hello!"?

View 2 Replies

Flash :: Professional - Make Text (or A Button) Link To A Specific Frame

Aug 9, 2010

1. The old main logo was not as wide as the new one, so now the entire new one is not clickable (to take you back to the main page). How do I fix this?

2. For the life of me I can't figure out how to make text (or a button if need be) link to a specific flash frame. If you look on the site, there are a couple of spots under "What We Do" that I need clickable to take them to the Contact Us page.

View 5 Replies

Looping Animation On Stopped Frame

Jan 10, 2010

I'm new to flash, knowing only a couple of commands such as stop(); and gotoAndPlay.

I'm creating a UI menu for the beginning of a flash project. On a few layers, I have objects and buttons while the "stop();" command is applied to the frame to keep them on the screen as a Title screen or menu-like idea.

My problem is that I would like a animation, or a movie clip, or something that is looping in the background for a more detailed menu screen.. However, I can't figure out how to run the animation while the current frame is stopped.

View 2 Replies

ActionScript 2.0 :: GotoAndPlay - MC1 Has Stopped On The First Frame?

Oct 11, 2004

i am having trouble with my gotoAndPlay in my MC.i have An MC1 on main stage then inside it i have another MC2. Now on my MC1 i want wen it comes to frame 15 to go and play starting frame2 on MC2,so in MC1 frame 15 i put mc2.gotoAndPlay(2);But nothing happens.Oh yea MC1 has stop on the first frame.

View 2 Replies

ActionScript 2.0 :: How To Know On Which Frame Movie Stopped

May 3, 2003

I'm making a slots... but i have a prob. If a stop my movie, I can't know on which frame my movie is stopped. Is there a syntax-code to give me the number of the frame a that moment?

View 5 Replies

IDE :: Keep Sprite Flipped / Stopped Frame When No Key Is Down

Aug 7, 2009

if i press right/left, he goes to the movement frame. i want him to go to the stopped frame when no key is down, but the frame shows him facing right.how can i make it 'remember' his direction?

View 1 Replies

ActionScript 2.0 :: Go Back To Previous Stopped Frame?

Nov 6, 2002

I'm tryin to create a button that sort of "rewinds" but it doesn't have to show the rewind- all i want it to do is jump back to the previous frame with a stop action on it. So kind of like a "back" or "previous" button.It's been a while since I have programmed a lot and I forget everything

View 9 Replies

ActionScript 2.0 :: Change The Colour Of A Graphic In A Specific Movie In A Specific Frame

Mar 31, 2006

i need to change the colour of a graphic in a specific movie in a specific frame. if i have a movie clip instance-named "sidetext" thats 15 frames long, and i want a graphic in the movie, called "letterp" to change to one of four colours that i want it to randomly at frame 10 and stay that colour uintil frame 15, how can i do this?

View 2 Replies

Flash 10 :: Export Specific Frames Not All Frame - Specific Timeline

Sep 15, 2010

how do i export specific frames not all frame. ex: if flash has 1 to 200 frames. here i want to export 51 to 150 frames as a movie. if there is any command or plugin to export movie like this.

View 0 Replies

Target A Specific Frame In Specific Movie Clip?

Dec 3, 2009

I have been doing really well figuring everything out up until now.[code]How it stands, what is this link pointing to? Can I make it target a specific frame in a specific movie clip?And if someone would be so kind and explain what this is saying in 3rd grader terms.

View 3 Replies

ActionScript 3.0 :: Load Specific SWF At Specific Frame By Default?

Sep 21, 2009

Basically once my animation loads I want to pull in an external SWF at a specific frame, basically like the "home page" swf that will display first. Underneath that I will have "About Us, Contact, etc..." and those will each load an external SWF into my movie clip. My movieclip right now is called mcHolder. Here is the code I am currently using for the buttons:

Code:
//About Us Button
function test2(evt:Event):void{

[code].....

View 1 Replies

ActionScript 3.0 :: Frame Labels And Conditions - Get Movements To Start Where It Last Stopped?

May 14, 2010

I have two different movieclips on my stage, one with a number of buttons and one with a moving object that I want to control with my buttons. The reason for having the buttons in their own movieclip is that I want to be able to move them as well. Let's say I have an object in "myMovieClip" that moves between three different positions when I press three different buttons, the buttons might say "up", "left" and "right".

[Code]....

How do I get my movements to start where it last stoped? If my object starts out at the "Up"-position and I press "Left", I want it to move from Up to Left and if I then press "Right" I want it to move from Left to Right. If my object is at Left and I press Left I want it to stay where it is.

View 1 Replies

ActionScript 3.0 :: Function - Button Will GotoAndPlay One Frame Beyond Where The Timeline Presently Is Stopped At

Feb 23, 2011

I'm taking a class on Flash right now but its set up in this strange manner where they barely teach you actionscript at all but expect you to be able to take the examples in class and work and amend them into your projects. I am trying to write a function for a button that will gotoAndPlay one frame beyond where the timeline presently is stopped at.

[Code]...

View 3 Replies

ActionScript 1/2 :: Specific Frame On A Specific Movieclip?

Sep 1, 2010

I'm trying to get the following movieclip smallbutton to link to frame 5 on movieclip cont.The way the timeline is built is as so:content_mc > cont > (more mcs) > smallbuttonThis seems to be an issue from every answer I've tried so far since the movieclip "cont" is not being called in the main timeline; first there's content_mc and then comes cont.How would I go about getting the movieclip "smallbutton" to link to the 5th frame of movieclip "cont"?This is for AS 2.0So far I'm at:on (release) {  _root.gotoAndPlay("cont");  _root.smallbutton.gotoAndPlay(5);

View 7 Replies

ActionScript 2.0 :: Put A Condition On The Button Event On (release) To Check Which Frame Of The Movie Symbol Is Stopped?

Mar 16, 2009

i want to put a condition on the button event on (release) to check which frame of the movie symbol is stopped. something like if(frame 3 is stoped) gotoAndPlay(14).

View 3 Replies

ActionScript 3.0 :: The Navigation Code In Mc1 Has Stopped Working,if Change The Initial Stop Command To A Later Frame In Mc1?

Aug 7, 2009

I have two movieclips on the stage mc1 and mc2,the navigation for mc2 and mc1 is in mc1 as as3 and MovieClips suddenly now that I've added some tabs into mc2 (new layer, no instance names yet) the navigation code in mc1 has stopped working,if I change the initial stop command to a later frame in mc1 I can navigate back to the first frame and then to one other place in the menu but after moving away from the first frame I can't seem to get any of the buttons to work, its only if the stop command is on a later page that those buttons will workon the main timeline i'm using;

ActionScript Code:
stop();
mc1.stop();

[code].....

View 0 Replies

TextField Dynamic Text Stopped Working

Oct 7, 2009

Some of the dynamic text fields in my application stopped working. This is part of a major application which I have been working on for a few months. It worked fine until today. 3 different dynamic text fields suddenly do not show text when I set the text from actionscript This is what I tried:

1) Tried with and without text embedding

2) Turned on and off html

3) Tried with .text and .htmlText

4) Removed the TextField and added a new one

5) Added static text into the dynamic TextField and did not add the dynamic text with actionscript --> the initial text appeared I am working with CS3 and recently updated. I am considering deleting Flash and not running the update.

View 2 Replies

ActionScript 3.0 :: Create A Frame Label On A Specific Frame?

Aug 6, 2009

if its possible, via AS3, to create a frame label in a movieclip on a specific frame.

Obviously I can do it by manually by setting up labels on the timeline within the target movieclip, but I would rather use an array so I can loop through it, creating a label name on a the specific frame each time?

so for example I would end up with:
myLabelOne on frame 10
myLabelTwo on frame 25
myLabelThree on frame 115
etc

View 3 Replies

ActionScript 2.0 :: Go To A Specific Frame Or Frame Label?

Nov 1, 2004

I am loading a swf into an empty MC with this code:

on(release) {
loadMovie("movie.swf", _root.container);
}

what I want to do is also go to a specific frame or frame label in that loaded movie. I thought I could do it by adding something like this:

_root.containter.gotoAndPlay("frame");

View 9 Replies

ActionScript 3.0 :: Get The Frame Label Of A Specific Frame?

Jun 3, 2011

Is there a way to get the frame label on a specific frame, without it being the current frame?

I've tried accessing it through:

this.scenes[0].labels but it doesn't allow me to check a specific point on the timeline.

View 2 Replies

Auto-Kern Query Stopped Me From Using Vars In My Input Text Boxes

Aug 30, 2007

What is auto-kern, and why has it stopped me from using vars in my input text boxes?

View 3 Replies

ActionScript 2.0 :: String.length Stopped Working - Vertically Align The Text To The Bottom

Jan 29, 2010

i made a function for replacing a text letter by letter. You've probably seen this effect of putting in place of a text a random one, with the length of the new text and then replacing the random text, letter by letter with the new one. It worked fine but I had to do some adjustments, because I needed to vertically align the text to the bottom, and I had the newline character in the text which gave me some issues with the aligning. Since I did this adjustments, string.length returns undefined even if trace(string) shows the correct text in the output window. On the other hand length(string) gives me the right answer. I also use the charAt function which also returns undefined, even if the trace function shows the correct text.

View 7 Replies

ActionScript 3.0 :: Pass Text From An Input Text In Frame 1 To A Dynamic Text Field In Frame 10

Jul 24, 2009

I'm trying to pass text from an input text in frame 1 to a dynamic text field in frame 10. Thus when the user enters text and clicks the submit button it takes them to frame 10 and shows them what they typed. It's not working but I'm not getting any errors. Here's the link:

[Code]...

View 3 Replies

ActionScript 1/2 :: Movieclips Aware Of What Frame Open Another Movieclip To The Same Frame?

Jan 4, 2011

I was having trouble even knowing quite what to search for so I figured asking a question in a forum would be the best way to go. Currently I am making an application where I have multiple movieclips of equal duration on multiple frames. For example, movieclip_1 is on frame 1 and is 40 frames long. There is currently a scrub bar that scrubs through the 40 frames of movieclip_1. On frame 1 of the Scene there are also buttons with the actions to gotoAndStop on frame 2, frame 3, and frame 4. Frame 2 contains movieclip_2, frame 3 contains movieclip_3, and so on. The functionality of this is that it shows medical conditions progressing from different angles and when a button is clicked the display shows a close up of just that one angle. As expected, without any actions on the movieclips navigating from one frame to the next brings up the proper new movieclip but they always begin at frame 1. What I would like to be able to do is somehow have my movieclips know what frame they are on so when a button is clicked the application would go to that frame and open that movie clip to the same frame as the previous one that was just navigated from.

View 3 Replies

ActionScript 2.0 :: Prototype On Specific Movieclips Only

Jun 24, 2004

What I am trying to do is to make a prototype apply to only certain movieclips. For example..I have one apple movieclip and one orange movieclip. For these I have two prototypes: [code]But I don't want the apple prototype to apple to the orange movieclips and the orange prototype shouldn't apply to the apple movieclips (they will overrun eachother).How can I accomplish this, without adding code to the specific movieclips, and WITHOUT doing like this:[code]

View 12 Replies







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