IDE :: Specify A Proxyserver (and Port Number) Using Loadvars And SendAndLoad From A Projector EXE?
Jun 1, 2009
I am developing a module that will run on a CD-Rom as a projector. It needs to post small amounts of data to an online URL to facilitate tracking.Consider this:
Code:
var myVars = new LoadVars();
myVars.username = _root.userName;
myVars.email = _root.emailAddress;[code].....This works fine, unless the user's computer is behind a corporate proxy server, which is specified in the Internet settings of the browser. My question.....Is it possible to specify a proxyserver (and port number) using Loadvars and SendAndLoad from a Projector EXE?
View 1 Replies
Similar Posts:
Aug 1, 2005
Just wondering if you can use the sendAndLoad method of the Loadvars object to send "POST" data to a server then recieve the response in an XML object.
[Code]...
View 11 Replies
May 17, 2007
From what I understand, LoadVars.sendAndLoad( ) is generally used to request variable data form a server. I am trying to download an image (which can be returned to me as a bitmap, jpeg, or png depending on my a variable i pass to the server in the sendAndLoad command.
Is this possible? If so, what object do I specify as the target object in the sndAndLoad( ) command?[code]...
View 7 Replies
Apr 17, 2009
I'm using the following code to create a sendandLoad loadVars Object but it suddenly quit returning data and no matter what i do i cannot return a value.i'm useing aspx to return the value the response code looks like this. Response.write("success = success"); Ive also tried Response.write("&success = success"); but neither works and i also don't send data here is my code.
PHP Code:
sv0=new LoadVars();
sv0.filename = str1+cntrl0+".flv";
sv0.identifier=str5;
[code]....
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
Jan 15, 2009
I'm writing a very simple flash app (AS 2) to sign users up to an email newsletter; the way it works is that it uses LoadVars to hit a (same-domain) PHP script via POST with the user's email address. The PHP script then passes the info through to another domain via curl to sign up the user.
So far, so good, and it works on roughly 70% of the computers on which it's been tested (it's being tested live from the website, not locally). However, on some computers, it doesn't appear that the LoadVars.sendAndLoad call is being made, as the email addresses sent from those computers aren't showing up on the subscriber list. I know that the PHP script still works on those computers as I've made a barebones HTML form that acts in exactly the way the Flash app does (POSTs to same PHP script with same variables, etc) and it works on all computers.
Here's the relevant AS:
submit_btn.onRelease = function(){
submitOutAnimation();
this.enabled = false;
[Code]....
View 2 Replies
Jun 8, 2010
Having not used PHP in conjuction with Flash before the last few day, I'm a bit stuck.I have a PHP file which will contain a list of online courses, each with their own link to to launch them. The link to launch the course will contain data such as:
- A book mark that will be read when the flash movie loads to determine which page to go to.
- The current score of the student
- Wherever or not the student has compelted the course.The links open the course in a new popup window, and I am trying to send the PHP variables from the new window to the parent page, without much success.
If I use LoadVars.send(); then the whole works ok, updating the variables and the PHP page, but opening it in a new window, instead of just refreshing the existing page.I have tried getting my head around sendAndLoad, but it doesn't seem to work?Current the "courselist.php" file looks like this:
courselist.php[code]....
View 1 Replies
Sep 10, 2004
I have a flash menu which is currently loading its contents via a ever-changing XML file... well this has always been a good thing and worked just fine... until the release of AOL 9.0, which for some reason causes the XML to stop loading.So I found a workaround for this... rather than calling "menu.xml" I have this sript called "proxy.asp" which loads the "menu.xml" file into it via some sort of crazy .asp tunneling and object creation. Here is the proxy.asp file::
Code:
<%@ LANGUAGE=VBScript%>
<%
Response.Buffer=True
Dim MyConnection, TheURL
[code]....
NOW...since I run in literally hundreds of websites I need it to be dynamic. Is there a way for me to use the sendAndLoad() in Flash to pass the "proxy.asp" file a couple variables that will return the XML as an XML Object back into Flash? I know it can return Strings, but I need to learn how to send 2 variables out - ID and progID - and then based on that I will have the "theURL" variable in the proxy.asp file load the appropriate menu.xml file. how do I setup a sendAndLoad() with the LoadVars() and return XML from the proxy.asp?
View 1 Replies
Jan 29, 2009
I'm basically sending some variables to a php script from flash and then returning some values back to flash from the script. The problem is that the values returned to flash are appearing correctly but do not test correct. My actionscript and php scripts are below (just samples displaying the the mechanics of what i'm trying to do):
[Code]...
View 3 Replies
Sep 26, 2011
I am trying to connect to some web service on server to get a RSS feed.It connects to the web service on the server. But then afterwards, it strips the port number of the URL. For example:But then, when I try to call a method of that web service it says:o the port is stripped from the URL, can anybody tell me why this might be?I have tried connecting to this service on my local network with the same port number, then it works fine, port number not stripped
View 0 Replies
Sep 10, 2009
If I am streaming at 256kbps how many connections can I get on a 100MBit port? I confess tnat I don't know the math
View 12 Replies
Oct 29, 2010
Parden me if this question was asked earlier. While installing FMS i have entered the port numbers 1935,100 instead of normal 1935,80 as i already have wamp in my default port 80, but when i try to call the localhost url, both the port [URL]..
View 2 Replies
Apr 20, 2004
I'm trying to grab the number of variables I'm loading using LoadVars.
View 5 Replies
Apr 20, 2004
I'm trying to grab the number of variables I'm loading using LoadVars.
View 5 Replies
Jul 24, 2009
In a project that I'm working on, I have to be able to read input data from a serial port. The input data will be very simplistic in nature. I'm guessing more like a on/off, yes/no, true/false style of operation.I have found some examples in other languages, but nothing in AS3 or AS2. Could anyone send any sample code or a link to a tutorial that gives me some lead way on this? Which approach is better, going with a Flash projector piece, or building it in AIR? The final piece will be on a PC based system.
View 2 Replies
Apr 13, 2004
One of the moderators, could you've a look at this tutorial: [URL] it doesn't works with me, maybe because I've 2004 so if you change loadVars() into LoadVars() it should work
View 2 Replies
Sep 1, 2003
Whenever i try to display anything returned by LoadVars.getBytesLoaded or Load....Total, it gives me NaN.
View 14 Replies
Dec 8, 2009
Is it possible to have a flash Projector control the timeline of another flash Projector.
example: Projector1: has a button to start/play Projector1 and trigger to start/play frame 7 in Projector2 at the same time.
So both external projectors are in sync.
View 0 Replies
Feb 12, 2010
Alchemy allows users to compile C and C++ code that is targeted to run on the open source ActionScript Virtual Machine (AVM2).
View 1 Replies
Jun 28, 2009
I don't need to deploy an HTTP server and all the connections are made on port 80, the default HTTP port, which is generally not blocked by firewall.Unfortunatly at the end of my work I realized that the flash socket component has some limitation on using port 80.[URL]As nobody is interested by this report, I now think that this limitation is done on purpose by Adobe. I don't know exactly why, may be to force to use their data service product.
I can understand that. But what I am hangry about is that nowhere in the documentation of the socket component there is an information about this limitation. I guess lot of people lost time trying to reach an unreachable goal ! And most of the time you find the problem at the end of the work because local connection is working ok on port 80.
View 1 Replies
May 3, 2005
On this page it says "The XMLSocket.connect method can connect only to TCP port numbers greater than or equal to 1024"This makes it hard to get a chatserver to work through a firewall.BUT I recently discovered on this page that you can set up "policies" for your flash movie that allow it to run on port 80.
View 1 Replies
Jul 16, 2009
Dear Guys I Want To Generate A Random Number Between 2 Number BUT Without Generating 2 Same Number I Mean If For Example Already Generated Number "2" Next Time Did Not Generate It , Is There Any Solution
View 5 Replies
Jul 1, 2010
I am new to the Flash Media Server and have a question on its use of ports. Now if a server has IIS and FMS and one wished only to stream flash (VOD). Could I edit the fms.ini file and remove port 80 from adaptor.hostport?
In my thinking I would stream over port 1935 and would lose the ability to progressive download over port 80.Now I do not ever want to use progressive downloading so no issue so far. In addition I can now run my IIS server on port 80 for my administartor console into FMS. All my clients are internal and thus I do not need a stream on port 80.
Is my thinking sound or am I misssing something?
View 1 Replies
Jan 9, 2010
Is there any such effort been made?
Some more info:
it's client application (gui intensive)
By porting I was thinking of cross-compiling.
View 2 Replies
Feb 21, 2010
I want to write an application that monitor the USB port, and when something is connected should show the contents of the drive (image viewer) automatically.there is any way to do that with Flex/Flash directly?or i might program another application in C in order to monitor the USB port and then comunicate with the front-end application with sockets?
View 2 Replies
Mar 26, 2010
I installed fms 3.5 and actually am running apache for php in 8080 and want to make this fms service in different port and made it as 8083 while installing,
After installed when am starting fms using
./fmsmgr server fms start
it shows error message and i checked in messages file it gives already that port is used by someone
"Mar 26 03:59:51 u15393552 Adaptor[12576]: Failed to initialize listeners for adaptor admin, FMS is already running or other adaptor admin"
View 2 Replies
Mar 31, 2011
AM reading data from port in the form of bytes.my data will be like [code]...
View 3 Replies
May 9, 2011
We have an AIR application which is running in client-server mode as a desktop application. Our application runs on AIR version-1.5;Flex version 3.5. We want this application to be ported to android. Will AIR 1.5 work with Android? if not which version of AIR should be used with Android? And also, Can I configure my Flex Builder to partucular version of AIR SDK? I am getting confused with AIR 2.0, 2.5 and recently released flex Hero SDK for mobile platforms.
View 1 Replies
Sep 22, 2011
I need to port a C-like enum to Haxe:
enum Items
{
item1,
item2=0x00010000,
item3=0x00010001,
item4,
[Code].....
But Haxe doesn't allow default value it seems. How can I do this? My real enum has hundreds of entries and for those with default values I must preserve the values.
View 1 Replies
Dec 12, 2011
I've downloaded BlazeDS 4 and installed in on my Tomcat server. How can I make it to listen to port distinct from 8080? I change port in channels configuration in services-config.xml, and my client application sends requests for new port, but they failHow can I make server listen to custom port?
View 2 Replies