How to send data from AIR to offline SWF using localConnection

120 Views Asked by At

While the airdata.send('_myConnection', 'myFunction', "myParam"); does work, I can't figure out how to include the domain of SWF since it is local and not uploaded to a server. I have tried the actual path eg:

c:\work\test.swf

c:\work\test

c:/work/test.swf

//c:/work/test

file:///c:/work/test

(a random generator would probably be useful here... )

like the following, where myPath is one of the above:

airdata.send('myPath:myConnection', 'myFunction', "myParam");

As my ESP abilities are not so much developed to guess what is the magic combination, is there anyone with a greater charisma to help me out?

0

There are 0 best solutions below