ActionScript 3.0 :: LocalConnection Between AIR & HTTPS Fails?

Mar 3, 2011

What is curious is that it works properly for HTTP, so at a basic level all the things that are necessary to make anything work seem to be in place. I don't believe now that crossdomain.xml is an issue because 1) it worked fine without one with HTTP and 2) from tailing policyfiles.txt, calls are never made to the xml file in either scenario. The wrapper html file allows networking.

The error received is SecurityError: Error #2000: No active security context.

Given that it works in HTTP, should this be as simple as adding the following:

receiverLC.allowInsecureDomain("localhost");

where receiverLC is the localConnection object in the swf, to make this work for HTTPS?

View 1 Replies


Similar Posts:


ActionScript 3.0 :: LocalConnection Test Fails When Run In A Class

Jan 12, 2012

Basically I'm trying to use localConnection to determine if two or more instances of the same swf are running. If I set this code up on the main timeline of the fla it works:

ActionScript Code:
var conn:LocalConnection = new LocalConnection();
conn.client = this;
try {

[code]....

Then it fails, all instances print 'connected'

View 1 Replies

Flash :: LocalConnection Between Swf Sending Delay & LocalConnection Sniffer Tool

May 6, 2011

The first one (FLEX application) sends a message on a dedicated LocalConnection to a second one (Flash application). The Flash then answers by sending a message on another dedicated LocalConnection. This message is not directly received by the FLEX and the delay is at least 30s, up to 1 or 2 minutes! It seems the issue only occurs with Flash Player >= 10 and it never occurs with Chrome.

I didn't find anything on the web concerning a similar issue nor something in Flash Player release notes. Did someone already have this kind of problem?

By the way, is there any tool that can be used to sniffer LocalConnection communications?

Additional information:

swf are located in different frames swf are embed with swfobject I tried to delay the Flash sending, I tried to create another LocalConnection dedicated to this call but I always had same result: for all calls, the FLEX method is called after the same delay. I also put a timer in FLEX to periodically log to see if there is no background process delaying the method processing but everything seems fine

View 1 Replies

LocalConnection In Mac Browsers

Feb 21, 2008

I have a relatively simple localConnection between three swfs: one swf is an image gallery; another swf controls the playback of the image gallery; and the third displays xml-driven captions from the image gallery.Everything works flawlessly in a PC environment, on all browsers, using AS 2, flash player 9. But when I test in a mac environment, the captions will display on load, but it will no longer show if you refresh the page; only a cache clear and refresh will bring it back, but the same issue will happen again. The navigation doesn't work at all, ever (though the swf is loaded and visible).

View 4 Replies

Flash :: LocalConnection And DOM

Nov 29, 2009

I have a Flash object on my site, which has this code:

this.ld = new LocalConnection();
this.ld.allowDomain("*");
ExternalInterface.call("alert", this.ld.domain);

It alerts my domain successfully. However, what I want is to access the HTML DOM through this using LocalConnection and not ExternalInterface directly.

View 1 Replies

Accessing Webservice Over Https?

Sep 11, 2009

I have a Flash movie written in Flash 8 with AS2 that is attempting to access a webservice on a server that is https.

I can't get the webserviceconnector to even load the WSDL file.
 
I have a crossdomain.xml file at the root of my http/https server that allows the domain the swf is being served from to get in and it has the secure attribute for that domain set to false, but it still can't get through.
 
Not sure what I am missing at this point.
 
I have a quick update. I figured that since my webserver is serving the secure site up under a different Website in IIS that I needed a crossdomain policy file at the home directory of the site. I have placed it there and when the movie loads I am using loadPolicyFile to get the crossdomain file which still loads into flash without issue but I still get a WebServiceFault when I try to load up the WSDL.

Can anyone point out a crossdomain example where a flash movie on an http domain is accessing a webservice on an https domain?

View 2 Replies

Flash - SWF Not Playing In IE Over Https?

Jan 18, 2012

I export a swf/html direct from flash, very simple. I upload it and it works fine in all browsers. If I change http to https in all browsers, no problems.

All browsers except IE - when I change http to https, I just get nothing - if I right click I get "Movie not loaded..." (greyed out) and the usual about flash player.

I've reinstalled my flash player, read loads of tips and tried loads of other hacks but nothing seems to work.

I am using IE 9 (for testing only)

<div id="flashContent">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="562" height="300" id="banner" align="middle">
<param name="movie" value="banner.swf" />

[Code].....

View 1 Replies

ActionScript 3.0 :: URLLoader In IE With Https And SSL

Jul 8, 2009

Everything runs fine in Firefox, but when the SWF tries to make a request in IE, I get an IOError. I've read that it might have something to do with no-cache settings and that a possible solution is to use URLRequestHeaders.

View 0 Replies

ActionScript 3.0 :: LocalConnection - Communicate From One SWF To Another

Apr 23, 2009

I'm having a little issue with LocalConnection - trying to communicate from one SWF to another. From my main SWF I've loaded an external SWF of same dimensions ( effectively replacing the main SWF). What I wanted was then to re-load the main SWF, but rather than have the main SWF play from the start, I wanted to go to a specific frame instead (I used a frame label called "myMarker"). Thought LocalConnection was the way to go to achieve this. Gave it a shot and it all works well locally BUT when uploaded to server it doesn't work, but throws the following error:-

[Code]..

View 1 Replies

ActionScript 3.0 :: LocalConnection Limitations?

Feb 12, 2009

limits to number of SWFs that can establish local connection on MAC? The architecture is: One Manager ("server") and N number of other SWFs that communicate with the manager.When I embed more than 8 SWFs (manager + more than 7 dependents) and attempt to establish connection between them - only first 7 dependent swfs are capable to communicate with the manager on MAC (both Safary and FF). The rest are ignored. It doesn't seem to be an issue on PC where I went up to 20 and it worked (with some quirks of course). Is it a native behavior on MAC?

I did not check if number of connections is at stake (as opposed to number of swfs). There are 14 connections all together when 7 dependents are involved.

View 1 Replies

ActionScript 1/2 :: Alternative To LocalConnection?

Sep 23, 2009

I'm having huge bug issues with LocalConnection that nobody seems to be able to find errors in my code/files. So... I'm looking for an alternative. I need a main swf file to load an external swf including the ability to have it move from one frame to another. If this isn't a possibility, I can also just have the main swf hide/reveal a div or just an image in the html.

View 9 Replies

Actionscript 3 :: LocalConnection Var Into URLRequest?

Jun 29, 2011

i use LocalConnection between two swf in the same page.What i'm trying to do is to use a String sent from one swf to the other, as variable into my URLRequest...So i can trace "myVar" into the function chemin, but i didn't find how to use it into URLRequest

swf that receive the var :

var lc:LocalConnection=new LocalConnection();
lc.client=this;
lc.connect("callBig");[code]....

View 2 Replies

ActionScript 3.0 :: Using LocalConnection To Communicate?

Aug 19, 2010

I need dozens of AS2 Flash swfs I wrote to communicate with an AS3 swf. My code below is on the "wrapper" AS3 swf, which loads the lesson1_activity3.swf AS2 swf. This is then further nested into an Adobe Captivate-generated swf (that's what the rdcmndNextSlide method is for).

This configuration works the first time you see the wrapper/child swf together, but if you navigate back to the slide, the child swf doesn't load. I'm guessing that Captivate has all the objects still stored in memory, so it thinks I'm trying to declare var again, which I can't do. Is that it? Does anyone see the issue with my code that would make it work the first time the wrapper is loaded, but not subsequent times?

[Code]...

View 0 Replies

ActionScript 2.0 :: LocalConnection Does Not Work?

Feb 18, 2004

ere's what i'm doing and it doesn't seem to work, 1st movie, a button:

[AS]
on (press) {
function () {myLocalConnection = new LocalConnection();
myLocalConnection.send("Incoming", "onRecieve", MyID);
myLocalConnection.close();};
[/AS]

where MyID is some variable

2nd movie, 1st frame:

[AS]
myLocalConnection = new LocalConnection();
myLocalConnection.onRecieve = function(theID){
_root.test.gotoAndPlay(theID);}[code]...

now that doesn't work so i'm wondering what is wrong...

View 2 Replies

ActionScript 2.0 :: Can't Get LocalConnection To Work

Jun 5, 2006

I have 2 swf... and it just deosn't want to work, the Receiver is supposed to play a video..

Sender:

Code:
buttonsLC = new LocalConnection();
b_005.onRelease = function() {
buttonsLC.send("lcMovBtn", "methodToExcecute");

[Code].....

View 8 Replies

ActionScript 2.0 :: 2 .swf To Communicate (Localconnection)

Jan 2, 2007

i've got 2 different .swf files on a html page, with 1 of e .swf being e menu and the other being the content_mc. I've been researching on localconnection but did not manage to find out how i could get e menu to send command to the content_mc to load the respective content upon being clicked (for example, when user click "services" in the menu, content_mc.swf will automatically be updated with the services content.

View 6 Replies

ActionScript 3.0 :: BitmapData Through Localconnection?

Feb 17, 2009

how i can pass a bitmap data through a local connection in as3.0 and get it on the other end intact ?

View 3 Replies

ActionScript 3.0 :: Using LocalConnection And The Localhost?

Aug 17, 2009

I have had some success using LocalConnection between SWFs.I can have a connection function between a preloader SWF and its child, and another connection work between two SWFs present on the same webpage......most of the time.

If I run my SWFs in a webpage from my localhost (ie my local testing PC) a particular LocalConnection will fail about 50% of the time. If the same SWFs are run on a remote server (ie the inernet) the LocalConnection works 100% of the time.SWF 'A' is sending to SWF 'B'Bizarrely, the LocalConnection going the other way, from SWF 'B' to SWF 'A' works 100%.

All the other LocalConnections I have used all work 100% of the time.I have tried adding a listener to the eventStatus which reports when the connection fails.I have also tried allowDomain(), although Im not sure it is neccessary since all the SWFs are hosted from the same domain anyway.Why should a LocalConnection behave differently depending on where the SWFs are hosted?

View 1 Replies

ActionScript 3.0 :: How Does LocalConnection Work

Dec 4, 2009

I have two SWFs happily sending messages back and forth to each other. I want to intercept those messages with a third SWF without editing the first two files at all.

View 8 Replies

ActionScript 3.0 :: [AIR] Communication Error Via HTTPS?

Jul 15, 2011

I have Flash AIR application, that communicates with server via HTTPS protocol. On MAC I install requested certificate and it works fine, but unfortunently on Windows 7 and XP I have this error:

"[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032" errorID=2032]"

I aasume its something wrong with system configuration, but anyone know how to fix this?

View 1 Replies

ActionScript 3.0 :: SWF Hosted On HTTPS Not So Secure After All?

Sep 17, 2010

I have a SWF hosted on a https enabled domain and amfphp installation on the same domain. Now when i let user embed the swf on his on http page, i intend to send some data to amfphp without user seeing it. However i see that firefox with firebug plugin catches the post data easily. How is this happening ? Adobe documents say that if a swf is hosted in https and destination is also under https, its suppose to be secure?

View 4 Replies

Flash - SWFUpload On HTTPS Not Working?

Nov 24, 2009

I have trouble uploading files with SWFUpload when target servlet is listening on HTTPS. On HTTP it works fine.The issue is only when using FireFox or Opera. On IE it works fine - not tried other browsers.

EDIT:Error message as provided from SWFUpload when in debug mode:

*SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0 SWF DEBUG: Event: uploadError : IO Error : File ID: SWFUpload_0_0. IO Error: Error #2038
SWF DEBUG: Event: uploadComplete : Upload cycle complete.*

View 5 Replies

Flex :: Use The Flash.net.NetConnection Over Https?

Dec 4, 2009

Is it possible to use the flash.net.NetConnection object to connect to my Flash remoting enabled web application over HTTPS within Tomcat or any other servlet container?

I am using the SpiceFactory cinnamon project for amf remoting and have searched for examples of using HTTPS but see only the reference to a proxy type in the NetConnection object.

If someone could provide a reference or example that would be awesome. Or if it is not possible using the flash.net.NetConnection object are there any recommendations of how to configure HTTPS for the spicefactory cinnamon library.

View 2 Replies

Flash :: Google Maps Api And Https?

Jul 14, 2010

I am using the google maps API with regular key (not premier).When connecting to my server with http, everything works fine, but when connecting with https i receive the following instead of map: initialization failed please check the API key swf location, version and network availability.Is that because it is not premier key? can I force the google maps API to use http instead of https so that I will receive the maps?

View 2 Replies

Flex :: Https - Protocol For Crossdomain.xml In App?

Oct 20, 2010

I've changed the protocol for my flex app from https to http and flashplayer still wants to download the crossdomain.xml using https though with the port for http. [URL]..

View 3 Replies

Flash :: Using The Brightcove Player Over Https

Aug 18, 2011

we are trying to use our player over https. I am detecting the protocol and then setting the secureConnections to true if it is https however it is still throwing a SecurityError, here is the setup code.

[Code]...

View 1 Replies

Actionscript 3.0 :: AMFPHP Services Over HTTPS?

Sep 18, 2008

I'm having a very strange problem around a few services I developed for AMFPHP that worked fine over HTTP but once over HTTPS gone completely wrong. When testing right on export flash IDE the connection goes fine but when online and on the browser it doesn't. On connecting, Flash returns a security sandbox violation like this:

"Error #2048: Security sandbox violation:[URL] cannot load data from [URL]. I know that I'm missing the "www" subdomain on the gateway secure address but this is has another purpose for domain configuration. What's most weird is that even the Service Browser went completely wrong since it tries to open the gateway through the HTTP version of the address instead of the HTTPS one. Upon opening the browser I get a "NetConnection.Call.Failed: HTTP: Failed" error. It also tells me that it's trying to connect to [URL] instead of [URL].

View 9 Replies

Actionscript 3.0 :: Loading Images From Https?

Jul 30, 2010

is it possible to load images from https and test locally in the flash IDE? i am getting a load error but not a security error.

View 2 Replies

Actionscripts :: Wrappers For The LocalConnection For C# Or Java?

Jun 19, 2009

I want to communicate with the LocalConnection framework of Flash via C#/Java/C++. My search for already implemented wrappers was not as successfull as I wish ;). There exist several servers (like FluorineFx) which support binding of C# objects to the LocalConnection. The problem is I am not looking for a server but only for a simple (marshalling of strings is enough) wrapper. After reading the AMF specification that implementing my own wrapper might take some time ;) which leads to my question: Does anybody knows a simple wrapper (C#/Java/C++) for the LocalConnection framework?

View 2 Replies

Flash :: Passing Array Through LocalConnection?

Jan 11, 2010

I was wondering is it possible to pass an array through the localConnection in flash? My local connects connect my flash application with the javascript and passes variables between them.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved