I went to
and did the tutorial on "External SWF Preloading". Now, in that
tutorial, external SWF-files are loaded with the MovieClipLoader.
The good thing that I love is that the loader is in the main file
and doesn't have to be included in all of the external SWFs. The
problem is that the tutorial only covers how to indicate the
progress with a dynamic text field. Instead, what I want to do for
my own website is to use a movieclip or an animation, of a circle
being filled more as the progress reaches 100%. I found a tutorial
on flashkit where there was a circle in a movieclip, and over 100
frames there was a mask revealing more of the circle as the loading
progressed. However, that was a real preloader, not controlled with
the same kind of actionscript as the one I went through. So my
question is, how can I do that with this actionscript? Lets say
that I have a movieclip, and inside that is a circle on one layer,
and on top of that layer is another layer with a mask. The
animation is "stop motion" and uses 100frames. How can I use that
instead of the "percent.text" that I have posted here:
I've also tried it with _root. in front of mc_circle without
any luck. and finally "loader.mc_circle.gotoAndStop(percent);"
because i figured that "loader" was the instance name of the
clip in which the mc_circle is placed. Im still not getting this
Thanks in advance. I really hope I was able to explain my
A first it didn't work. I had to add "loader." in front of
mc_circle, since the clip is inside another clip called "loader".
That's because I need to hide the entire clip called "loader" when
the loading is finished.
Here is the fix for everyone to see: