Flash Video Player

Keeping track of the MovieClips using Arrays

by admin on August 16, 2007 · 0 comments

in Drawing with Actionscript 3, Flash CS3, Tutorials

Maybe you will have notice that I often create Arrays into which I insert MovieClips even when not necessary.
It is true that I do have this habit but this technique has saved me more then once out of trouble.

In the following example, I will draw in runtime using the interval ENTER_FRAME .  I will create a MovieClip for each interval iteration and then apply to them successively a fade out before removing them completely.

Also, we will see a variant of an article posted before, as I will apply the same technique used by an user of FlepStudio (Ignazio) to overcome the problems encountered with the method ‘removeChilAt’.  You can read more about this technique in the thread posted on FlepStudio’s forum ( sorry it’s italian ) .

Let us take a look at the example…

Read all

Share This Post

Related posts

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">

Older post: Positioning shapes using a loop

Newer post: SharedObject