i want to draw approx 40 curves using the draw method. but i want them to each draw one after the other, not at the same time. i then want them to dissapear one at a time. what is the best way to do this?
probably setInterval
create a function that draws each curve na dste an interval that executes it.
function drawingCurves () {
// insert ur drawing assets here
}
intervalId = setInterval (this, "drawingCurves", 500);
// with 500 being the interval in milliseconds
Hope it helps
my problem actually lies in clearing the curves, when i use clear() it clears all the curves. how can i avoid this?
You’ll have to create a movie clip for each curve and remove them sequentially.