This content has been marked as final. Show 3 replies
create your square movieclip. create a 1 degree sector (pie shaped) with its registration point at the "v". create an empty moviecilp to mask your square. as loading progresses, attach and rotate your sectors to your mask.
Thanks for the response, kglad. Using your advice, this is what I'm thinking.
I'd have to create a wedge that is 3.6 degrees, since I want one wedge to appear per percent loaded (3.6 degrees x 100 (%) = 360 degrees). I'm not too familiar with using ActionScript to draw. How would I be draw a wedge that is precisely 3.6 degrees and further, how would I attach a new instance of it right next to the last one made. Currenly I have my movie clip loading when loadedBytes/totalBytes = 100, so I know I can add one wedge per loadedByte.
Thanks again. You've responded to some of my other posts in the past and I value your insight.
i would use the drawing api to create the sector because my artistic skills are somewhat difficient. (actually, they're close to non-existant.)
you're just going to use an angle of Math.PI/50.