Skip to main content
AnnCarters
Participant
January 6, 2016
Question

How to enable Flash-Internet communication on Flash Player 9?

  • January 6, 2016
  • 1 reply
  • 701 views

HI everybody,

I'm trying to create a flash application that's capable of sending out a message without the user's approval (it's a test, and we need the result sent to someone automatically). The thing is, Flash doesn't allow sending an email without an approval, and we can't use AIR or HTML.

What we're trying right now is to create a Flash-JavaScript-Java interface (that's the only thing we could come up with; if anyone's got a better idea, please do suggest!). We've used ExternalInterface, but since it only works with IE and we have an old version of it, the only supported Flash Player is 9 or older.

Of course, the moment I try to activate the External Interface, I get the message that "Flash Player has stopped a potentially unsafe operation". Since it's a really old Flash player, the message directs me to the Macromedia site to add the location to trusted locations, but we're working with our own network and there's no internet. I've tried adding a cfg file to the trusted locations and add Security.allowDomain("*");, but neither works. Is there anything else I can do?

Thank you

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
January 6, 2016

are you creating a swf that you want to use on internet server?

AnnCarters
Participant
January 7, 2016

‌Sort of. I don't actually have a server to run in on (which is why I can't use HTML), but I need it to be able to communicate with the browser to use JS. The problem is Flash considers these two as the same even though they're very different.

kglad
Community Expert
Community Expert
January 7, 2016

'sort of' isn't clear.

what's your ultimate goal when your your project is complete: will you be using it on an internet server?