Anna,
   Whether it's MouseEvent or Event makes no difference - since the
MouseEvent class is derived from Event, either will do unless you
actually want to access properties/methods defined only in MouseEvent.

Sajid,
   As Latcho says, you need something graphical to click on. You could
use the .graphics member to draw a box on screen, using
beginFill/drawRect/endFill. This could be made invisible by setting
.alpha=0.

There are other options - depends really on what you're trying to do.
Adding a listener to the stage object would be one solution.

Incidentally, unless you need a timeline/multiple frames for your
clip, you can use a Sprite instead of a MovieClip as the parent
object. Sprite is just like MovieClip - just it doesn't have a
timeline. It's the generic use-for-everything visual class of AS3,
whereas MovieClip was the equivalent in AS2.

HTH,

Ian

On Tue, Aug 18, 2009 at 4:33 AM, Sajid Saiyed<sajid.fl...@gmail.com> wrote:
> Hi Anna,
> Thanks.
> Forgot to mention that I tried MouseEvent as well and no luck :(
>
> Seems so strange....
> I am sure I am missing something basic here.
>
> Sajid
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to