OhSuzie
June 24th, 2003, 12:50 PM
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?
:link:
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?
:link: