×

Discussion Board

Results 1 to 7 of 7

Hybrid View

  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    3

    How to turn off/on the Nokia display using ActionScript in Flash Lite?

    How to turn off/on the Nokia display using ActionScript in Flash Lite? If such command is not provided by Flash Lite, maybe it is available to use external script via fscommand? Where can I get this script?


    Thank you.

  2. #2
    Registered User
    Join Date
    May 2010
    Posts
    3

    Re: How to turn off/on the Nokia display using ActionScript in Flash Lite?

    And one more thing. It is also important to keep flash working and sensitive for pressing buttons when display is off.

  3. #3
    Registered User
    Join Date
    May 2010
    Posts
    11

    Re: How to turn off/on the Nokia display using ActionScript in Flash Lite?

    Quote Originally Posted by zefik View Post
    And one more thing. It is also important to keep flash working and sensitive for pressing buttons when display is off.
    - I'm searching for this exact same answer. To me it seems like something that is pretty critical to app development across the board. I have a post labeled "flashlite timer issue". Hopefully someone out there will be kind enough to show us the trick!

  4. #4
    Registered User
    Join Date
    Jan 2007
    Location
    bucharest
    Posts
    222

    Re: How to turn off/on the Nokia display using ActionScript in Flash Lite?

    you could put a black movieclip over the hole aplication screensaver like...

    I know that this is not turning off the backlit...
    http://m.shpe.ro
    http://work.shpe.ro
    http://purchase.shpe.ro/iPics

  5. #5
    Registered User
    Join Date
    Apr 2008
    Location
    India / Singapore
    Posts
    549

    Re: How to turn off/on the Nokia display using ActionScript in Flash Lite?

    If you mean the Backlight, then there is a command to set the backlight duration.
    It is a fscommand, it will turn down the display lights and can wake up to button presses.
    Twitter - manikantan_k
    Just in --

  6. #6
    Registered User
    Join Date
    May 2010
    Posts
    3

    Re: How to turn off/on the Nokia display using ActionScript in Flash Lite?

    Thank you manikantan for specifying the term. I didn't know how to call this light before.


    Code:
    FSCommand2("ExtendBacklightDuration", [duration in seconds])

    "If duration is zero, the backlight behavior immediately (!)REVERTS TO THE DEFAULT BEHAVIOR."

    Therefore "ExtendBacklightDuration" command is usable if developer want to PREVENT turning off the backlight automatically. But, as it was mentioned in quote, this command is absolutely useless when developer want to turn the backlight off.

    So my problem is to:

    1 - switch the backlight off(make the display invisible and out of power supply).

    2 - Provide this state(backlight off) untill the script command to switch it on. If some button will be pressed until the script command to turn it on - backlight though should stay off. But script must stay active and sensitive for buttons through the long time.

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

    Smile Re: How to turn off/on the Nokia display using ActionScript in Flash Lite?

    Well! i think you have two options :
    1- Embed your swf into a WRT, than u can enable javascript and simply call js function to turn backlight off . M sure u know how to call javascript functions from Flash , it is something like this :
    Code:
    getURL("javascript::note('Hi ! it is working')");
    Note: You have to export ur swf under "Access Network Only" settings to use JS.
    2- You have to get use of a 3rd party local server written in other languages like Flyer (Pys60), BeMyLips (Pys60), Janus Symbian (Symbian C++) etc.

    Best Regards,
    SajiSoft

Similar Threads

  1. Http connection problem in 6310i
    By teahola in forum Mobile Java General
    Replies: 1
    Last Post: 2002-10-03, 18:46

Posting Permissions

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