×

Discussion Board

Results 1 to 4 of 4

Thread: WGZ and Exit

  1. #1
    Registered User
    Join Date
    May 2009
    Location
    Nairobi, Kenya
    Posts
    42

    WGZ and Exit

    Good day guys,

    Just a quick one. Anyone got code snippets on exiting a Flash Lite application packaged as a web run time widget (WGZ) for S60 5th edition. The fscommand 2 way doesn't work for some reason.

    Thanks

  2. #2
    Regular Contributor
    Join Date
    May 2007
    Location
    Finland
    Posts
    134

    Re: WGZ and Exit

    Code:
    import flash.external.*;
           ExternalInterface.call("window.close”);
    Last edited by Risalmin; 2011-05-02 at 09:43.

  3. #3
    Nokia Developer Champion
    Join Date
    Jul 2008
    Location
    Pakistan
    Posts
    1,065

    Re: WGZ and Exit

    or
    In AS 2:
    Code:
    getURL("javascript:window.close()");

    and AS 3:
    Code:
    var u:URLRequest = new URLRequest("javascript:window.close()");
    navigateToURL(u)

    Best Regards,
    SajiSoft
    Last edited by sajisoft; 2011-05-04 at 06:34. Reason: addition

  4. #4
    Registered User
    Join Date
    May 2009
    Location
    Nairobi, Kenya
    Posts
    42

    Re: WGZ and Exit

    Thanks guys.

Similar Threads

  1. Aptana Studio and Install .wgz file on mobile
    By neel.soft in forum Symbian
    Replies: 8
    Last Post: 2009-02-12, 06:03
  2. Replies: 1
    Last Post: 2006-06-16, 10:27
  3. difference between User::Exit and AppUi:Exit ?
    By rishikum in forum Symbian
    Replies: 4
    Last Post: 2006-03-07, 09:44
  4. Difference between Exit() and User::Exit(0)?
    By mayur_24 in forum Symbian
    Replies: 1
    Last Post: 2004-06-30, 08:28

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×