Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 11-20-2005, 08:48 PM   #1
Registered User
Join Date: Apr 2004
Location: France
Posts: 52
Default MovieClip mouse events & recursivity


Let's say we have the following movieclips:


now, if we add mouse events to the subclips, let's say
_root.clip.sub_clip1.onPress = function(){...} , it works

but if we add a mouse event to _root.clip, like
_root.clip.onRollOver = function(){...}
All the events associated to subclips are disabled...

my dirty workaround is to associate the same mouse event to all the subclips of the tree, but it becomes rapidly a big mess...

Could anyone tell me if there is a clean way to do this?

gring is offline   Reply With Quote
Old 11-20-2005, 10:40 PM   #2
Registered User
Join Date: Apr 2004
Location: France
Posts: 52

found this: http://www.senocular.com/?id=1.286
gring is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Combo box causes events not to trigger in movieclip? lkelly Components 1 11-08-2005 08:53 PM
Events for MovieClip instances charlie83 ActionScript 2.0 3 10-31-2005 02:12 PM
creating a movieclip transparent to mouse terek ActionScript 2.0 2 10-07-2005 03:33 PM
Dragging mouse and a movieclip stoimen ActionScript 2.0 4 06-21-2005 09:38 PM
to activate 2 different mouse events on the same area? pitale ActionScript 1.0 (and below) 3 01-21-2003 08:16 PM

All times are GMT. The time now is 10:00 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.