Le 25 juil. 05 à 18:02, Allen, Christopher S. a écrit :
I'm glad that my example helped you
Learning ActionScript is a real pain for me... I had to learn a lot
of tricks to get running - but thanks to people like you, the
learning process can get much easier and fun :)
Do you know how to specify the area in which a movie clip can react
to events ?
I think that you are looking for the hitArea property of the
MovieClip class.
http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/
common/html/
wwhelp.htm?context=Flash_MX_2004&file=00001515.html#3999202
The link does not work on my system (the page freezes), but I looked
at the description (<http://www.macromedia.com/support/flash/
action_scripts/actionscript_dictionary/
actionscript_dictionary533.html>) and I tried to assign the hitArea
to this (this.hitArea = this), which didn't change anything.
I think that I will have to make the test manually, but this bothers
me as there are hundreds of MovieClips that will have to do this
test, so I would have prefered it to be directly handled by the Flash
player for optimization purpose.
Cheers,
-- Sébastien
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org