×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    44

    Video playing in the background while receiving incoming call...

    Hi,
    I am new to Flash lite coding.. I am playing an flv video using net stream method below is the code... But once I get an incoming call the video is playing in the background with out pausing and interrupting the call...

    var myConnection:NetConnection = new NetConnection();
    myConnection.connect( null );
    var myStream:NetStream = new NetStream( myConnection );
    videoDisplay.attachVideo( myStream);
    myStream.play("Videos/Theory.flv");

    All I need to know is how to add an event listener to listen to incoming calls and once received then trigger a function to pause the video...

    Regards,
    Elmi...

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

    Re: Video playing in the background while receiving incoming call...

    It is surprising that Flash Lite content is not going to the background when interrupted by an incoming call. The natural behaviour should have been to pause the Flash content and INCOMING CALL screen launches. Can you tell us the device you are testing on with firmware and Flash Lite version details ?

    Also, if you want to listen for incoming calls, you need to use other lower level languages like PyS60 or SC++.
    Twitter - manikantan_k
    Just in --

  3. #3
    Registered User
    Join Date
    Nov 2006
    Location
    Recife, Brazil
    Posts
    79

    Re: Video playing in the background while receiving incoming call...

    Hmm... I'm not sure if it can work but did you try handle this behavior with the 'onKillFocus' event of the MovieClip?

Similar Threads

  1. send incoming call dialog in background
    By amit.mangal in forum Symbian
    Replies: 6
    Last Post: 2010-05-14, 18:58
  2. incoming call auto answer problem
    By manmay.gupta in forum Symbian
    Replies: 12
    Last Post: 2010-04-07, 10:24
  3. troubled with incoming call when playing sound
    By xins in forum Mobile Java General
    Replies: 4
    Last Post: 2006-08-03, 18:47
  4. CLI undetected with incoming video call
    By pguerello in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2006-01-19, 15:08

Posting Permissions

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