Hi Muzak,

I have just tried this and still get the error.

Screenshot of error:
http://www.mikecann.co.uk/DumpingGround/AS2_Problem01.png

Example Code:
http://www.mikecann.co.uk/DumpingGround/AS2_StrippedBare_SneakyButton.zip

Also there is another problem. If you click outside of the masked area of
the advert it still registers it as a click on the loaded movie!?!

Anyone else any ideas?



2008/12/3 Muzak <[EMAIL PROTECTED]>

> 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
>



-- 
Mike Cann
http://www.mikecann.co.uk/
http://www.artificialgames.co.uk/
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to