Flash Banner AS3

This is a Flash Example saved in the AS3 format.

Here is the AS3 code:

Create your close button with the MC named – “slide_instance_name”

Then add this code on the first frame.

slide_instance_name.addEventListener(MouseEvent.CLICK, fl_MouseOverHandler); function fl_MouseOverHandler(event:MouseEvent):void { var r:URLRequest = new URLRequest(“javascript:banner5.hide();”); navigateToURL(r,’_self’); }