Hi,

Le 25 juil. 05 à 17:27, Allen, Christopher S. a écrit :

You can't instantiate MovieClips with the new operator. You need to use
attachMovie() to get it to work.

Thanks a lot, the example you gave me just worked. I understood why I had troubles making Peter Joel's solution: I forgot to prefix the symbol name with "__Packages".

Now, I encounter another problem: rollOver/rollOut work differently than mouseDown/mouseUp. While rollOver/rollOut are only triggered when the movie clip has mouse focus, the mosueDown/mouseUp event handlers are triggered even when the movie clip has no mouse focus. So if I have more than one instance of this movie clip class, they all react as if clicked, while only one or no is actually clicked.

Do you know how to specify the area in which a movie clip can react to events ?

 -- Sébastien
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to