Discussion Board

Results 1 to 4 of 4

Thread: WGZ and Exit

  1. #1
    Registered User Seth Muriithi's Avatar
    Join Date
    May 2009
    Location
    Nairobi, Kenya
    Posts
    42
    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
    Nokia Developer Moderator Risalmin's Avatar
    Join Date
    May 2007
    Location
    Finland
    Posts
    134
    Code:
    import flash.external.*;
           ExternalInterface.call("window.close”);
    Last edited by Risalmin; 2011-05-02 at 09:43.

  3. #3
    Nokia Developer Champion sajisoft's Avatar
    Join Date
    Jul 2008
    Location
    Pakistan
    Posts
    1,062
    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 Seth Muriithi's Avatar
    Join Date
    May 2009
    Location
    Nairobi, Kenya
    Posts
    42
    Thanks guys.

Similar Threads

  1. Aptana Studio and Install .wgz file on mobile
    By neel.soft in forum Symbian Web Runtime
    Replies: 8
    Last Post: 2009-02-12, 06:03
  2. thread was stop and exit for EExitPending exit type
    By dznlong in forum Symbian C++
    Replies: 1
    Last Post: 2006-06-16, 10:27
  3. difference between User::Exit and AppUi:Exit ?
    By rishikum in forum Symbian C++
    Replies: 4
    Last Post: 2006-03-07, 09:44
  4. Difference between Exit() and User::Exit(0)?
    By mayur_24 in forum Symbian C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved