3 Replies Latest reply: Oct 26, 2010 7:13 AM by Andrei1 RSS

    External interface or transparency

    Smitch1581 MeganK

      Hi all i was hoping some one can help me shed some light on an area i am baffled by?!

       

      I have created a peelback advert that peels down from the top right. All is well apart from it it obstructs the user ability of the site underneath as the peelback advert is effectively over the top. I have been giving some guidlines to stop this but i am struggling to understand them. The instructions specificall say that the file must be set with the transparent parameter.

       

      Here are the options that i have:

       

      OPTION 1:

      import flash.external.ExternalInterface;

      // Function executed in answer to the event

      function onClic(pEvt:Event):void {

      ExternalInterface.call("pub_ist_hd");

      }

      ButonClose_btn.addEventListener(MouseEvent.CLICK, onClic);

      // CloseButon_btn is an example of button occurrence name in the creative

       

      OPTION 2:

      import flash.external.ExternalInterface;

      // Function executed in answer to the event

      function onClic(pEvt:Event):void {

      ExternalInterface.call("xClose");

      }

      CloseButton_btn.addEventListener(MouseEvent.CLICK, onClic);

      // CloseButton_btn is an example of button occurrence name in the creative

       

      OPTION 3

      import flash.external.ExternalInterface;

      // Function executed in answer to the event

      function onClic(pEvt:Event):void {

      ExternalInterface.call("corner_hide");

      }

      CloseButton_btn.addEventListener(MouseEvent.CLICK, onClic);

      // CloseButton_btn is an example of button occurrence name in the creative

       

      OPTION 4:

      import flash.external.ExternalInterface;

      // Function executed in answer to the event

      function onClic(pEvt:Event):void {

      ExternalInterface.call("corner_show");

      }

      OpenButton_btn.addEventListener(MouseEvent.CLICK, onClic);

      //OpenButton_btn is an example of button occurrence name in the creative

       

      I think it could be the latter two that i need but am not entirely sure, i have tried them but have failed in my attempts?!

      If this is definetly the way to do it i will persevere! If these are not the way, what does the corner_show/hide method method do?

       

      Any help would be greatly appreciated

       

      Thank you:-)