how i can duplicateMovieClip with diffrent color?
random color?...
preloader 1 2 3 4 | pop-up help | play-by-variable | dynamic anchors | slow motion | asfunction | text scroller 1 2 | pause | embed dynamic images | yahoo! maps 1 2 | paypal 1 2 | resize broswer | attachClip 1 2 | embedVar > flash | urlVar > flash 1 2 3 varObject | textFile-by-date | fake expire | save-2-text | reverse 1 2 | sharedObject 2 | xml 101 | resetBrowserSB | fullScreen z-index | resize flash 1 2 | deepLink | clipLoader | toggle | ip | setTimeout
Code: var d = 0; var mc = firstClip.duplicateMovieClip("newClip" + ++d, d); // create a duplicate of the mc firstClip new Color(mc).setRGB(Math.random() * 0xffffff); // turn this duplicate a random color
var d = 0; var mc = firstClip.duplicateMovieClip("newClip" + ++d, d); // create a duplicate of the mc firstClip new Color(mc).setRGB(Math.random() * 0xffffff); // turn this duplicate a random color
Antonetti in '09
Forum Rules