Flash help
- Started
- Last post
- 7 Responses
- bigface
Here's the situation, I have a flash professor that's being a real bitch. It's an Actionscripting course. I turned in my project propsal last week and she told me that she hasn't got to it yet, but she has given feedback to all the other students and they've been able to move on to UI design, ect.
The long and the short of the situation is that i'm just going to move on with my project(UI design, developing the logic behind the interactivity, etc.) Now mind you, I'm a rookie at Actionscripting, but I have a pretty good grasp of it and I have a good book.
What I need from you guys is a little help so that I can crush this professor with my idea come Monday.
I would like to give my audience the ability to customize a sneaker...you know coloring different regions of the shoe by choosing from a color palette.
The question is, how would I isolate the different regions on the shoe so that it populates with the color the audience chooses. I was thinking that each part of the shoe would have to be its own movie clip? I know it's a lot to ask, but any help from this community would be great.
- alloyd0
yep, separate everything into MC's inside of a parent movieclip (mc that holds all of them).
then do whateva to each clip.
- UndoUndo0
alloyd right and then you can use
my_color = new Color(my_mc);
my_color.setRGB(0xRRGGBB);to set the colours
check the color object in flash help and it will give you some examples
- bigface0
thanks fellas!!
- joyride0
Man, I've seen a tutorial on this type of thing. Only it changes the color of the car to whatever you pick. hrmmm... i don't think it was at flashkit... maybe kirupa or ultrashock. But it should be doable for ya.
- Mick0
You don't have to use the color property if you don't want - just put each color (or even different textures or patterns) in seperate frames of each element's movieclip and goto the next frame of that MC. That way you're not limited to just changing color.
- UndoUndo0
the car tut is actually in Flash's tuts but Micks idea is veru easy and you get textures