Ok. I am making a website: left hand side= color samples.
RHS= 40 polka dots to make your own design.
click on the color samples and they setRGB the dots. I got that part.
The dots however have to be individually draggable. The dots currently are instances of one movie clip. They don’t drag individually. They drag as a group!
Furthermore, I want to make a scramble function using Math.random, so when you press a button the polka dots arrange in a random pattern AND change colors from a ten color-sample spectrum.
I have individual bits of code but nothing works in conjunction with each other.
Should I just make a basket of lots of dots for each color sample so the user can individually drag them out and create his design, instead of having a set number of dots? What the hell should I do. Anyone with help would be saving my arse.
Another problem–lets say the user creates a design with the dots and wants exactly those colors he’s chosen? How do I retrieve the properties and load them for my viewing?
Ok—I already got the dragging part, figured out I couldn’t do it with onClipEvent, had to put buttons in the mc’s. But question–where do I hang the Duplicate mc code, AND how do I get the dots to change color according to a 10 color spectrum? Let’s say I have 24 dots and they could randomly be any set of 10 colors. I looked at the random color tutorial but this has a completely random spectrum–I just need it to be limited to 10 colors.
THANK YOU anyone who takes the time to figure this bs out.
Suzie
Ok, does the new array go onto the main timeline or onto the polka dots or onto the button that duplicates the polka dots? I am confused. Sorry.
plus, the duplicate mc code is just not working for me. I am putting it on the dot, enterFrame it should duplicate. AND it should become draggable, but that’s not happening either. I have no idea what I’m doing wrong. I tried putting hte code on the main timeline, changing the mc’s to buttons, etc, but nothing seems to work. ARGH.