ActionScript 2.0 :: Use Duplicated Clips As Buttons?

Nov 22, 2005

I have a clip, duplicated to realize the titles of a menu. How can i use these duplicated clips to load the submenus? (The submenu is another clip, duplicated using the numbers contained in the same array)

My script (or, i'd better say, Stringy's!) is:

/*
array: its lenght gives me the number of titles, each number inside the quantity of submenu for each title
*/

[Code]....

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Target All Of Clips (at Once) Duplicated Below?

Dec 27, 2005

is there a posibility to target al of the clips (at once) i duplicated below?[code]

View 5 Replies

ActionScript 3.0 :: Moving Duplicated Clips?

Mar 15, 2009

There r two function which I compare for effectiveness, createFlake uses a symbol in the library to duplicate and createFlake2 uses programming drawing to create the same looking shape.When I run this file with createFlake calls it consumes about 70% of my CPU and when I use createFlake2 my CPU is 100% busy.I would prefer to use pure programming here so my question is: Is it a "normal" result because of Flash implementation or am I doing something in a not optimal fashion?

Code:
// copying from Library FAST
function createFlake(i) {

[code]....

View 2 Replies

ActionScript 2.0 :: How To Store Values In Duplicated Clips

Oct 2, 2003

I duplicate a MC 6 times,

for(i=1;i<=6;i++){
this.MovieClip.square.duplicateMovieClip( "square"+i,i*1000);
//

[code]......

View 5 Replies

ActionScript 2.0 :: Deleting Duplicated Movie Clips?

Nov 22, 2003

Im working on a rock climbing game, and used duplicateMovieClip() to make all the snow. When the character gets to the top of the mountain, the movie goes to the next scene, but the duplicated snow is still there. Look through the .fla at [URL]

View 5 Replies

ActionScript 2.0 :: Hittest On Duplicated Movie Clips?

Apr 21, 2004

i am currently making a game , and for some reason the hittest on my duplicated movie clips isnt working i know how to do them , and know it should be working , because it works on one of the movie clips but none of the others so im guessing it something to do with depth?

View 2 Replies

ActionScript 2.0 :: Y Position For Duplicated Movie Clips

May 6, 2005

How do I change the y position for the duplicated movie clips I have created?This is the code I have used to create the movie clips. [code]

View 14 Replies

ActionScript 2.0 :: How To Reference Duplicated Movie Clips

Apr 25, 2007

I am trying to create a hitTest between two duplicated objects. The code below is on a bullet. Bullets hit "bad" MCs that are called bad + x (X being a number from 22 - 40). I can't get it to work. I belive that I am not referencing the duplicated MCs correctly

Code:
for (x=22; x<42; x++) {
if (this.hitTest("_root.bad" + x)) {

[code].....

View 2 Replies

ActionScript 2.0 :: Masking Duplicated Movie Clips?

Oct 12, 2007

I used a tutorial from here, that creates snow, and changed it up a bit so that it now creates fizz in a soda. however I'm running into a snag.Is there any way to mask duplicated movieClips so that they only show up in a certain area? Or some way to set parameters to accomplish the same effect? (i.e. I want the bubbles to only appear in the area of the cup, and not all over the place).Right now I have just set X and Y values to do this, but the cup is angled and not square, so it doesn't looks quite right.I have tried setting a mask on a layer above which the duplicated movie clip sits, and also have tried setting the depth of a mask_mc so that it is well above any of the layers that the bubbles are generated on (by use of a for() loop), but nothing works.

View 2 Replies

ActionScript 2.0 :: Referencing Duplicated Movie Clips?

Nov 27, 2007

I've created a tsunami menu made up of duplicated menu items. Each menu item should have a rollover and selected state of 240% which works fine. When a menu item has been selected it jumps to another frame but until the user interacts with it it should loop through the different categories.My problem is that I can't get the menu items to scale big while it is looping through the different categories on the matching category frames.

View 1 Replies

ActionScript 2.0 :: Store Values In Duplicated Clips?

Oct 2, 2003

I duplicate a MC 6 times,

for(i=1;i<=6;i++){
this.MovieClip.square.duplicateMovieClip( "square"+i,i*1000);
//

[Code]....

View 5 Replies

ActionScript 2.0 :: Y Position For Duplicated Movie Clips?

May 6, 2005

How do I change the y position for the duplicated movie clips I have created?

This is the code I have used to create the movie clips.

var i = 1;
while (i <= 5){
duplicateMovieClip("bar", "bar" + i, 0);
i++;
}

View 14 Replies

ActionScript 2.0 :: Prevent Duplicated Movie Clips From Overlapping Each Other?

Oct 30, 2011

On my stage I have generated a series of Movie Clips at runtime. They drift around in a semi-random motion, causing them to occasionally overlap each other - is there any way of preventing them from doing this?

View 3 Replies

ActionScript 2.0 :: Duplicated Movie Clips On Wrong Layer

Feb 4, 2005

I have the code tucked under a layer of some text, but the hearts end up covering up the text.

View 9 Replies

ActionScript 2.0 :: Make A Hittest Between Two Duplicated Movie Clips?

Mar 21, 2007

I am making a small game in which you are a little shooty spaceship type thing, and there are duplicated mines falling around you. When you press space, the shooty spaceship type thing fires duplicated bullets. How do I check a hittest between any bullet

View 3 Replies

ActionScript 2.0 :: Loading Images To Duplicated Movie Clips?

Jul 26, 2007

I have a problem in loading pictures to duplicated movie clips. I have a dynamic sliding menu and I wanna load images to submenus. However I havent succeeded yet.

Here is the code:

setProperty("Rub", _visible, false);
setProperty("subrub", _visible, 0);
bas._visible=false

[Code].....

View 3 Replies

ActionScript 2.0 :: Hittest On Duplicated Movie Clips Isn't Working

Apr 21, 2004

i am currently making a game, and for some reason the hittest on my duplicated movie clips isnt working i know how to do them , and know it should be working , because it works on one of the movie clips but none of the others so im guessing it something to do with depth? i will give the code if any1 replys

View 2 Replies

ActionScript 2.0 :: Freeze / Stop Duplicated Movie Clips Where They Are?

Apr 14, 2005

I have a fire animation that i want to freeze (ha!) on the last frame of my swf. So basically the fire is buring and i want all the tweened flames inside duplicated MC to stop so it looks like a snapshot of whereever all the flames currrently are.Everything else in the movie is stopped too, so i was wondering if there was a global stop all motion command or the best way to freeze my fire

View 2 Replies

ActionScript 2.0 :: Duplicated Movie Clips On Wrong Layer?

Feb 4, 2005

I have some code that has hearts falling from top to bottom and randomly float off the screen. The problem is the layer order. I have the code tucked under a layer of some text, but the hearts end up covering up the text. So would this be a depth problem? What would be some code to tell the newly duplicated movie clips what layer to appear on(as in appear below the text layer in the timeline).

View 9 Replies

ActionScript 3.0 :: Flash Drawing Line Between Duplicated Movie Clips?

Jul 9, 2010

wat i want to make.. is a graph plotter.. i add movie clips on the stage and a line should connect them all.. but im having a fkload of problems in solving that..here is the code for adding the movie clips.

function makeABox(e:Event):void {
var newBox:myMC = new myMC();
addChild(newBox);

[Code].....

View 1 Replies

ActionScript 2.0 :: Make Duplicated Movie Clips Scroll Down The Scree?

Nov 27, 2002

I'm trying to make duplicated movie clips scroll down the screen (asteroids) for an experimental game but I just can't get it working. :-
I'm using this to duplicate the movieclip:

i=i+1;
duplicateMovieClip ("m0", "m", i);

and trying to get the movieclips to scroll down with this:

p=eval("m" add i);
p._y+=2;

make renamed duplications scroll down the screen?

View 14 Replies

ActionScript 2.0 :: Difference Between RemoveMovieClip() And UnloadMovie() For Use In Erasing Duplicated Movie Clips?

Sep 21, 2006

What (if any) is the actual differance between removeMovieClip() and unloadMovie() for use in erasing duplicated movie clips (using duplicateMovieClip() )? I was looking over some of my code and noticed I used both without much rhyme or reason as to why one over the other.

View 4 Replies

ActionScript 2.0 :: MX Different Effect On Duplicated MC With Buttons?

Nov 9, 2002

I made a MC thith button in it, I dublikated this MC in amount of text fields ... this is a tree, spending hare some time you notice that wile browsing some buttons blinks for unknown reason.. This is my first project and I want to do things wright.. but this blinking.. [URL]

View 2 Replies

ActionScript 2.0 :: Make Duplicated Buttons For Different Action

Jun 5, 2010

Situation is I got a Mc called "thumb" which I am duplicating like this bellow

[Code]....

Now I need to make make these thumbs clickable for different action. Like if I click on "this.thumb3" it will return "3"; This problem was solved at this forum before but when actionscript.org was attacked by some hacker that post was lost. All I can remember that I got a code like bellow

[Code]....

View 9 Replies

ActionScript 2.0 :: Making Duplicated Movieclips Into Buttons?

Sep 29, 2005

How can I get my movieclip which has been duplicated to act as a button? Neither of these seem to work:

Code:
"thumbContainer"+nextPicture.onMouseDown = function(){
trace("Clicked")

[code]....

View 6 Replies

ActionScript 2.0 :: Duplicate Movie Clips Which Allow To Drag Every Movie Clip Duplicated?

Jan 29, 2010

how to duplicate movie clips which allow me to drag every movie clip duplicated.

View 4 Replies

Using Multiple Movie Clips For Separate Buttons And Mouse Over Buttons?

Nov 24, 2009

I am using Flash CS4 with ActionScript 3 and I am fairly new at it. I am struggling with two things.
 
1. How can I start a movie clip while scrolling over a button? I know how to start a movie clip when a button is clicked.
 
2. How can I use multiple movie clips for seperate buttons?

[URL]

View 3 Replies

Multiple Movie Clips On Stage - Buttons Not Working In Movie Clips?

Jul 15, 2009

I have multiple movie clips on stage (all in separate layers, of course) as well as buttons on stage to play each movie clip. There are buttons inside each movie clip. The problem is that the buttons inside the top layered movie clip work, but the others in the movie clips below don't.

View 2 Replies

Movie Clips And Buttons

Mar 12, 2009

i just started tackling Flash and Actionscript 3.I know how to have a button react to a click by going to and playing (gotoAndPlay) a certain set of frames within the same scene [code].themselves are in a movie clip, and the "aboutpage" frames are in another movie clip back outside in the main timeline... How do I tell it to target that other Movieclip thats on the main timeline and contains the frames called "aboutpage"?Ive seen somethign like: currentTarget.gotoAndPlay ("aboutpage");But currenttarget i think looks for stuff within the target/Movieclip it lies in.. what is the code to do this:

View 2 Replies

Buttons With If / Else - Keep Playing Clips

Aug 9, 2010

I've got 4 mc clips on the main timeline, each with an embedded button. When I click on one button I want that mc clip to disappear and the other 3 to keep playing. When I click on the next one, the same must happen. The problem is I need a function to see which button was selected to that it knows which of the movies to keep playing and it must check what buttons have previously been selected so that it knows not to show those mc clips as well. if release button 1 play mc 2 ,3 and 4.......if release button 3 and button 1 has been released, play mc 2 and 4

View 9 Replies







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