View Full Version : Erasing using paint program
Rafi33
May 19th, 2003, 09:45 PM
Hey everybody..watsup....its getting kinda warmer now...I got this paint program using set rgb and get rgb where a person cliks different parts of an object and it changes color...now, i was wondering how i could give the user the option to erase all the colors..like have a button and once the click it the object goes back to its colorless state....thanks dudes and dudets...)
sinfiniti
May 20th, 2003, 12:06 AM
create an array of references to the clips, then use a 'for' loop to reset the color object of each clip.
if all clips are in a container clip use a 'for in' loop to reset the color object of each clip.
you could always create a blank keyframe and play through it to reset the colors - that would be simplest.
hmm...that's three ways, there are probably more out there.
have a nice day,
jeremy
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.