Oops. I responded to the wrong thread, I'm sorry. :(
That being said, perhaps rethinking your approach would help. There's a
tutorial on Kirupa about managing z-order stacking of movieclips which
might contribute to a solution.
http://www.kirupa.com/developer/actionscript/3dexplore.htm
PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vishal Kapur
Sent: Thursday, February 08, 2007 11:19 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] determining which object is displayed at
agivenpoint
Ok. This is what I was missing. Thanks to Karina and Erik for
pointing out
this helps to point you in the right
direction.
Karina
-Original Message-
From: Vishal Kapur [mailto:[EMAIL PROTECTED]
Sent: 07 February 2007 20:29
To: Flashcoders mailing list
Subject: Re: [Flashcoders] determining which
object is
displayed at agivenpoint
To: Flashcoders mailing list
Subject: Re: [Flashcoders] determining which object is displayed at
agivenpoint
It looks like you spent some time on this response, I really
appreciate that. As I mentioned in my first mail, depth, _visible and
_alpha are the properties I'm checking right now to resolve
-
From: Vishal Kapur [mailto:[EMAIL PROTECTED]
Sent: 07 February 2007 01:26
To: Flashcoders mailing list
Subject: Re: [Flashcoders] determining which object is
displayed at agivenpoint
Ok, got it. Thanks for the suggestion. I tried this but it
doesn't work with the third
much more then setting an onRollOver.
-erik
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jason Boyd
Sent: Wednesday, February 07, 2007 11:43 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] determining which object is displayed at
agivenpoint
I think the class I wrote works well enough, I actually pulled it out of
an app I'm working on with complex rollovers like that. Why not
consider my way? It's simple, easy and, most importantly, it works. It
hardly takes any processing power, too.
Ok. This is what I was missing. Thanks to Karina and Erik for
pointing out that you need to compare the entire parent chain of two
objects to figure out which one is being rendered above the other.
The only thing to add is that in addition to checking depths, the
_visible property needs to be
- and then switching it on again.
This might be the least processor-intensive way of doing this.
Cheers,
Karina
-Original Message-
From: Vishal Kapur [mailto:[EMAIL PROTECTED]
Sent: 07 February 2007 01:26
To: Flashcoders mailing list
Subject: Re: [Flashcoders] determining which object
mailing list
Subject: Re: [Flashcoders] determining which object is
displayed at agivenpoint
Ok, got it. Thanks for the suggestion. I tried this but it
doesn't work with the third-party flash movie I am looking
at. They have an movie clip with _alpha set to 0 that covers
the stage
:[EMAIL PROTECTED]
Sent: 07 February 2007 19:43
To: Flashcoders mailing list
Subject: Re: [Flashcoders] determining which object is
displayed at agivenpoint
I've been following this thread and am just curious --
everyone seems to be assuming that looping through all clips
and doing hitTest
-Original Message-
From: Vishal Kapur [mailto:[EMAIL PROTECTED]
Sent: 07 February 2007 20:29
To: Flashcoders mailing list
Subject: Re: [Flashcoders] determining which object is
displayed at agivenpoint
To respond to the recent activity on this thread:
Erik, the core functionality that I
: 07 February 2007 20:29
To: Flashcoders mailing list
Subject: Re: [Flashcoders] determining which
object is
displayed at agivenpoint
To respond to the recent activity on this
thread:
Erik, the core functionality that I need really
does need to
be comprehensive and fairly
the position of the mcs
you really care about.
-erik
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vishal Kapur
Sent: Tuesday, February 06, 2007 5:26 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] determining which object is displayed at
agivenpoint
14 matches
Mail list logo