Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: color problem
From: john hamman
Date: Wed, 25 Oct 2000 15:42:35 +0100

can anyone see why ggg and bbb arnt changing in this loop. the frame after
this tells it to go back to this frame and play.
im trying to make the duplicate movies color change. so that every duplicate
changes by a little bit. till it becomes red.


duplicateMovieClip ("li0", "li" add i, 900-i);
setProperty ("li" add i, _xscale, getProperty("li" add (i-1),
_xscale)+i*alpha);
setProperty ("li" add i, _x, getProperty("li" add (i-1), _x)+i*alpha);
setProperty ("li" add i, _yscale, getProperty("li" add (i-1),
_yscale)+i*alpha);
setProperty ("li" add i, _alpha, 10-i*(10/50));
ggg = 167 - number(i);
bbb = 81 - number(i);
myColor = new Color("li" add i);
myColorTransform = new Object();
myColorTransform.ga = ggg;
myColorTransform.ba = bbb;
myColor.setTransform(myColorTransform);
i = Number(i)+1;




John Hamman
motion designer

Two Rivers
Multimedia Solutions
5000 new point road
williamsburg Va 23188
757.220.2396.tel
757.220.5594.fax



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save £200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]