ActionScript 3.0 :: Connecting To HTTPS URL From Flash Application?
Jun 4, 2009
I have a standalone flash application which needs to access a https://.. url for authentication purpose. BUt I am not able to connect to the URL. What can be the reason?
I am building a FLEX web application that also has a payment module where the user needs to enter his credit card details.
The whole Flex application runs on HTTP. However, whenever the user lands on a page where we ask for credit card details, we want these details to be sent over HTTPS.In this page we need information from the model of the application, because it holds certain selection the user did, the state the application is in, etc.
Do I need to make this page a Module that runs on HTTPS?
Or can I just configure the specific 'credit card' services (we have a JAVA back end) so that these run on HTTPS?
I need to develop the HTTPS application using Flex and Java. But i have idea about remote objects or HTTPServices. which one is the best for developing HTTPS application.
I am having some issues trying to make an AIR application connect to a RemoteObject when the application is run in a domain that has proxy servers for outbound connection.The error provided is as below:
I'm developing a web application (client in Flash Builder 4, server in Eclipse 3.6 + Tomcat 7 + Spring 3 Framework). How do I make the Flex client automatically deploy in the Tomcat server and use BlazeDS messaging and remoting more seamlessly?
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 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:
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.
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?
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.
My webapp with flash files (fusioncharts that reads XML data)works well in Firefox, but not in Internet Explorer. The problem isn't that I can't get the XML data (the Pragma and Chach-Control header, when you get a "Error in loading data") because I can load a Excel file with html data. I get a Movie not loaded error instead, like if that IE can't load the swf file.I tested the application on another computer with https on IE and that didn't work, but it do work on regular http in IE.
I have one swf banner which I want it into .aspx page. The website runs ok under http and the banner plays correctly. After we set the website to run under https, the banner stopped to load. I've tried to load this banner via http link from inside https running page. Nothing happened as well.
I have a flash banner and i am using AS 2.0. The code embedded in the flash banner works with any url other that the one i am trying to embed.Here is the code i am using:
on (press) { getURL("https://wcc.webeventservices.com/eventRegistration/EventLobbyServlet?[code]....
Somehow flash does not like https links. It works fine with other links.
SWFUpload I am using SWFUpload to upload files to a database (Windows XP) over https. Everything works as expected in IE (7 and 8), but using my Firefox 3.3.15 it fails without error message. Using the upload mechanism using http works fine!I found this thread using google. They describe that installing the CAs certificate as trusted issuer would help. Unfortunatly it did not (it was a certificate issued by a CaCert authority).
It works on the machine of my colleague who uses Firefox 3.3.15, but he cannot recall that he did anything special to make it work. I had a look at other machines using Firefox and none of them were able to upload a file to the database.I red that SWFUpload uses flash and that flash might use other certificates than Firefox itself. Does anyone know anything about it?
EDIT: This is the javascript code for the object creation:
// Create the SWFUpload Object var swfupload_object = new SWFUpload({ upload_url: "[% cgi_path %]/mdb_bulk_import.pl", file_post_name: 'upload_file',
I am finding that if I load Flash from a HTTPS page [URL] and try to make a request within ActionScript 3 to [URL] the request does not go through. Same goes for the opposite (accessing https from a http-loaded flash script).
The request is failing, the requested data (passed from a PHP script) is not loading.
Now at first I assumed the trouble was with cross-domain policy files, but I have fixed that issue (I think).
Is there any security policy in Flash (CS5 btw) on HTTP vs HTTPS requests based on where the script is loaded from?
I need to transfer data from a flash application running in a browser to a server running php. If I use an https connection will that be enough to ensure that the data sent from flash to the server is encrypted and sensitive data can't be sniffed, or do I need to do encryption in my flash application itself?
I have a Flash Movie (SWF) that is consuming a .NET WebService (located on the same domain) and in my Test environment everything works perfectly (Test env is all HTTP).
When deployed to production (All HTTPS) an issue occurs when trying to access the WebService from the Flash movie.
A new WebService object is created with the HTTPS url passed to it.
myWS = new WebService("https://mydomain/path/to/webservice")
As I watch the HTTP traffic in FireBug I can see the Flash movie making a POST request (passing along the SOAP data) as HTTP (not HTTPS as I would expect). This HTTP requests hits the firewall which forces a 302 Redirect to HTTPS. After this redirect occurs, Flash/Firefox re-sends the request to the HTTPS version of the URL, but as a GET request (thus losing all the SOAP data and making the call to the WebService invalid).
I am trying to figure out how/why a Flash WebService would call a WebService using HTTP even though I am specifically passing it a HTTPS url.
I have a html paga which loads a flash(flex) swf file. Using https it loads successfully with Chrome, Safari and Firefox, but not with Internet Explorer.Another page, a simple aspx page, does load in Internet Explorer using https (and no flash in it).Haven't found anything so far on the internet to solve this... Anyone?UPDATE: When I right click on the white screen, 'About Adobe Flash Player 10...' appears... so Flash is loaded. Also, in Charles (http sniffer tool) I can see that the swf is loaded over the network.
So, apparently, Flash Player is running inside my html page, the swf is loaded over the internet but the swf is not displayed in internet explorer browser... Very strange. How can I debug this further to see what the problem is?Meanwhile, in the left down corner, IE keeps on saying: 'Waiting for https://....In all other browsers it works like a charm.You can see that IE shows a Certificate Error, but that's also the case in other browsers. I already clicked on Certificate Error to install the Certificate, but with no success.
I'm trying to load some data from a https-server that when you visit via a browser returns "The security certificate presented by this website has expired or is not yet valid.". But when I accept anyway, the flash on the page page load data.
But when loading from the Flash Editor it return a: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: https://{url}"]
This is what is returned when loading data in Flash Editor from a https server without a valid certificate? Or could there be another problem? The url to the https-server is "changed" via the hosts-file in Windows. Could this cause any error? I have tried changing the hosts pointing to my local webserver, which works fine, but that isn't via https.
I would like to create a secure login section for a website. I have managed to build up an AS3-PHP communication where PHP checks user credentials. I am already providing data enchryption between AS3 and PHP but I would like to add some further security. Is it possible to implement a HTTPS login section?
I have a Flash Player ActiveX control embedded in a .NET WinForms application and am trying to load a SWF into the FP control over an HTTPS url. In development I'm using a self-signed certificate and it seems that in this scenario I can't get FP to accept the certificate and allow the HTTPS communications.When I try to load the swf over https directly, I don't see the swf and when I right-click on the control I see "Movie not loaded". I can load the swf over http and then try to make Flash Remoting calls over https. I don't expect this to work by default but I added a crossdomain.xml file to allow insecure communications. The crossdomain.xml file is in the root of the server but is not loaded. I added an explicit call to loadPolicyFile with the full https url and the crossdomain.xml file is still not loaded. The local IIS logs don't show any request for the file at all, nothing in the HTTPERR file, and Flash's policyfiles.txt log says URl...If I host the swf in a browser, then the browser prompts to accept the certificate and everything works fine. I've accepted the certificate in IE and Firefox.I also tried calling DisableLocalSecurity() on the FP ActiveX control but it had no effect. I didn't really expect it to since I'm not actually loading the swf locally, it's loaded from a url.Can anyone confirm if the self-signed cert really is the problem? Is there a way to get FP to accept the certificate? Any way to bypass the http/https restriction (this is a locally installed app so I can change any local config files we need)?
I am an actionscript newbie but have been given the task of designing a navigation menu in flash that has to connect to a database - the menu items have to be marked - unread, mandatory etc. and have to pull back database information to display then be marked as read.
When I connect to kongregate locally on debug mode it works fine. but when I upload the game to their servers, I get the following error.
TypeError: Error #1010: A term is undefined and has no properties. at com.objects::Engine/GameMenu() at Function/http://adobe.com/AS3/2006/builtin::apply()
Below is the code I use. and the class properties i set
// Kongregate API reference private var kongregate:*; public function Engine(sr:Stage):void
I have moved on now to where this is clearly a Flash security thing.I have a flash client that attempts to connect to an open socket on the same host as the one on which it lives.I am able to connect successfully from inside the Flash IDE, and when I run the swf movie locally on my machine, after granting it security clearance in the white list it connects as well. However, when I call the movie via the browser (URL...) it fails to connect.The socket reports that a connection attempt is made but immediately disconnects.I have a crossdomain policy file that looks like this: in the root directory of the host.[code]In the flash movie I have a line that looks like this: System. security. loadPolicyFile (URL...);And I'm thinking maybe that's where the problem is, but the documentation on how to use this method is not entirely clear. I'm in Flash CS3