Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

duplicateMovieClip without original on stage

Status
Not open for further replies.

haslo

Programmer
May 17, 2001
319
CH
Hi everybody

I was trying to create a mc instance without having the original on stage - but I've run into some problems here. It works just fine if I have the original (call it "clip", i being an index) in the active timeline:

Code:
duplicateMovieClip("clip", "clip" + i, i);

Now if I don't want the first "clip" instance on stage, what do I have to do? I don't want an action script just duplicating what's already there, that's not too creative :cool:

Thanks in advance
allow thyself to be the spark that lights the fire
haslo@haslo.ch - www.haslo.ch​
 
Hi again

I figured it out. The trick was to use
Code:
attachMovieClip
, not
Code:
duplicateMovieClip
, and export the mc first in the librairy.

Sorry about my being so impatient... s-)
allow thyself to be the spark that lights the fire
haslo@haslo.ch - www.haslo.ch​
 
Guess you could of used duplicate, by having your clip on stage, but off the visible stage, if you see what I mean!

Regards,
new.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top