It's been years since I worked with Flash 3, so please forgive me. Flash 5 seems less intuitive.
I have poured over books and online help and forums for an answer to this simple problem.
Let me tell you what I have done. I have a button symbol saved as a button, and a simple box symbol saved as a movie. I have given the box an instance name of "box". The box is on it's own layer for 15 frames it does not change at all. The button is also on its own layer and I have used the following action script in an effort to modify the box.
I've tried placing the symbols on the same layer and on different layers with keyframes in the same frame. I've altered the code, but this seems to make most sense to me
on (release) {
color = new Color(box);
color.setRGB( 0xff0000);
}
here is a URL that demonstrates what I'll want to do when I figure this out.
except I'll want to have each color activate a sub menu, and the sub menu will change the colors of my diagram.
Any help would be greatly appreciated.
thanks, Gary
I have poured over books and online help and forums for an answer to this simple problem.
Let me tell you what I have done. I have a button symbol saved as a button, and a simple box symbol saved as a movie. I have given the box an instance name of "box". The box is on it's own layer for 15 frames it does not change at all. The button is also on its own layer and I have used the following action script in an effort to modify the box.
I've tried placing the symbols on the same layer and on different layers with keyframes in the same frame. I've altered the code, but this seems to make most sense to me
on (release) {
color = new Color(box);
color.setRGB( 0xff0000);
}
here is a URL that demonstrates what I'll want to do when I figure this out.
except I'll want to have each color activate a sub menu, and the sub menu will change the colors of my diagram.
Any help would be greatly appreciated.
thanks, Gary