×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Jan 2009
    Posts
    4

    Exclamation flash lite 3 doesn't connect on N95

    I have searched the forum before posing, found similar thing with 2.0, here it's about 3.0.
    I have N95, firmware version 30.0.0.15.
    any flash lite application I wrote is not connecting. everything else is working fine.
    in demos that I saw over the net, I see that the flash application is requesting permission to access the network (like any other application installed). I have tried sample code I found, some simple stuff I wrote and nothing. it's not even asking.
    note that all the other stuff - animation and so forth is working just fine. just no connection.
    anyone encounter with this situation?
    here is a single frame code I tried. working fine on CS3 simulator, not doing anything on the N95:
    stop();
    var con:NetConnection=new NetConnection();
    var ns_in:NetStream;
    con.connect("rtmp://192.168.0.103/myapp/");
    ns_in=new NetStream(con);
    mainfeed.attachVideo(ns_in);
    ns_in.play("test");

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

    Re: flash lite 3 doesn't connect on N95

    Quote Originally Posted by talreg View Post
    I have searched the forum before posing, found similar thing with 2.0, here it's about 3.0.
    I have N95, firmware version 30.0.0.15.
    any flash lite application I wrote is not connecting. everything else is working fine.
    in demos that I saw over the net, I see that the flash application is requesting permission to access the network (like any other application installed). I have tried sample code I found, some simple stuff I wrote and nothing. it's not even asking.
    note that all the other stuff - animation and so forth is working just fine. just no connection.
    anyone encounter with this situation?
    here is a single frame code I tried. working fine on CS3 simulator, not doing anything on the N95:
    stop();
    var con:NetConnection=new NetConnection();
    var ns_in:NetStream;
    con.connect("rtmp://192.168.0.103/myapp/");
    ns_in=new NetStream(con);
    mainfeed.attachVideo(ns_in);
    ns_in.play("test");
    The problem can be solved by changing your publish settings "Local Playback Security" to "Access Network Only" As default one is "Access Local Only" .If problem exists ask again . And take a lokk over here :
    Fl3 Net Video

    Best Regards,
    SajiSoft
    Last edited by sajisoft; 2009-01-13 at 17:22. Reason: Link added

  3. #3
    Registered User
    Join Date
    Jan 2009
    Posts
    4

    Re: flash lite 3 doesn't connect on N95

    TY!
    worked like a charm... (of course, I am feeling dumb...)

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

    Smile Re: flash lite 3 doesn't connect on N95

    Quote Originally Posted by talreg View Post
    TY!
    worked like a charm... (of course, I am feeling dumb...)
    Nah! Its Fine. There are some more security issues in Flash Lite 3. You can check out these issues at :
    Flash Lite 3 security
    Hope it helps u for future applications development .Enjoy Flash Programming..

    Best Regards,

    SajiSoft

  5. #5
    Registered User
    Join Date
    Jan 2009
    Posts
    4

    Re: flash lite 3 doesn't connect on N95

    a new problem arises...
    when tring to connect to an actual server, I get this error:
    Socket failure for connection to www.yourserver.com.
    FTPS116: FlashVideo Status : (NetConnection.Connect.Faile
    I get this on the emulator and therefor on the device? any thought?

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

    Smile Re: flash lite 3 doesn't connect on N95

    Quote Originally Posted by talreg View Post
    a new problem arises...
    when tring to connect to an actual server, I get this error:
    Socket failure for connection to www.yourserver.com.
    FTPS116: FlashVideo Status : (NetConnection.Connect.Faile
    I get this on the emulator and therefor on the device? any thought?
    Well!!One of the known issue in Action Script 3 is Object Encoding. Object Encoding By Default Is AMF3.In some cases , u have to change it to AMF0. Just Add this to your code :
    Code:
    nc.defaultObjectEncoding = ObjectEncoding.AMF0;
    Where nc must be declared before as an netConnection object.
    For More Details :
    NetConnection
    Hope it helps you.Otherwise , try running your code as AS 2.0(for testing). Enjoy Flash Programming..

    Best Regards,
    SajiSoft

  7. #7
    Registered User
    Join Date
    Jan 2009
    Posts
    4

    Smile Re: flash lite 3 doesn't connect on N95

    small upgrade on the server side did the trick.
    I figured that if it was working locally it should work remotely, and it did when updating the server versions.
    TY for your replay, would try that as well! never hurt to have more then one solution to a problem.

Similar Threads

  1. Nokia N958GB Flash Lite 3.0 XMLSocket Bug (Firmware v15.0.015)
    By ryan_at_frog in forum [Archived] Flash Lite on Nokia Devices
    Replies: 13
    Last Post: 2009-10-26, 22:08
  2. Problem with Flash Lite & Nokia - Flash Lite does not open in MMS
    By muggzy in forum [Archived] Flash Lite on Nokia Devices
    Replies: 4
    Last Post: 2008-12-17, 17:13
  3. problem making flash lite menu/theme for N95
    By joni99 in forum [Archived] Flash Lite on Nokia Devices
    Replies: 4
    Last Post: 2008-08-11, 15:21
  4. Flash Lite applications
    By zhenhan82 in forum [Archived] Flash Lite on Nokia Devices
    Replies: 5
    Last Post: 2008-02-22, 04:42
  5. Replies: 2
    Last Post: 2007-04-17, 13:32

Posting Permissions

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