duplicating movieclips

This is a discussion on "duplicating movieclips" within the Flash & Multimedia Forum section. This forum, and the thread "duplicating movieclips are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Apr 13th, 2005, 03:48
New Member
Join Date: Apr 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
duplicating movieclips

How do I control were the movieclip duplicates to?

  #2 (permalink)  
Old Apr 13th, 2005, 19:34
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
In terms of screen x, y, co-ordinates? You can't!

But you can change those x, y co-ordinates as soon as the movieclip is created, by using setProperty();
  #3 (permalink)  
Old Apr 14th, 2005, 07:10
New Member
Join Date: Apr 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
?

but what dose it all mean bazel?
how do i set the x y?

clipEvent blah blah bla {
duplicatMovieClip (this, newname, [??????)

see the skinny is I need a bullet, and lots of em, so i figure what beter way than this?
You reading me major Tom?
  #4 (permalink)  
Old Apr 14th, 2005, 10:19
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
In the Actionscript reference library, it has:

setProperty("target", property, value/expression);

So you would want:

setProperty(newname, _x, 0);
setProperty(newname, _y, 0);
  #5 (permalink)  
Old Apr 14th, 2005, 18:27
New Member
Join Date: Apr 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
ok thanx that helps alot but wut about the depth
on the duplicate ovie clip
the bullet replaces itself and i need a bunch at the same time
i know i gota use random(); and a variable somhow
  #6 (permalink)  
Old Apr 14th, 2005, 18:56
New Member
Join Date: Apr 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
oh god
its bad sarge
theres movie clips everywere
when i close my eyes thats all i see....
  #7 (permalink)  
Old Apr 14th, 2005, 22:42
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
math.random(); I think...
Or if you're using MX 2004 - Math.random();
(capital M on Math).
Closed Thread

Tags
duplicating, movieclips

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Script Duplicating tox0tes PHP Forum 1 Aug 27th, 2007 21:38
external movieclips master_phat Flash & Multimedia Forum 1 Apr 18th, 2005 16:25
movieclips~ master_phat Flash & Multimedia Forum 2 Apr 6th, 2005 01:49


All times are GMT. The time now is 07:46.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43