See Related Forum Messages: Follow the Links Below to View Complete Thread
Duplicate Movie Clip / Remove Movie Clip Woes
I have built a an MC that will Duplicate an MC it does this a specified 114 times.
Once all of the MCs are in the Movie I want to pick a movie clip and remove it randomly. I am doing this now but It takes to long because it is looking for numbers that are no longer existant instead of just going for the ones that are already there.
I was talking to one of the programmers at my work and he was telling me to build an array that adds in a each duplicate mc name
for instance
amount = 1
I have 114 boxes each box as it is duplicated gets renamed box + amount
amount + 1
until it gets to 114
then it looks for each box1 - box 114 and gets rid of each box 1 - 114
But how could I get it so I remove lets say box 84 it wont look for 84 for any more
I was thinking
I dynamically rename every mc > 85 to name amount - 1
and have it randomly look for 113 the next time around and so on til it finally gets to zero...
Any one have any suggestions for me?
Or if you can point me in a direction that would be good as well
Thanks a bunch
Flash 5 - Load Movie, And Duplicate Movie Clip? URGENT
I have a database of swfs. I'm loading a swf into a movieclip. When I duplicate that movie clip, it duplicates but the loaded swf does not duplicate with it. I've tried using attachMovieclip and I get the same result. Any ideas for a work around?
Duplicate and attach only seem to work when the asset already resides inside the movie clip....is this right? PLEASE HELP!!!!!
Thanx guys.........
Duplicate And Attach Movie Within Another Movie Clip Problem
I'm having problems duplicating/attaching movie clips within a movie clip.
I have a panel_MC on stage. I want to be able to dynamically attach several movie clips (essentially they will be buttons) into this panel_MC. Unfortunately when I use mc.attachMovie() the previous movie clips are overridden..
here is some of my code.
Code:
var noOfIcons:Number = 10; /* 10 for easiness sake.. real number will be determined by a function */
var iconBtnXPos:Number = 0;
for (i=1; i<noOfIcons;i++){
var btnNo:Number = i;
panel.createEmptyMovieClip("container"+btnNo,this.getNextHighestDepth());
whereIsThis = panel["container"+btnNo].attachMovie("iconButton","icon"+btnNo, this.getNextHighestDepth());
trace("whereIsThis :"+ whereIsThis);
this.panel["container"+btnNo]["icon"+btnNo].iconLabel.iconText.text = btnNo;
this.panel["container"+btnNo]._x = iconBtnXPos;
this.panel["container"+btnNo]["icon"+btnNo].onRelease = iconBtnRelease;
iconBtnXPos +=52;//calculate next _x button position
}
Any ideas?
Duplicate Movie Clip Into Another Movie Clip?
Is it possible to duplicate a movie clip into another movie clip??
I usually duplicate a movie like this:
duplicateMovieClip(_root.point, "point"+_global.numberOfPoints, _global.numberOfPoints);
i set its properties like this:
setProperty(eval("_root.point"+_global.numberOfPoi nts), _x, _global.pointXArray[_global.numberOfPoints]);
but I want to duplicate into another movie clip called 'pointsHolder' like this:
duplicateMovieClip(_root.point, "pointsHolder.point"+_global.numberOfPoints, _global.numberOfPoints);
and set its properties like this:
setProperty(eval("_root.pointsHolder.point"+_globa l.numberOfPoints), _x, _global.pointXArray[_global.numberOfPoints]);
when I try this, i get no results on the screen, what am I doing wrong? cheers for any info!
Movie Levels? (Duplicate Movie Clip)
This one shouldn't be to hard.. but ..well.. it is.
Is there a way to give a movie clip a level WITHOUT duplicating it? What is happening is I have a movie clip that I always want to be on top of a series of duplicated movie clips.
Can anybody help?
Thanks
Duplicate Movie Clip
can some 1 teach me how to duplicate movie clip
i wann to duplicate a movie clip that contains a input textbox accounding to the user inpit.
lets say i let the user enter how many times he want to duplicate
then the inputtext box will be duplicate n times according to the user requirements
can this be done???
please tell me wat the action script should be
thanks a million guys
[Edited by Scorpian on 07-04-2001 at 05:01 AM]
Duplicate Movie Clip
I want to get a grasp on the duplicateMovieClip function... and have the following code:
pic1.duplicateMovieClip(pic2, 100);
setProperty (pic2, _x, getProperty (pic, _x) + 20));
"pic1" is a movie clip with a graphic in it, and I thought this code would copy the contents of the "pic1" MC to a new movie called "pic2," place it on the stage with _x property twenty to the right of pic1... but the clip does not appear on the stage.
Does anyone know how to properly use this function? I can;t see a tutorial anywhere around here...
Duplicate Movie Clip..
I've been trying to do this on my own for about 2 hours, and no matter what I do it just doesn't want to work for me. What I need to do is place a bullet hole on the wall every time the user clicks the mouse. The problem is, once I leave a bullet hole and click the mouse again, that bullet hole disappears and/or just moves over to where the user clicked the second time. I want the bullet holes to stay put on the wall. Here's the code I'm using right now:
Code:
on (press) {
setProperty ("/curX", _visible, true);
tellTarget ("/snd") {
gotoAndPlay ("GunShot");
}
setProperty ("/curX", _x, getProperty("/cur", _x));
setProperty ("/curX", _y, getProperty("/cur", _y));
n = n + 1;
duplicateMovieClip("/frag",n, 10);
setProperty (n, _x, getProperty("/cur", _x));
setProperty (n, _y, getProperty("/cur", _y));
}
cur is the gun cursor.
curX is the spark graphic from the gunshot.
frag is the bullet hole.
Does anyone see anything wrong with this code which would prevent it from working correctly? I'm almost sure it's the n = n + 1; line but I could be wrong. Any help at all would be appreciated
Duplicate Movie Clip
i have a movie clip with a dynamic text field in it. it gets populated through a load variables call to a php script (which is reading from a database). if i duplicate the movie clip is there a way that i can change the variable name of the text field each time the clip is duplicated so that i may populate each movie clip with different rows from the database?
-andy
Duplicate Movie Clip
Is there any way to specify a location of a duplicate movie clip when duplicating it.
I have a box I want to duplicate directly below when I hit a button. can I do this?
Duplicate Movie Clip
How do I make a button to run a Movie Clip and when clicked, the button will duplicate the Movie Clip while still running the previous movie clip(s)? Also how would I remove each clip?
Any suggestions?
Thanks.
Duplicate Movie Clip
is it possible to duplicate a movie clip that is not in the same timeline as the action.
for example, is this legal:::
duplicateMovieClip("/myClip", "newClip", 1);
Duplicate Movie Clip
I want to duplicate a movie clip like:
In the 1st Frame:
_root.px.duplicateMovieClip("px" +n,n);
_root["px"+n]._x = random(377);
_root["px"+n]._y = random(60);
In the Last Frame:
removeMovieClip("px" + (n - 1));
n++;
gotoAndPlay(1);
How I Can Duplicate more Movie Clips? And how can i set a time limit in it for every clip.
Duplicate Movie Clip Help
Hi-
when duplicating a movie clip how can u determine how many times to duplicate and also can u change the duplicates _x and _y values so u could make a shape?
cheers
Niall
Duplicate A Movie Clip
I have created a movie clip, actually it is a button but you know what i mean. Im tying to duplicate the clip b/c im trying to make 6 buttons for my web page. 0 through 5. The problem im haveing is that when you select the clip you want to duplicate. When I try to edit the duplicated clip it changes the main clip or button. Please help me Im new to the flash scene. Thanks!
Duplicate Movie Clip
hay .. guys .. flash pro right here ...
i read this somewhere in this site ..
it was a really cool effect ...
but i have a problem .. i just want this to be continues ..
i tried many things but still i couldnt figure it out ...
it is a double movie clip action ... built on idea to copy and paste in other places as the real author said .. infact this MC ... contain text .. this text is bieng copied and pasted in number of places .. the whole text scroll down ... and it changes _alpha ..
now the problem is that it takes som seconds then it gets over ..
my code is this way ..
the frame code is :
total = 300;
// change total number of texts
i = 20;
while (i<total) {
duplicateMovieClip ("text", "text" add i, i);
setProperty ("text" add i, _x, random(300));
setProperty ("text" add i, _y, 0-random(2000));
setProperty ("text" add i, _xscale, random(70));
setProperty ("text" add i, _yscale, random(70));
i += 1;
}
and the movie clip self code is :
onClipEvent (load) {
x = this._x;
y = this._y;
i = 0;
getnewalpha = true;
}
onClipEvent (enterFrame) {
this._y = y+i;
i +=1;
if (getnewalpha == true) {
targetalpha = random(50);
getnewalpha = false;
}
alphaspeed = 0.4;
alpha_increase = (targetalpha-this._alpha)*alphaspeed;
this._alpha += alpha_increase;
if (this._alpha<targetalpha) {
getnewalpha = true;
}
}
well ... try to figure out how to make it continues .. you can find an example in here :
http://www.alertsites.be/example/example.html
http://www.alertsites.be/example/example.fla
please reply me
thanx
Duplicate Movie Clip
hi,
On the scene I want 2 insects.I scripted one insect movie,when you click it,it gets crushed.Then ý duplicate it but when ý click on the second movie clip ,still first one crushs.Can you tell me what to do to crush the second one?
Duplicate Movie Clip?
I have a movie clip which is an short animation of smoke rising. I have a button that when clicked plays the animation from a frame label. What I want to happen is the movie clip to keep being duplicated over the previous one every time the button is pressed and play through the animation. I tried this but it only plays the one frame in the mc with the frame label nosesmoke, it doesnt play through the mc. Tried just a frame number but same thing. Any ideas?
on (press) {
duplicateMovieClip("rightnose", "dup", 1);
dup.gotoAndPlay("nosesmoke");
}
Duplicate Movie Clip
I want a bullet to fly up the screen when the user presses space. What is wrong with this code? The following code is the only code for the bullet mc
onClipEvent (load) {
counter = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.SPACE)) {
duplicateMovieClip (this, "a"+counter, 10+counter);
setProperty (this, _y, this._y-=10);
counter++;
}
}
Duplicate Movie Clip?
This is kind of a beginner question, but I haven't ever really worked with this and I just wondered how it works. (I already searched tutorials and other board posts with no avail)
So what exactly does duplicatemovieclip do and how do you use it?
Thanks!
Katie
Duplicate Movie Clip
Hi I am having a hard time with this. I am doing an effect kind of like the yugop navigation that moves back and forth dependent on the _xmouse position. That part works like a dream, but what I can't get to work correctly is the duplication of my one movie clip (contains a jpg) so that it appears to loop continuously.
It actually does duplicate about 2 or three times and then stops and runs off the screen.
Below is the code that I am using on my movie clip called 'image' which is in another *blank* movie clip called 'foto'
Any ideas what might be wrong??
Thank you in advance...
m = 0;
tmi = 2;
while (m<(tmi*2)-2) {
m++;
dup = 'image' add m;
_root.foto.image.duplicateMovieClip(dup, m+1);
_root.foto.image1._y = _root.foto.image._y+_root.foto.image._height;
_root.foto.image2._y = _root.foto.image._y-_root.foto.image._height;
}
Duplicate Movie Clip
is there an easy way to duplicate a movie clip on a parent level? I have a scrolling image library by using a formula to set a movie clip's x position according to where the mouse is...creating a scroll effect. anyway, when i dup a movie clip it is duplicated in the same clip which is scrolling, so it also scrolls. I want to be able to dup the clip (which is an image) so that it stays stationary while the user can still scroll using the mouse.
helf
Duplicate Movie Clip
i'm creating a screensaver using flash which keeps on
duplicating movieclips.
i wonder, is there a limit to how many movieclips you can duplicate? (i've got up to 5000 now, seems to be ok...)
Duplicate Movie Clip
Hello
I just want to duplicate a movie clip by dlicking and dragging the same movie clip on the scene. Is it possible? If yes, please help me.
Regards
Jayakumar
Duplicate Movie Clip?
OKay, i've got a situation:
I want to make a little something...you have this button, and you can drage it, but as soon as you start dragging it, a new one comes back at the same place, and you can take new buttons for infinity. But i want it that once you dragged a button, u can still drag it afterwards! how do i do that? I don't know that much about actionscript, at least i never used the DuplicateMovieClip functiun, i'm pretty good with hitTest and stuff, but not this, PLEASE HELP ME THIS IS A CRY FOR HELP!
Duplicate Movie Clip
Hi there!
Any body can tell me how to solve my problem?
I have a problem: I am duplicating a movie clip using the for condition and a counter variable. My _mc contains a button that loads a .jpg instead other holder _mc with the onRelease event. I duplicate the _mc 5 times and I want each button loads 5 diferent .jpgs.
My problem is that I duplicate the _mc well but their buttons ever load the same .jpg
Help please!
cheers.
Les.-
Need SOS Help With Duplicate Movie Clip
i did this simple code
_root.duplicateMovieClip ("bbb","zzz",15);
_root["zzz"]._x=800;
where bbb is a movie clip instance name
when i run this i dont see the duplicated movie clip why?
Duplicate Movie Clip
OK I am going Nucking Futs trying to find a tut or something that will show me the correct way to use duplicate movie clip. Here is what I'm running and how I'm using it. I have created a 3d walkthrough of a house using swift 3D. I have taken the swf file that I exported and started entering actionscript and set up buttons so that when you click a certain direction you will look in that direction. I want to separate all of the directions into separate swf files (Which I have done). This is a perfect place for me to use duplicate movie clips. I have one empty clip in the main movie now and I call it "dummy01". I want to click on a certain direction ie left and run the "left" movie inside a duplicate version of the blank clip, and make it one layer above the one I'm in now. Then, I want to uload the movie when I don't need it anymore. How do I do this? I've been everywhere and looked at too many tutorials that speak a different language (And I am pretty damn good at using flash.....somewhat of an expert actually). I've tried doing this so many ways and it's hopeless!!! What the hell can I do?
-= greendog =-
Duplicate Movie Clip Help
i ahve a movie clip on root, i want to create many duplicate movie clips of that. the number of movieclip should be as in an external file. the movie clip has a dynamic text field. another text file has the values like: a1="abc" & a2="xyz" & ---- so on. i want that if two duplicate movieclips created, then first should contain the value of a1 in its dynamic text field and the second should contain the value of a2 in its text field. please help......
Duplicate Movie Clip
I am wanting to duplicate a movie clip, and have it loaded into a certain area where I can mask it. Although, when I duplicate the movie clip, it seems as if it just loads on top of itself. Is it possible to duplicate a movie clip, and have it placed into a loadMovie("anyclip")?
Thanks
Duplicate A Movie Clip?
Hi guysI started with a certain design for a drop down menu. I'll have 5 different places where I want to use the same menu. The design of it will be the same but the buttons for each of the 5 instances will be different ofcourse. I'm not sure if I should have only one movie and then duplicate it on the page and change it, or if I should have five different versions of that menu. If I have one movie clip for it, do I duplicate it in the library and then change the names of the buttons? I have no idea how that should be done.
Duplicate Movie Clip Help
hey all, am trying to dynamically produce 50 movie clips not going outside my stage, all with random x and y locations, speed and rotation, ive got this code on the movie clip i want to reproduce: (have only got as far as the position of the movies, dont know how to do rotation and easing/speed)
Code:
onClipEvent (load) {
amount = 50;
while(amount>0) {
this.duplicateMovieClip("newleaf",+i, i);
scale = (random(100) + 50)
this._x = random(500);
this._y = random(600);
this._xscale = scale;
this._yscale = scale;
}
}
{
im sure this is going down the right path but flash player freezes when i try and launch, where am i going wrong,
by the way im sorry if this has been asked before but the search function in the forums never seems to work.
thnx
9114
Duplicate Movie Clip
i've got my mouse listener set up so the dart will follow the mouse and throw...
on the second frame of the tween i removed the listener so the toss is at a set location and doesn't follow the mouse. then at the last frame of the tween adding the listener back, and creating a duplicate movie clip so it will reload the dart at the beginning position.
here is the code for the last frame of the dart tween.
stop();
_root.dartNum += 1;
_root.checkHit();
throwAgain = "dart" + dartNum;
_root.Mouse.addListener(dartListener);
duplicateMovieClip(this,throwAgain,_root.dartNum);
and here is the code for my mouseListener
dartListener = new Object();
dartListener.onMouseMove = function()
{
dartThrow._x = _xmouse;
dartThrow._y = _ymouse;
dx = dartThrow._x;
dy = dartThrow._y;
throwAgain._x = _xmouse;
throwAgain._y = _ymouse;
}
Mouse.addListener(dartListener);
the problem, the dart won't follow the mouse (the listener doesn't recognize i guess)
Can I Duplicate A Movie Clip?
I downloaded this fla file from Flashkit, as I was trying to learn some new stuff and I hit an area I was unsure of.
Here is the fla:
http://www.flashkit.com/movies/Inter...9595/index.php
See those windows that pop up on the main page ("about me", "clock", etc)
Can you just duplicate those, meaning, can you make more windows like that just by duplicating the movie clips???? How the heck would you do that?
Any help would be greatly appreciated.I know I'll be up all night trying to figure it out otherwise lol
How To Duplicate A Movie Clip
Hello everybody. I need help with a duplicate movie.
Well, I have an MC with button properties that I need to duplicate only once when I click on it, then I want that duplicate to do the same.
The duplicates will change only its _X position.
Exemple:
When I click on object 1 it will duplicate, let's call this duplicate object 2, then when I click on object 2 it will duplicate, let's call this duplicate object 3, then
when I click on object 3 it will duplicate, let's call this duplicate object 4, and so on.
Does anybody knows how to do that?
Thanks
Halanis
F8 Duplicate Movie Clip
Hello,
i want to try to duplicate a movie clip, but in this movieclip, there are some other timelines, motion tweens, movieclips... Th clip i use, has a text "home". I want to duplicate it, and change the text to "about". Normally i do this with copy /paste and duplicate symbol. Give it another name, change the text inside, and that works fine.
With this movie clip, i doesnt work. When i change the text, the text of my "home" movie clip is also changed.
How do I have to do this.
I hope you understand me, English is not my great language
Tx
Ronny
The FLA is on this link
Get it here
Duplicate Movie Clip
hey, i made a small game and for some reason my shots share the same name as my enemies... like if i shoot long enough they start disapearing by themselves
what could posibly be the reason? the code that i have for the creation of each is:
onClipEvent (load) {
laserCounter = 0;
skeetcounter = 0;
skeettimer = 0;
}
onClipEvent (enterFrame) {
skeettimer = skeettimer+1;
if (skeettimer == 50) {
skeetcounter = skeetcounter+1;
_root.skeet.duplicateMovieClip("skeet"+skeetcounte r,skeetcounter);
_root["skeet"+skeetcounter]._x = 600;
_root["skeet"+skeetcounter]._y = Math.round(Math.random()*375)+10;
skeettimer = 0;
_root["skeet"+skeetcounter]._exist = 1;
if (skeetcounter>9) {
skeetcounter = 0;
}
}
}
onClipEvent (mouseDown) {
laserCounter = laserCounter+1;
_root.Laser.duplicateMovieClip("Laser"+laserCounte r,laserCounter);
_root["laser"+laserCounter]._exist = 1;
if (laserCounter>9) {
laserCounter = 0;
}
}
thanx for any help
Duplicate Movie Clip
Hi,
I thought this would be something simple. I have a movie clip that loads another movie clip within in it. (menu buttons) I need that same movie clip of menu buttons available in the main.swf at a certain point in the timeline. I thought I could just drag and drop the menu button movie clip from the library onto the main timeline and have the same functionality as I do when the menu button mc is loaded into that other mc but it doesn't work
I've tried making a duplicate in the library and renaming it but my actionscript code doesn't work when I do that.
Any ideas as to why the menu button mc functions when loaded into a different mc but doesn't work if I duplicate it in the main timeline?
thanks.
Duplicate Movie Clip
Hi, i'm trying to get an array which is currently traced out to be replaced with images, the code which i've attempted can be seen below,
Code:
for (i=0; i<test; i++) {
duplicateMovieClip("square"+i,i,{_x:Math.random()*(500-50)+50, _y:Math.random()*(200-50)+50});
}
If any one could point me in the right direction it would be appreciated, thanks
[F8] Duplicate Movie Clip
Hi i'm trying to stop my script from tracing the array out into the input window, and instead displaying it within flash.
I'm trying to get it to duplicate a movie clip for the array, using a 25x25px movie clip for each of the 100 squares which make up the array. I have attempted this and myy efforts can be seen below. But it's just not going well.
Any help welcome thanks.
Code:
boardsize = 10;
shipslength = new Array(4, 3, 2, 2, 2);
grid = new Array(boardsize);
for (i=0; i<boardsize; i++) {
grid[i] = new Array(boardsize);
for (ii=0; ii<boardsize; ii++) {
grid[i][ii] = 0;
}
}
//place ships
for (ship=0; ship<shipslength.length; ship++) {
len = shipslength[ship];
//orientation
if (Math.random()<0.5) {
w = len;
h = 1;
xstep = 1;
ystep = 0;
} else {
w = 1;
h = len;
xstep = 0;
ystep = 1;
}
//position
placed = false;
while (!placed) {
xp = random(1+boardsize-w);
yp = random(1+boardsize-h);
checkpos = 0;
for (i=0; i<len; i++) {
checkpos += grid[xp+i*xstep][yp+i*ystep];
}
if (checkpos == 0) {
for (i=0; i<len; i++) {
grid[xp+i*xstep][yp+i*ystep] = len;
}
placed = true;
}
}
}
for (i=0; i<boardsize; i++) {
trace(grid[i]);
grid[i][ii] = attachMovie("square","square"+i+"_"+ii, i*100+ii);
}
Duplicate Movie Clip
How to use DuplicateMovieClip function? Please provide me with an example.
Thanks.
Duplicate Movie Clip...
Alright, i wont pretend to be an actionScript expert, cause thats what i feel like. I used to be REALLy good a few years ago but...oh wait...i'm asking a question. sorry. lol.
When you duplicate a movie clip, eg.
for (i=10; i<20; i++){
mymovieclip.duplicatemovieclip("newmovieclip"+i, i);
}
So far great, i remember this much. But then...
what if i want to control one of the "newmovieclip"s?
Sure, i can use the setproperty method, but that isnt very powerful. eg, what if i want newmovieclip number 15 to begin expanding slowly?
I thought, is it possible to control the movie clip on depth 15 (newmovieclip number 15). But i couldnt find a way for that.
Then i remembered once using something similer to this:
"newmovieclip"[15]._xscale++;
??
That doesnt work. How do you do it? I want to be able to control newmovieclip number 15, like i would any other movie clip.
(assuming you can understand what i said (sorry!))Thanks
XML + Duplicate Movie Clip
Further to my previous post about arrays in text files, I thought about using XML to hold my data.
I have the following code (a modified tutorial from a book) which accesses XML data and outputs the data to text boxes.
I'd like to duplicate a movie clip that contains time, name and location fields, to create a kind of table effect.
My question is, where in this code would I put my duplicateMovieClip() code, and how would I dynamically rename it with each loop
(fyi, the movie clip I want to duplicate is called 'tableRow')
I've been trying to work this out for hours, and I'm still no closer to cracking it
contactXML = new XML();
contactXML.onLoad = transXML;
display = "Getting XML.";
contactXML.load("contacts.xml");
function transXML() {
if (this.loaded) {
display = "XML data is up.";
}
keyTag = new XML();
nodeID = new XML();
nameList = new Array();
contactList = new Array();
allEvents = this.lastChild;
eventList = allEvents.childNodes;
display = "";
for (i=0; i<=eventList.length; i++) {
if (eventList[i].nodeName.toLowerCase() == "event") {
nameList = eventList[i].childNodes;
for (nl=0; nl<=nameList.length; nl++) {
nodeID = nameList[nl];
elementID =nodeID.nodeName.toLowerCase();
rowName="tableRow"+nl;
_root.tableRow.duplicateMovieClip(rowName,nl);
rowName._y = 15;
if (elementID == "name") {
name = nodeID.firstChild.nodeValue;
trace(name);
}
if (elementID == "time") {
time = nodeID.firstChild.nodeValue;
}
if (elementID == "location") {
location = nodeID.firstChild.nodeValue;
}
}
eventTime += time+newline;
eventName += name+newline;
eventLocation += location+newline;
}
}
}
many thanks
Duplicate Movie Clip BEHIND
wow, I havent been here for a while... musnt have cleared out my cookies since last time though because I am still logged in
Anyway, I have been working on a banner for a new website... and I would really like to be able to have a movie clip (instance name "flash) to be duplicated behind all other layers... I have tried using a depth of -1 - but it still comes up on the top...
if its possible to have some action script like "send this MC to the back" or something, that would be sweet too
thanks XD
Duplicate Movie Clip
Hello.
I am making a game. In this game there is a movie clip.
Inside the movie clip there are two frames.
In the first frame, there is a button.
When you click on the button inside the movie clip,
you go to the second frame, which has another movie clip animation inside.
When you click on the button inside the movie clip,
you also get one extra point. I want to make the movie clip to duplicate itself at once time after time, and to show up in a different spot everytime.
What is the action script that I need to write?
Thanks, Neo.
Duplicate Movie Clip
Code:
duplicateMovieClip(car_bad, car_bad, ???)
what do you put in the depth section?
is this what tells it where to put the duplicate?
if not, how do you tell it where to put the duplicate?
|