7 Replies Latest reply on Oct 16, 2015 9:58 AM by peadarh28337775

    Disposing of Webview (Air for desktop 3.4)


      I am building a desktop (windows) application for the kids I teach using flash professional. I am a total newbie and am learning as I go. Basically I need they open a scene and it displays a website page using the code shown below. That works 100% To click away from the site they click a button that navigates through the timeline. The problem is I havent been able to dispose of the stage.Webview and that remains on top of the other scenes. Can you guys help? What am I doing wrong. As stated above I am a newbie so would appreciate any help.


      stop ();


      wView = stage.stageWidth;


      hView = stage.stageHeight;


      swv = new StageWebView();


      swv.viewPort = new Rectangle(0,75,wView,hView);




      swv.stage = this.stage;



      button_5.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_4);



      function fl_ClickToGoToAndStopAtFrame_4(event:MouseEvent):void