Skip navigation
AdoReal
Currently Being Moderated

SSLSocket in AIR application

Nov 22, 2012 6:03 AM

Tags: #air #flex #actionscript #ssl #socket #externalinterface #callback

Hello. Im newbie in this. I have a Java server that receives SSL messages. I'm trying to do simple AIR application that by pressing the button would create a socket to a server and sends him a message. Adobe flex study I started two days ago, so I apologize in advance for the stupid question and for my level of English.In general the problem is this: The application consists of three files: HTML, js and as.I know to work with SSLSockets there are special classes only in atstionstsript. Exaggerated structure of my code is as follows this screenshots:

test.as:

1.JPG

event.js

2.JPG

main.html

3.JPG

main.xml:

4.JPG

When I do debug I get the following error instead of results of actionscript function.

6.JPG

I think that the most likely error is that the object could not be found for which the function is called, but it is not the final version of the code and I've tried a lot of options as of the examples and documentation of adobe, but for two days I did not. Please help to solve my problem. Thanks in advance for your help.

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points