Hmm....

Doesn't sound like the most efficient way to go about solving the
issue you are trying to resolve (which I don't know, but I can guess
what it is).

>From what I know, you'd have to manually add those to an array, you
can do that by adding a function like registerEventListener(type,
listener, mc) that would do the addEventListener and then add it to an
array which you can loop through later.

However, if you are just trying to disable all the clickable things in
your movie when let's you are waiting for a response back from your
server, i would just overlay an mc that spans the entire canvas and
set that mc's mouseChildren property to false, which would effecitvely
render all your buttons/mcs with click events unable to receive those
events.

If it's AS2 (not AS3), you can use the same approach, but you don't
have to set the mouseChildren property as obviously any mc's
underneath wouldn't be clickable.

- Taka

On Thu, Mar 12, 2009 at 2:18 PM, Marcelo Wolfgang <[email protected]> wrote:
> Hi all,
>
> Well the title says everthing, I need to know if I can loop over all
> mc's in a movie and add them to an array so I can enable/disable the
> onRelease event based on some conditions.
>
> TIA
> Marcelo Wolfgang
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to