×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    26

    Post XML Socket crossdomain issue

    Hi,

    im facing a problem with the XML socket connection.
    I have developed my own swf and uploaded this to a server.

    for eg:
    server name is: http://myserver.com and ip add of this is 71.345.12.344

    in the actionscript of A.swf, i've wriiten like this.

    socket.connect("myserver.com " ,"6565");

    and now i have opened the content from http://71.345.12.344/A.swf
    and then, the connection is not successful becuase of the crossdomain.xml.

    Things which I can not understand:
    1.71.345.12.344 and myserver.com are one and the same.still do i need to write a crossdomain.xml?
    2.if so,what should i write in crossdomain.xml and where should i keep it?

    please guide me with this.

    thanks,
    rees

  2. #2
    Product Specialist
    Join Date
    Jun 2003
    Location
    UK
    Posts
    191

    Re: XML Socket crossdomain issue

    Hi Rees,

    You can get an example of XMLSocket usage on my blog at the following URL.
    http://flashmobileblog.com/?page_id=7

    Note that the crossdomain.xml file specified:
    http://socket.sytes.net/crossdomain.xml

    and looks like this:

    <?xml version="1.0"?>

    <cross-domain-policy>
    <allow-access-from domain="*" to-ports="*"/>
    </cross-domain-policy>

    regards,

    Mark Doherty
    Developer Evangelist,
    Adobe Mobile and Devices
    Mark Doherty
    Developer Evangelist
    Adobe Systems, Mobile and Devices EMEA

  3. #3
    Registered User
    Join Date
    Sep 2006
    Posts
    26

    Re: XML Socket crossdomain issue

    Hi,

    thanks a lot
    its wkg fine now.

Similar Threads

  1. 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
  2. SMS via socket issue.
    By Svat_ in forum Symbian
    Replies: 14
    Last Post: 2007-11-24, 00:36
  3. Porting issue related to socket
    By muralidharvvk in forum Symbian
    Replies: 4
    Last Post: 2007-03-08, 14:18
  4. problem in persistant socket connection
    By poms4symbian in forum Browsing and Mark-ups
    Replies: 0
    Last Post: 2006-01-03, 13:23
  5. Socket performance issue in 7650
    By prsens in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2003-06-23, 10:37

Posting Permissions

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