IDE :: Detecting User Internet Connection On Release Of Button?
Apr 30, 2009I 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 RepliesI 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 RepliesAt 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 RepliesIs it possible, using Flash, to detect whether or not a user is using Cable, DSL, 56k, etc.?
View 1 RepliesI 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 RepliesIs 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 RepliesIs 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?
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 RepliesI'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 Repliesis it possable for as3 to detect an internet connection?
View 14 RepliesMy 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.
How do I check for an active internet connection in Flash using Actionscript 3?
View 2 RepliesI'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;
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 RepliesI'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]...
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 RepliesI'm having trouble with it. Most of the examples I've found on the net are in AS1 from 2004 and older, using some strange operation or modifier before variables which I haven't seen before -> /: And they don't work in AS2.So I've started making mine. I've thought of making two preloading frames, each would gather time and bytes loaded, than calculate the difference between them and thus getting connection speed.
ActionScript Code:
//frame 1
time0 = getTimer ()/1000;
[code]......
At run time, Is it possible to detect the 'Connection Speed of the user' and change the way my preloader works? Say If the user is on a Dial up connection then play the initial 50% of the movie that has been loaded while loading the remaining 50% in background, If the user is on DSL or cable then load the entire 100% movie and so on.
View 2 RepliesI'm making a custom slider component. The head (the thing that you drag) is programmed like this:
head.addEventListener(MouseEvent.MOUSE_DOWN, function():void {
head.startDrag(false, new Rectangle(stubDiv,0,width - stubDiv - ((levels-maxLevel)*stubDiv),0));
[code]......
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 RepliesMy program running in web browser. I dont have internet connection. How can i call Javascript functions.Also not working ExternalInterface.
View 11 RepliesI 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 RepliesI 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 RepliesAnybody have (or know a source for) an actionscript that will do all of the following:
1. Detect the broadband connection speed of a site visitor.
2. Detect the version of Flash Player they have.
3. Use above information to steer the visitor (seamlessly and unbeknownst to them) to the one of several versions (on a streaming server) of an flv'd video that is the most appropriate for their connection speed/player version combo?
Also, what range of kbps versions would cover *most* situations (e.g., 100, 300, & 450?)
i m developing a seekbar which user can drag to the end of the movie. its working but when the user drag the seek bar and release it , it stops on the current frame. and do not go further.
[Code]...
I have been searching for a simple way to detect if a user is connected to the internet. I have been told to download xmls and read from html is there anyway one proven way which I can use in my projector for both mac and pc?
I want to hold a user on a frame while flash detects if a connection is present, if not user is shown a message 'please try again' if connection is prsent button appears in center of the stage which takes the user to a URL when pressed.
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?
Is it possible to detect the IP number via flash, java, php, whatever, and send the information to flash?
View 2 RepliesIs it possible to detect the IP number via flash, java, php, whatever, and send the information to flash?
View 2 RepliesMy application pops up help windows outside of flex on several occasions. I need to warn the user to allow pop ups from my app if they have the pop-up blocker on. Does anyone know how to determine this from inside of flex and then how to have the browser pop up the "allow pop ups from this site" thing after that?
View 3 RepliesI am building a Mac and Windows standalone file using flash, I need the flash file to check if the user is connected to the internet and if not they are shown a message which is on frame 2 if they are connected to the internet they are sent to frame 3.
View 1 Replies