Flash :: Flex - AIR HTTPService - No Internet Connection

Jun 8, 2011

I am creating an air app that uses HTTPService to connect to a .net api and get a user for example. It works great when I publish the move for "Flash Player 10" as a .swf, however, when I publish it as .air it seems like there is no internet connection at all. I am assuming it's internet securities (maybe firewall). I turned off my firewall and everything that might be blocking the internet access, but nothing seems to work.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: AIR HTTPService Internet Connection?

Jun 8, 2011

This might seem like a simple question, but I searched the internet to no avail.I am creating an air app that uses HTTPService to connect to a .net api and get a user for example. It works great when I publish the move for "Flash Player 10" as a .swf, however, when I publish it as .air it seems like there is no internet connection at all. I am assuming it's internet securities (maybe firewall). I turned off my firewall and everything that might be blocking the internet access, but nothing seems to work.

View 1 Replies

ActionScript 2.0 :: Detecting Internet Connection - Check If A User Is Connected To The Internet

Mar 6, 2006

At the end of the movie I would like to check if the user is still connected to the Internet (they maybe on an unstable dial-up connection and lost connection). Is there anyway to do that? I mean, is there a way to check if a user is connected to the Internet using ActionScript?

View 4 Replies

Flex :: HTTPService.disconnect() - No Tcp Connection Drops And Script Keeps On Running On Server Side

Mar 20, 2012

I got a mxml file that launch a script on my http server through a HTTPService.send() call. Since the script on the server side takes a LOOOONG time (it could take even more than a hour) i would like to drop the connection between my air application and server when a button is clicked. Don't know why but calling HTTPService.disconnect() is totally useless... No tcp connection drops and script keeps on running on server side. No HTTPService.cancel() nor set HTTPService var to null worked.

View 1 Replies

Flex :: Completing A Socket Connection Across An Intranet Or Internet

Feb 12, 2010

I am writing a peer-to-peer binary socket program. There are only two endpoints. One socket is listening on my laptop system. The other socket is broadcasting from my desktop system. I have a third program running on a hosted server, that is available to broker the connection between the two. My problem is that when the laptop and desktop are on the same network, they both have the same internet IP address but different intranet IPs, but when the laptop is on the road, then the IP addresses are different. In order to be truly peer-to-peer, I have to write it so that after the connection is established, that the two computers communicate directly between one another. How is this generally accomplished, when the two computers could potentially share the same IP address, if they are running on the same network?

View 1 Replies

Iphone :: Flex - RIA Flash Apps On The IPhone Store Persist Data Until An Internet Connection Is Available?

Oct 8, 2009

I'm interested in building a thick client application for my existing web services that will run on the IPhone. Flash finally seems to be an option, so I thought about using Flex for client side development.

However, since flash apps are not natively supported by the IPhone, but only through a wrapper, I was wondering if these apps can persist any data. Data entered by the user should eventually be transmitted to the web service, but until then I want it to persist even if the Iphone should run out of power.

Is this possible? Or does the Iphone flash wrapper make it impossible to access the hard disk?

View 2 Replies

Properties :: Flash HTTPService : Reading The Connection Data From Property File?

Dec 19, 2011

i have my HTTPService, it looks like this :

<s:HTTPService
id="setCustomerInstalledPackageService"
url="http://localhost:8090/myapp/servletName"

[code]......

View 1 Replies

Flash 9 :: Checking The Internet Connection

Oct 21, 2008

Is there a way to continually check the user's internet connection from within Flash?

The one way I've seen is to load a small file using loadVars, and if that file loads successfully, then the connection is good.

But is there something in System.capabilities or System.security that might be a better option?

View 1 Replies

Actionscript 3 :: Check For Internet Connection In Flash?

Nov 24, 2010

How do I check for an active internet connection in Flash using Actionscript 3?

View 2 Replies

Flash :: Flowplayer Requires An Internet Connection?

Mar 10, 2011

I've noticed in testing a problem whereby Flowplayer will not play any content without a internet connection. All the files which make up my project are stored locally, and I've gone through and checked all the paths to make sure nothing points outwards towards the internet.

Curiously if I pull the internet connection out before the web page loads, the video file fails to load, however installing a loopback adapter gets around this. How can I alleviate this problem?

For proofs sake I've loaded the page in chrome looked at the network activity;

View 1 Replies

Flash :: Check Internet Connection Running Local Swf

Jun 7, 2011

I am creating a local app that is going to be a swf file. Is there anyway to check if the user has internet while they are using my app. I tried this, it works great if testing the movie from flash, however, It does not work when running the swf file independently. I'm guessing this is because it is strictly intended for air app.[code]...

View 3 Replies

ActionScript 3.0 :: Verify Internet Connection On PC?

Mar 10, 2010

Is there a class in AS3 that will allow you to check if the pc on which the player resides has a current internet connection?

View 1 Replies

ActionScript 2.0 :: Test For Internet Connection?

Aug 23, 2006

I'm creating a stand-alone player based Flash app. Some of the required elements within it are links to areas in a site online. I need to test before hand if the user has a connection. I'm stumped on this one. I'm not worried about NetConnection etc. I'm simply trying to test if the user has an internet connection or not. Would anybody happen to know if there is a function or some combination of methods that is not browser-based that can test for an internet connection?

View 2 Replies

ActionScript 3.0 :: Detect An Internet Connection?

Jul 10, 2008

is it possable for as3 to detect an internet connection?

View 14 Replies

ActionScript 3.0 :: Internet Connection Monitor?

Sep 13, 2011

My connection at work seems to be a bit rocky. I'd like to make a simple graph using the awesome power of ActionScript to demonstrate the rockiness of work compared to the smoothness at home to my IT guys.Websites like speedtest.net won't cut it as sometimes my connection is great, with sudden cutoffs randomly. Other apps won't work as I can't install software at work.

Any thoughts on how to get started? I'm guessing I download some audio or something at regular intervals or something to test/graph (I can handle the graph part)? I don't need specifics, although I'd be delighted to see examples if any. I really just need some general guidance on where to get started.

View 2 Replies

Actionscript 3 :: Adobe Air - Check For Internet Connection?

Mar 12, 2012

I'm building an Air app with Adobe Flash CS 5. I need to check if an internet connection is available.

I'm running into this errors:

1172: Definition air.net could not be found.
: Type was not found or was not a compile-time constant: URLMonitor.

[Code]...

View 4 Replies

ActionScript 2.0 :: Detect Internet Connection Speed?

Nov 24, 2010

I have two versions of video - low and high bandwidth. I want to detect client's internet connection speed to show low or high version of videos. Is it possible to detect Internet Connection Speed in AS2

View 1 Replies

ActionScript 2.0 :: Detecting User's Internet Connection

Dec 6, 2005

Is it possible, using Flash, to detect whether or not a user is using Cable, DSL, 56k, etc.?

View 1 Replies

ActionScript 2.0 :: Detecting Internet Connection Speed?

Nov 24, 2010

I have two versions of video - low and high bandwidth. I want to detect client's internet connection speed to show low or high versions of videos. Is it possible to detect Internet Connection Speed in AS2?

View 3 Replies

ActionScript 1/2 :: Call Javascript Function Without Internet Connection?

Nov 3, 2010

I have trying to call javascript function through ExternalInterface. But flash player recomonding to have internet connectivity. i have allredy used allowscript="always" .

View 3 Replies

ActionScript 3.0 :: Communicate Javascript Function With Out Internet Connection?

Nov 4, 2011

My program running in web browser. I dont have internet connection. How can i call Javascript functions.Also not working ExternalInterface.

View 11 Replies

IDE :: Detecting User Internet Connection On Release Of Button?

Apr 30, 2009

I am building a stand alone flash file which needs to detect whether the user has an internet connection on the release of a button.

View 3 Replies

Java :: Flex To Failed Connection, Scrapbook Successful Connection?

Sep 13, 2011

Im trying to make connection from flex to java and from java to mysql. I managed to connect to java, but having error that class not found: com.mysql.jdbc.Driver. But i downloaded mysql.jar, included it added to library, and connection works when i testing it from clipse scrapbook. Dont know what to do, i spend last couple days on this.

Class.forName("com.mysql.jdbc.Driver");
String username = "username";
String password = "password";

[code]....

Basically the solution was simple. Everybody keeps saying to put jar into lib folder, so i done it, but i wasnt realised that i have to put into my servers lib directory, not app lib directory and this miserable mistake cost so much. Anyway i hope this will help for some newbie like me.In this particular situation im using red5, so i putted it into my red5 dist/lib directory and "surprisingly" its started to work.

View 1 Replies

Flash :: Flex - Using Media Gateway Application - Status Is Not Getting Update Like: "Connection Failed" Or "Connection Success"

Dec 17, 2010

I got a IP Communications new account having following paramters:

[Code]...

Its showing me connecting ... Status is not getting update like: "Connection Failed" or "Connection Success". how to use the above information in this app,

View 1 Replies

Flash :: Send Xml Flex To Php Via Post Method In <mx:httpservice >?

Jul 9, 2009

i created xml in flex after that creation i post to php via http service but when i add like xml in http service flex throws error msg like Error #1096: XML parser failure: Unterminated element." What did i worng ? How to send xml data flex to php ?

<mx:HTTPService id="createxml" method="POST" url="http://####/admin/?do=storebettingdetails" useProxy="false"></mx:HTTPService>var xm:XML = new XML("**********"); ------ adding child node -- Thend attached xml to service like createxml.request=xm;
createxml.send();

View 1 Replies

Flash :: Flex - Standard Equivalent To HTTPService Class CS4?

Jul 17, 2009

Is there a standard equivalent to the Flex HTTPService class in Flash CS4?

View 2 Replies

ActionScript 3.0 :: What Is The Flash (non-Flex) Equivalent Of HTTPService() Method In The Following Code Snippet

Jun 11, 2009

I use the HTTPService() method to post a variable value to a SQL Server database. The suggestion came from someone with some past experience in Flash but nothing specifically related to posting variables to a database.

This person sent me the following code snippet that he found in a Flex forum (and changed a bit), with a suggestion that maybe it will work with a bit of massaging.

PHP Code:

private function start():void  { 
service = new HTTPService(); 
service.url = "http://webServer.aspx"; 

[code]....

My biggest problem is that I'm using Flash instead of Flex. What is the Flash (non-Flex) equivalent of HTTPService() method in the following code snippet?

View 2 Replies

Flash :: Flex - PHP Script Works Fine Until Send It A Parameter From HTTPService In Builder 4?

May 10, 2010

I'm using a PHP script to read an RSS feed in my Flex 4 app. The script works when I put the URL of the feed in the actual script, but I can't get it to work when I try to send the URL as a parameter from a HTTPService in Flex. Can anyone tell me what I'm doing wrong? Here is the HTTPService from Flex 4 that I'm using:

[Code]....

View 1 Replies

Professional :: Connection Flex/Flash To PHP

Mar 29, 2010

i found this link online about connection flash/flex to php. [URL]
 
basically what we are trying to do is connecting the flex login and get authenticated through the php/mysql database.

View 6 Replies

ActionScript 3.0 :: Create A Type Of Ftp Connection Using Flash / Flex

Feb 13, 2010

i was to create a type of ftp connection using flash/flex, however because actionscript doesnt support ftp i need to use other programs such as c#.net.intergration i have seen can be done with tools like WebOrb for .Net however because this is an Air application i want to be able to access .net class files(dll) from flash without havent to be connected to any sort of server.however i cant find any solutions to connecting to .net classes as a standalone application.

View 3 Replies







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