|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Ok, so this time my project is ALMOST completely finished on time.
I have it so that the user can click anywhere on the canvas, and when they do it leaves a dot with the color resulting from the x/y coordinate values (x=green, y=blue). Every time they click, the coordinates are supposed to go into arrays (an array for the X, and array for the Y). However, my trace command doesn't show any values coming up. The data in the array will be used to draw a line connecting the dots in the order in which they were placed. Once again, my project site http://dma.sjsu.edu/~art101b/asiegel/ . The final version I was working on with code for drawing the dots is in version three.five which I havn't linked to on the site yet. Any help would be greatly apreciated, especially if I have time to reflect upon it before noon tomorrow (pst). Thanks! |
|
#2
|
|||
|
|||
|
Hi, I've attached the updated version. Do you think I would pass your course? :¬)
Things I did: Created both arrays in root. Look on the frame were you commented everything out. Then I simply made the button update the arrays in root. |
|
#3
|
|||
|
|||
|
I'm pretty sure you would have little trouble with this class. However these are just exercises to get us used to working with different properties of Flash MX. Once we start working on our real projects later, the core focus will be more on conceptual ideas and new media art theory. This is the Art & Information class, so we'll probably be dealing a lot more with data handling in the projects to come.
The arrays make sense to me now, and I understand that they have to be within the same scope, but I'm still not sure why I can't even click on the "Draw" button. The arrays function properly, but it's not shown in the movie unless you have the trace output window open. |
|
#4
|
|||
|
|||
|
Hi, sorry didnt thought that was just the title as it didnt do anything. Ok go into the button. For the first frame and the second turn the text to be static and non selectable. I think the non-selectable thing isnt enabled anyway for static text. that gets it working straight away.
|
|
#5
|
|||
|
|||
|
Try this out on the button as well:
createEmptyMovieClip("Line",coordx.length+1000); It's not the best solution but it works for now :¬) |
|
#6
|
|||
|
|||
|
Hi, here it is.
|
|
#7
|
|||
|
|||
|
thanks, but I figured it out in class. Stupid ****in dynamic text.
|
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > connect the dots |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|