Actionscript 3 :: How To Define Proxy Without Blaze DS

Jan 5, 2012

I have an AIR app that I need to define a proxy for because the services sit behind a firewall. We are not using BlazeDS so I can't define the proxy settings in the proxy-config.xml file. So, how do I do it? I'm guessing that I'm not the first person who has had to work behind a firewall when accessing data so I'm not sure why I can't find any documentation on the web anywhere about this.AIR says it is supposed to automatically know and use the proxy configuration from your system, i.e. default browser. In there, I don't set a manual proxy, I use the 'automatic configuration' and point it to a .dat file. Could this be where the problem is? Does AIR not know how to understand this?There's no way to set a proxy on an HTTPService component unless you are using Blaze DS or LCDS? Is this true? I'd hate to have to add that to my application just so I can get this accomplished.

View 1 Replies


Similar Posts:


Flash :: Uploading Images With Uploadify Run Into IO Error With Local Proxy (proxy.pac)?

Feb 21, 2010

I'm trying to upload images with Uploadify but I run into IO error. I have gotdemo and it works on my computer, so I decided to implement functionality of my application to this example step by step to catch the error and discovered that the reason of IO error is my local proxy.pac (I use FF):

function FindProxyForURL(url, host) {
if (shExpMatch(host, "*.app.local*")) {
return "PROXY 127.0.0.1:3000";

[code]....

View 1 Replies

Flex :: Blaze And Integrate App With SiteMinder

Feb 15, 2011

I'm just looking for some direction to integrate my Flex app with SiteMinder. I can't find any working examples online to get me started.

View 1 Replies

C++ :: Using Live Data From Blaze DS In A Swf File

Aug 23, 2011

I currently have a c++ client which can play SWF, AVI, BIK etc It uses DirectX9 to render the graphics I currently have a requirement for dynamic SWF files, which would retrieve data from a BlazeDS server and put certain text in certain places depending on the retrieved data From what I have read, BlazeDS talks to Adobe Flex and Adobe AIR applications Would that mean I would have to convert my current c++ client into a Flex application I'm just having trouble trying to figure out how Blaze and Flex and Air all fit together

View 1 Replies

Javascript :: Use Adobe's Blaze DS Via ColdFusion Through Ajax?

Dec 7, 2009

I want to use Adobe's Blaze DS via ColdFusion through Ajax. I know enough ColdFusion and JavaScript to do what I want to do, but I want to add long poling into the application and it looks like the only way to do that is through Blaze DS...but I don't know enough about Flash/Flex to finish the job.

View 2 Replies

Flex :: Blaze DS 4 Libs Missing Mx.* Packages?

Mar 29, 2012

I just set up my environment (Flex 4.6 SDK, Blaze DS 4.01) and I'm wondering where the needed mx.* packages might be found, since I want to import classes, such as mx.messages.Producer / Consumer, in my non-MXML-Project and instanciate them programmatically. Blaze DS API ref says, they are part of the Blaze-WAR but I just can't find them.

View 1 Replies

Flex :: Security - Blaze DS Not Passing OpenSSO Authentication Cookie?

Jun 15, 2010

I have a set of RESTful web services. These services are protected on a Glassfish server by OpenSSO. When I attempt to call the RESTful services directly from a browser, OpenSSO intercepts the request, then forwards the request to the REST service once the user's credentials are authenticated. OpenSSO utilizes a session cookie on subsequent requests (until the session is invalidated) . I'm sure this piece is working correctly.We'd like to call these services from a Flex client. In order to enable PUT and DELETE operations, we set up BlazeDS to proxy the RESTful requests from the flex client to the REST service. When security to the RESTful services is disabled, this piece works great.

Now we're trying to secure the entire application. We've placed the Flex SWF into a war and deploy to Glassfish. We've placed security around this resource and when a user attempts to download the SWF (through an HTML link in the war), OpenSSO intercepts the request, then forwards to the application on successful authorization (just like it does for the RESTful web services).The problem is - the RESTful calls made by the Flex application (via BlazeDS) are failing. OpenSSO seems to be intercepting these requests as well and again asking for the users credentials. It doesn't seem the authentication cookies are being passed to (or maybe by) the BlazeDS proxy.

View 1 Replies

Php :: Proxy To Get XML?

Feb 17, 2011

So I need to retrieve XML from a public API, but my app is in Flash and the public service won't implement a crossdomain.xml file. I found this PHP script online (below) for a proxy to request the URL. It works fine for URLs like:

[URL]

but the script seems to either strip or ignore any arguments on the URL, like:

[URL]

I'm PHP ignorant. Is there an easy way to have this script process those URL arguments? Here is the script:

<?php
$post_data = $HTTP_RAW_POST_DATA;
$header[] = "Content-type: text/xml";
$header[] = "Content-length: ".strlen($post_data);

[code]....

View 1 Replies

Media Server :: Using A Proxy To 3.5

Aug 18, 2010

Is it possible to use Apache to proxy/tunnel RTMP(S) traffic through to Flash Media Server?Basically, I want to tunnel RTMP traffic using HTTP through Apache.What I want to be able to do is open up an appropriate port (either 80 or 443) on the Apache server and have that proxy traffic through to Flash Media Server. The reason I ask is that I have set-up this scenario but I keep getting a "NetConnection.Connect.Failed" error message; I captured the network traffic flowing between my machine and the server and it is connecting to the server, just nothing happens after that.Do I have to connect directly to Flash Media Server?

View 1 Replies

Flash :: Get The Client-IP Even If A Proxy / VPN Is Used?

Aug 23, 2011

How do I get the clientIP from users in my regisrtationforms? It's easy to get the IP with the user isn't using a Proxy, Proxycacade or VPN. But if he uses one of those its difficult. X-Fowarded-For isn't reliable and fails within cascads.

But there are possibilities, because JavaApplets and Flash aren't using the Proxy-Services. How can I archieve to get the clientIP with those technics? I prever to use a small Flash-Code to get the IP from the client, but how to implement?Another way should be a counterpixel which is using IPv6. Most of the proxyservices only support IPv4, can I tell an image only to use IPv6?

View 1 Replies

Use A SWF As A Web Request Proxy Between Javascript And Server?

May 23, 2009

I know I can call my server directly from javascript. However, I want to do this through a non-GUI SWF file. I'm fairly new to Flash but have gotten all the CS3 tools from work. Does anyone know of any examples on:

1. how to make a web request from within flash provided the URL, post content, and timeout

2. how to call a Flash API from javascript asynchronously

3. how to detect whether the browser being used can support my SWF (I don't want it to prompt to install Flash if they don't have it yet)

I'm actually hoping someone has already done this and has a sample already built.

View 7 Replies

Actionscript 3 :: Cast A Proxy To An Interface?

Jan 30, 2011

I need ActionScript Proxy to be castable to a particular interface.

Here is an example without interface:

public dynamic class Tracer extends Proxy {
flash_proxy override function callProperty(method:*, ... args):* {
trace(method + " " + args)
}
}

[Code]...

View 2 Replies

Flex :: Use Proxy In It's HTML Control?

Mar 21, 2011

I want to use a proxy on the HTML Control found in Adobe AIR.I have tried looking at the AS3 docs on Adobe but honestly, it didn't explain the usage clearly to me and looking at Adobe's example, I can't seem to make out anything off of it.

View 1 Replies

Php :: Facebook Proxy Loader Security?

May 19, 2011

I'm using a PHP proxy script to load images from Facebook into Flash without any sandbox violations. It is taken from the guide here: [URL].. The relevant PHP code is:

[Code]...

The guide mentions that additional security measures are recommended for a real world application. What additional measures would be applicable to this? Maybe some kind of key passed from Flash to PHP?

I realise that there's nothing I can do to completely protect the Flash from being decompiled, but can I prevent the script from being used maliciously?

View 1 Replies

AS3 :: Overriding Proxy GetProperty Method

Jun 6, 2011

I've run into a peculiar problem while trying to make use of the Proxy class and override the getProperty() method. I've attached my example class code below:

package
{
import flash.utils.Proxy;
import flash.utils.flash_proxy;

[Code]....

View 1 Replies

Flash :: Proxy Error #2124?

Jul 13, 2011

I got a standard php proxy getting images cross domains.

domain/proxy.php?url=http://images.fandango.com/r85.7.3/ImageRenderer/69/103/images/no_image_69x103.jpg/135631/images/masterrepository/fandango/135631/hp7_2-3d imax poster_lo.jpg

[code].....

View 1 Replies

Flash :: Get The Proxy Server To Cooperate?

Aug 1, 2011

I'm trying to use JMeter to test our web application and I'd like to use an automated recording of tests but our UI is in flash/flex. Is there any way to get the proxy server to cooperate with the flash/flex? I do have control of both the client and server sides, though rewriting our application to redirect the flash/flex calls to another address isn't really an option. If there were an automated way...

I'm currently testing Windows client and server, but I also need to support testing on Linux client and server. If tests need to be created on one or the other and can be ported to both I could live with that.

View 2 Replies

ActionScript 3.0 :: Flash Upload From Behind A Proxy?

Jan 20, 2009

I am working behind a proxy and some of the flash uploaders out there require me to authenticate myself on the local proxy before allowing me to upload files. I have such an uploader which currently is outside my network. However after it tryes to execute file.upload(request); it dies silently without a trace of what is going on. I presume that it fails because it hasn't requested the proxy auth. How can I show the proxy auth login pop-up. Here's a sample of my code

ActionScript Code:
var request:URLRequest = new URLRequest(this.uploadScript);
request.method = URLRequestMethod.POST;
request.data = new URLVariables();

[code]....

View 0 Replies

ActionScript 3.0 :: Loading Crossdomain.xml By Proxy?

Feb 6, 2009

I have to load my "crossdomain.xml" using a proxy.how can i do that?

View 0 Replies

Flex :: Drag Actual Element Rather Than A Proxy?

Dec 17, 2009

I'm trying to implement a dragging system which can only be described as similar to dragging the map on Google Maps. I can set up dragging easily in Flex, but unfortunately the standard model of dragging i.e. dragging an element proxy and dropping it in another element is not what I'm after.

Is there anything built into flex where the actual element rather than a proxy can be repositioned in a different place within the same parent? Or will I have to hand code something using mouse events as you would if implementing a solution in JavaScript?

View 2 Replies

Flex :: BlazeDS Servlet Not Responding Through Proxy?

Jan 25, 2010

I have a problem using Flex with BlazeDS on a Tomcat 5.5 through a Proxy (Apache). I already searched for it but didn't find answers which solved my problem. I hope you guys can help me out. Our scenario is the following: Flex-App using BlazeDS to communicate with our Dataservice on a Tomcat 5.5.The Webapp is balze enabled and the services config contains channel definitions like the following:

<channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
<endpoint url="http://xxx.xxx.xxx.xxx:8180/myDataService/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint">
</channel-definition>

[Code]...

View 2 Replies

Php :: Push Information From A Proxy To A Flex Application?

Jul 29, 2010

So I have a PHP proxy that gets information from a website. Let's say the proxy gets the information from (www.example.com). It checks if the number of lines returned is the same as before, if not then there are more lines, it counts the difference then it need to push this information to the Flex client saying that it has new information, (x) more lines have been written.I am not really sure how to do the push mechanism on the php proxy because I am not sure how to actually push from the proxy to the client, never done it before.

View 2 Replies

Flex :: Using Proxy To Over Come Cross Domain Restriction?

Nov 7, 2010

After reading James Ward's post I'm considering using a proxy rather than a crossdomain.xml file. I have a java app, which includes a flex applet, on one tomcat instance and a java web service on another tomcat instance. Does it make sense to have a single (Apache httpd) proxy handle requests for both the app and the web service, thus eliminating the cross domain restriction?how to deal with the cross domain issue are welcome.

View 2 Replies

Flash :: Setting Proxy Settings For Player?

Jan 9, 2011

I asked Google. But there is no working answer for it. I checked "right click -> global setings" and found no proxy setting in [URL].. Can anyone know how to configure proxy settings for flash player?

View 1 Replies

Flex :: AIR Application Connecting To RemoteObject Through Proxy?

Apr 29, 2011

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:

[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://myTestService.org:8080/default/message/amf'"]

View 1 Replies

Actionscript 3 :: Proxy Server Functionalities In Flex?

Jun 11, 2011

explain me briefly what is proxy server and what does it do

View 1 Replies

Modify Browser Proxy Settings Adobe Air?

Aug 31, 2011

Is it possible to modify browser proxy settings with flex/actionscript/air?

View 1 Replies

Flex :: Using Proxy Webservice With Adobe AIR / BlazeDS

Sep 28, 2011

I am trying to call a webservice using proxy. My settings for proxy-config on blazeds side are as below:[code]Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (null)faultString: [MessagingError message='Destination 'ws-catalog' either does not exist or the destination has no channels defined (and the application does not define any default channels.)']

View 2 Replies

Flash :: Applications Forced To Use A Browser's Set Proxy?

Feb 6, 2012

Are flash applications forced to use a browser's set proxy.

Such as a proxy that has been set on foxy proxy.Or will it be treated as a separate application that can see the user's real IP address.

View 1 Replies

Java :: Dphibernate - Proxy Initialized False

Feb 13, 2012

I need advice. My server application send objects with not inialized proxies. Primitive types ok, but onetomany and etc. not initialized proxies. As result my client application gets nothing when retreive received object properties.

here is sample with src and conf files without libs project on githubhere is server log, where you can see that objects were retreive fromdatabase and send with proxyinitialized = false

[Code]....

View 1 Replies







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