Hello All
I know, the title is not representative, but I have no clue what title would fit to my problem.
I am trying to get back to Flash and AS. So I thought I try to do a small project, just to get the feeling back.
As a result I got the attached .fla with 4 classes. Additionally I use TweenLite.
Now, if you open the .swf file you can clearly see, that it works, except for the lower right field (which should turn orange as well).
(On a second matter, the lower right field is always the last one, I guess I screwed up my random formula…If you have any Idea how to fix this let me know, thanks )
I found out, that in the for loop the 10th field is instantiated, but not correctly created. The function createRect is never called, according to the debugger. The object has no name, it has no additional Child nothing. But the DropShadow is drawn.
I just cannot figure out why that happens.
If anybody could take a look at this, I would really appreciate it.
Also, because it’s my first OOP-project, I would be happy to receive whatever critique or comments you can spare I think it’s best to get rid of all bad habits before they sink in.
If you need any more information, please let me know
Cheers H.2.O
As an additional Info to the project: I think it’s clearly visible, that this should become a preloader animation. Because I have nothing to preload I wrote the function incPerc in Preloader.as which simulates the whole preloading of data.