simple way to removeChild all
Hi friends,
Mostly AS3 developers, make a dummy container to remove all child. In your particular class its not necessory by code.
while(holder.numChildren) { holder.removeChildAt(0); }
Posts Tagged ‘ all ’
Hi friends,
Mostly AS3 developers, make a dummy container to remove all child. In your particular class its not necessory by code.
while(holder.numChildren) { holder.removeChildAt(0); }
Hi friends,
In AS2 To stop all sounds playing in the movieĀ is easy by stopAllSounds().
Now in AS3, what is the way to make this?.. Here I have given you the solution.
First you have to import the particular class.
import flash.media.SoundMixer;
.
Then call the static method when you required this.
SoundMixer.stopAll();
M | T | W | T | F | S | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |