Use the (very) old invisible button trick.
So create a "Button symbol" with only the "hit" state (keyframe) defined and put that on top of the movieclip that holds the loaded swf.

----- Original Message ----- From: "mike cann" <[EMAIL PROTECTED]>
To: "Flash Coders List" <flashcoders@chattyfig.figleaf.com>
Sent: Wednesday, December 03, 2008 3:07 PM
Subject: [Flashcoders] [AS2] Catching clicks in child clip?


Hello List,

I have been forced to go back to AS2 recently for a work project and oh my
is it annoying me.

Part of the project I am writing a simple advertising loader, its basically
just a swf that loads other swfs into it.

The problem is that the adverts that are loaded in sometimes contain clicks
within them so without access to the source code i need a method of
preventing those clicks from happening.

To my knowledge this should be doable by implementing a cover over the top
of the loaded swf with a onPress, onRelease etc functions defined correct?

Well for some reason this isnt happenining.

See the source output below. You can download the project here:
http://www.mikecann.co.uk/DumpingGround/AS2_StrippedBare.zip



_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to