ActionScript 3.0 :: BtimapData.draw Not Working Over Https?
Nov 25, 2011
I m having problem i.e image is not generating over https url, because BtimapData.draw function is not calling over https. I am loading policyfile, called allowDomain() and also set loaderContext.loadPolicyfile = true, but still its not working in https and working fine in http. Also the image in the UILoader is coming from the same domain with http url.
View 3 Replies
Similar Posts:
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
Jan 24, 2011
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.
View 1 Replies
Nov 17, 2009
When is a Bitmap not a Bitmap ?I can apply (using Sandy) an image as a texture :
var material:BitmapMaterial = new BitmapMaterial(new myImage(1,1));
myCone.appearance = new Appearance( material );
I can trace an object and form a bitmap :
[code]......
View 1 Replies
Apr 13, 2006
I am trying to load a external swf and then use the BitmapData.draw() method to draw the loaded swf to a bitmap. This does not seem to work. If I draw some lines into the loaded swf using the .lineTo() method and then use BitmapData.draw() i do see the lines that are made by this method, but not the content i put in the swf. Is it just not possible to do this
View 1 Replies
Jun 29, 2011
I have a component that contains 4 layers: (in ascending depth order) bgImage:Sprite, dropZone:Sprite, dropMask:Sprite and line:Sprite. The bgImage is at 0,0, and the other objects are placed at various positive coordinates. dropMask is masking dropZone.At the point of bitmap capture I want to only draw from the dropZone and dropMask layers, so I'm trying this:
removeChild(bgImage);
removeChild(line);
var bmd:BitmapData = new BitmapData(dropMask.width,dropMask.height,true,0);
bmd.draw(this,null,null,null,dropMask.getBounds(this));
Despite the dropMask being located at 50,60 the capture always starts from 0,0. I've also tried getting the boundary rectangle and forcing the x,y, but it makes no difference. should I just forget clipRect and use a matrix instead?
View 2 Replies
Jun 26, 2007
'm attempting to load a jpeg into a movie clip and then put that jpeg data into a bitmap object. I use a loader function inside the onLoadInit event I create a new bitmap object, then do a draw() The new bitmap object, however, is completely blank. (each pixel is white)The loadClip works successfully because the image loads into the temporary movieclip that I specify in the draw statement successfully. Even stranger, the entire process works absolutely fine in the test mode (hitting ctrl+enter in the flash authoring tool) The draw() works great and correctly fills the bitmap object.
While searching for an answer to this, I found a tutorial on the exact process I'm using: [URL] The info in that link works in test mode in the authoring tool, but not as a published swf online for me...
View 1 Replies
Mar 18, 2009
I am using the draw() method of the BitmapData to encode a jpeg of part of the image. Now this should be easy enough given the object I want to draw to the bitmap is on the stage at design time so I know its location and dimetions exactly! Heres the code I have in place.
Code:
var myBitmapSource:BitmapData = new BitmapData ( street.width, street.height, false, 0x333333);
myBitmapSource.draw(street, null, null, null, new Rectangle( 96, 5, 571, 450 ), true );
I know for a FACT that no part of the street clip I am drawing out is in negative space, and it's registration is (0,0). However, it cuts off A lot of the top of my image. y=5 in the above rectangle is where I need the top to be, but it cuts the top off of the image... even if I change it to 0, it has no effect.
View 2 Replies
Jun 30, 2011
I'm making something that requires me to draw() the youtubeplayer Giving me this pretty error:
[Code]...
View 4 Replies
Dec 15, 2009
I'm trying to do some lean blitting for an object that rotates by rotating it once at startup and capturing a BitmapData snapshot of each 5 degrees. The problem I'm having is that the draw() method of the BitmapData object is only picking up pixels in the MovieClip that are below and to the right of the registration point. If I change the MC so that the registration point is in the top left corner, I sometimes get what looks like most of the pixels, but the entire object rotates into and out of the frame, since it's rotating around the corner and not the center.
View 5 Replies
Apr 5, 2012
I need to be able to draw a thick patterend line between 2 points in AS3, I can't use the draw API because it doesn't all me to actually put detail (pattern etc) into the thickness of the line, I thought about perhaps using the line to create a bitmap version and then using that as a mask, but I remember many years ago seeing some examples that use a movieclip as a source for a line.
View 1 Replies
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
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
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
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
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
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
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
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
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
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
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
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
Feb 20, 2007
I am having problems with loadVars over https. What I am trying to do is sending credit card information from a flash store to a PHP-script on a server over https, and the PHP-script should return a reply. (So I am using the LoadVars sendAndLoad command). The problem is that the reply I get from the script is empty. If I try the same over http, it works fine.
View 4 Replies
Mar 19, 2008
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.
View 7 Replies
Jun 2, 2009
I have a standalone flash application which needs to access a [url]... for authentication purpose. BUt I am not able to connect to the URL.
View 5 Replies
Jun 17, 2009
Does flash web services allows https:// over http ?
View 5 Replies
Jan 6, 2012
Weeks back I faced a wierd issue in the behaviour of flashplayer running on IE7 which is invoking parallel https calls. I have two SSL enabled servers one is listening on port 443 and the other is listening on port 8443 but both running in the same domain. I developed a flex client (using httpservice class) which sends parallel https requests to these two servers. When the number of parallel requests increases say more than 5 requests to each server, the fault handler was encountered with the error message:[code]After breaking my head for a long days, I got one solution which would work. This issue is happening only if we are sending https requests to different ports in the same domain. So rather than moving one among the two servers to a new domain, I got a new DNS name for the same destination. So presently I got two DNS names pointing to the same machine in which both the servers are mounted.Now that I am using a separate DNS name for the server listening on port 8443 and the old DNS name is used to hit the server listening on 443.
View 1 Replies
Dec 3, 2009
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.
Example: Page: [URL]
Script inside:
<script src="http://www.mywebsite.com.br/AC_RunActiveContent.js" language="javascript"></script>
<noscript>
[Code]....
View 1 Replies
Dec 21, 2009
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?
View 1 Replies