two doubts
1. What role can be attributed to add / remove an object? I believe it is necessary to convert it to MoveClip ... But I have not found an exact function.
I saw some posts where users use "removeChildren" But I do not know if that's what my question is.
Could anyone help me with these little problems? Grateful.
2. How can I be assigning a random selection function? I will give an example, but I do not think that works in actionscript this way.
var luck = random(2);
if(luck == 1) {
action;
}
if(luck == 2) {
action2;
}
...
If the function would be called with the event of a "draw" between the numbers 1 and 2, which are predefined in the random variable.
Could anyone help me? Grateful
