×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Super Contributor
    Join Date
    Jun 2005
    Location
    Berlin
    Posts
    721

    Flash XML Socket with Binary

    Hello all,

    short question on Flash Lite 2.0,


    can XMLSocket use binary data by tcp connection? if yes, how!??

    thanks

    Pai

  2. #2
    (Retired) Nokia Developer Admin.
    Join Date
    Jan 2006
    Location
    Michigan
    Posts
    4,664

    Re: Flash Lite XMLSocket with Binary

    Hi,

    On the annoucement pages are links to other sites. One of them is the FlashLite Nokia area. We have agreed with Adobe to have just this site for FlashLite to go to for help.

    http://www.adobe.com/cfusion/webforu...d=68&catid=472

    Ron

  3. #3
    Super Contributor
    Join Date
    Jun 2005
    Location
    Berlin
    Posts
    721

    Re: Flash Lite XMLSocket with Binary

    Thanks for reply.

    After searching, now I must say, it is not possbile to do it, don't you agree?!

  4. #4
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: Flash Lite XMLSocket with Binary

    I think XML Sockets were/are introduced in Flash Lite 2.1, XML parsing is available on 2.0

    Hartti

  5. #5
    Nokia Developer Champion
    Join Date
    Apr 2005
    Location
    Boston
    Posts
    517

    Re: Flash Lite XMLSocket with Binary

    Ciao,

    yes, Flash Lite 2.1 supports XML Sockets only for XML data not for binary.
    So there are no phones currently with Flash Lite 2.1 even though you can download the player from Adobe site.

    I think Nokia will embed Flash Lite 2.1 in future phones.

    Alessandro
    Last edited by biskero; 2007-03-19 at 20:44.

  6. #6
    Super Contributor
    Join Date
    Jun 2005
    Location
    Berlin
    Posts
    721

    Re: Flash Lite XMLSocket with Binary

    Thanks all.

    based on http://livedocs.adobe.com/labs/as3pr...=00000140.html

    actionscript 3.0 supports Binary Socket connection.

    What do you think, if the next Flash Lite version supports the as 3.0?

    and When it is possible?

  7. #7
    Nokia Developer Champion
    Join Date
    Feb 2005
    Location
    Karachi, Pakistan
    Posts
    277

    Re: Flash Lite XMLSocket with Binary

    hi,

    you can send your custom textual data in XML objects, even binary data.

    you can intercept the data before XML object's onLoad event by placing your handler on onData event of XML. onData event will give you raw text data. you can process it as per your needs.

    for example, you can encode your binary data in base64, and send it to server, or load from server.

    hope it helps,

    // chall3ng3r //
    Faisal Iqbal (skype: chall3ng3r)
    Flash Mobile Specialist | Orison Technologies
    _____________________________________
    blog: F·L·A·S·H·I·S·M
    swf2go: www.swf2go.com

  8. #8
    Registered User
    Join Date
    Dec 2004
    Location
    Cape Town / Singapore
    Posts
    51

    Question 240 x 320 video?

    Hi everyone!

    I don't know if this has been asked before, but can't seem to find an answer. Is it possible to encode video for N-series devices at 240x320, in stead of 320 x 240, the problem comes up when displaying video through the Flash Lite player, where you can't rotate the realplayer, so 320 x 240 video's get scaled down.

    I have tried to encode before but would always get an error saying not supported. I have tried encoding with Quicktime as well as Super.

    Many thanks!

    Stefan

Similar Threads

  1. Replies: 15
    Last Post: 2011-08-18, 12:37
  2. Flash Lite 3.0 Developer Edition doesn't support XML socket?
    By paipeng in forum [Archived] Flash Lite on Nokia Devices
    Replies: 5
    Last Post: 2008-01-03, 22:24
  3. problem in persistant socket connection
    By poms4symbian in forum Browsing and Mark-ups
    Replies: 0
    Last Post: 2006-01-03, 13:23
  4. How to Get Image Binary Data in XML
    By vishwas_dot_h in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2004-03-11, 17:12
  5. Loading images from byte array on 6130i
    By enlightment in forum Mobile Java General
    Replies: 2
    Last Post: 2002-06-05, 19:44

Posting Permissions

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