Hello.
I really didn’t want to post this thread. As I identified on the “Welcome” thread, I’m a “devsigner” (as someone here put it) who, while there’s nothing wrong with that designation, is working to become something more.
http://www.brazil.com.bz/test/circle4.htm
Attached is a very simple application that I’ve built, trying to get something working. You see 4 blue quadrants of a circle, plus 8 color buttons. All I’m trying to do is be able to click on one of the quadrants (to select it), then click on a corresponding button which would then color the quadrant. For instance, I might click on the lower right quadrant, then click on the purple button, thus turning that particular quadrant purple. Then if I click on the green button, the quadrant turns green, and so forth. I’d be able to change colors to my hearts content until I click on a different quadrant, say, the lower left one, and then start the colorization process described above all over again.
That’s all.
I’ve worked and worked to try and get the proper variables, definitions and functions for this but to no avail. I think my issues are:
-
Properly defining the quadrant movie clips to get them to behave as buttons (the quadrants are named “qu1, qu2, qu3 and qu4”).
-
Setting up the formula where once a quadrant is selected, the color button loads a movie clip with the corresponding number of the quadrant selected.
-
Properly defining the function “ChangeQuadrantColor” to do item 2.
-
(Caveat: I want to use movie clips, not the colorTransform option, here.)
I’m reading Colin Moock AS3 book every night, and AS2 is getting farther and farther away in my rear view window. However, this hump is really hurting me. If anyone can help me understand what to do here I cannot express my gratitude adequately.