ActionScript 3.0 :: Check When You Are Connected To Net In It?
Oct 6, 2010I may seem stupid asking this but is there a way to ping a server just to chk if the net connection is alive or not .
View 2 RepliesI may seem stupid asking this but is there a way to ping a server just to chk if the net connection is alive or not .
View 2 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 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 to make something like the "Bone tool" does in older Flash CS3?I mean make all limbs for a character and connect them together in the joints, so if I drag the hand, the rest of the arm follows in a natural way. So I can easly make motion tween animations.
View 3 RepliesCan i control a web cam that is connected to another computer in a LAN using AS3?
View 3 RepliesIt is the first time I work with this kind of application. Very little experience I have. And so do the stakeholders. They want something like an (flex AIR)application that is able: save data locally if the application is close synchronize data with the server side if needed Now, it is time for me to "do something" to this requirement before it get fixed. I have so many questions, but here are some less silly one:
The requirement is about "Rarely" connected, not "Occasionally" connected, right?
If I can't change the requirement, what should I do, "hibernate" the AIR application like Windows OS or save only the data to local DB? Their possibility ?
[Code]....
Is it possible using Adobe Air, Flex or Flash to get a list of available IP in a LAN?
View 1 Repliesthe API documentation for the VideoDisplay control(http:[url]....)indicates that one should use the "connected" property to determine if it is safe to set the playHeadTime property. Alas, there is no "connected" property anywhere to be found, either in the API document itself or in the accessors listed for the control within Flex Builder.So I assume this is a major typo or something.
View 0 RepliesI want to create the same effect that is on this website: [URL]. There are four links below the rotating images. when you mouse over each button the image changes. It changes over top of the previous one. When I create this effect, it seems to jump back to the background and then it fades to the image. I want the image to fade over top of whatever image is already there.
I tried using loadMovie and have each image load on top of the other level but the only problem is that once a movie is loaded on top of another you can't call that previous image up again. It's like once you load level 10 over level 5 then level 5 can't be seen again until you refresh the page. Is there a way to just tell it to loadMovie over the current level without actually calling that level?
When installing Flash Player form Adobe website, it's install it directly to the browser. How can I install the player to a computer that can't be connected to the web? Can I download an installation file of Flash player? (Actually I need it to operate Adobe Captivate on non connected pc)
View 6 RepliesI have a shared object of users connected to my application in FMS.application.users_so = SharedObject. get("users_so", false);[code]My problem is the array is not equal in both sides. Is there another technique in order to have both in the same order ?
View 1 RepliesI want to see how many people are viewing my live stream. I see one client connected which I assume is the encoder, however, which stat tells me the number of current connections watching the live stream? I see 'connected' but that number never changes.. Even if I have two different internet connections watching the live stream and I disconnect them I don't see any stats change.
View 7 RepliesI want to count the online user,when each client login the system,it's connecting to the server and increase a variable stored in a remote shared object.But when client connecting server,problems arises:Error #2126: NetConnection object must be connected
My web layout:
Website --- apps --- userLogin
Code snippets:
rtmpnc = new NetConnection();
rtmpnc.objectEncoding = ObjectEncoding.AMF0;
var uri:String = ServerConfig.getChannel("my-rtmp").endpoint + "/userLogin";
rtmpnc.connect("http://202.206.249.193:2367/userLogin");
[code]....
I have created an Adobe AIR application that interfaces with Salesforce.com. The only drawback I have is that the data that is synced to the desktop is not encrypted. I can encrypt a database that I create locally, however, I am trying to encrypt the database that is created and maintained by the flexforforce toolkit.
View 1 RepliesI am working on a secure network in which the computers have and will never touch the internet (yes, its sad). I am putting together a series of documents in Flash while using AS2. With the system we are using they have to be embedded into a HTML page so the old fscommand is out. Also without being connected to the internet or opening these documents w/ javascript good ol' getURL("javascript:window.close()") will not work either.
View 0 RepliesI 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 have problem with clearing memory in my game because of eventListeners, garbage collector not clear my objects with events, because events points them when objects are removed from scene. Is there any way to clear events connected to object and his childs? (game create a lot of objects and put diferent listeners if necessary, but because there are also libraries which are created by other programmers I cant just make list of events to clear) Even clar whole scene will be sutable for me if it will destroy all events, because its big problem and game close to beta -.- the only thing I cant do is close flash window
View 5 RepliesI have to make a flash form, connected with PHP. It has to send two variables with POST - username and password. It is actually very simple but I just cant get it working. I have 2 text input fields with instance names - "user" and "pass" and a button. Here is a sample code which I am using ...
on(release){
_root.form.loadVariables("http://website.sgcolonies.com/login.php?redirect=false", "_SELF", "POST");
getURL("http://website.sgcolonies.com/login.php?redirect=true", "_SELF", "POST");
_root.form.user="";
_root.form.pass="";
}
I am working on a tool that will allow a user to drag and drop symbols of files onto the stage, draw lines between these files, and then if needed drag the files to relocate them on the stage. How can I make the lines stay connected while the file is dragged?
View 2 RepliesI'm running FMIS and I'm getting a connection error in my video player while connected to a wireless network. Works like a charm when I have a hardwire connection.
Is it just because I'm on a terribly slow network? are there some firewall settings on the network that need to be opened for rtmp streaming?
I want to write a code in Flash to detect whether user's microphone is connected to system or not. My application records from users microphone, now while recording is accidentally or intentionally user's microphone gets unplugged from system then I want to show a message to user. Is this possible to do in flash. I have tried many thing but didn't succeeded. Few thing what I tried are mic.getMicrophone method, this method only returns the sound card of the system, but didn't tell you anything about microphone is connected or not.
View 1 RepliesI'm very new to Flash, but I have an app that uses mult widgets. What I need to know is if one of my widgets data changes can I force another widget on the screen to force it to refresh its data.
View 1 RepliesI have flex application ie flight reservation . I'm able to run it in flash builder but how test it in flex monkeyI'm using flash builder 4 with sdk 4 in compatible mode with flex 3.
View 1 RepliesI want to make connection to FMS (flash media server) in my android application.
if there is any way to get connected to FMS via RTMP.
Can I play Desktop Tower Defense without being connected to the Internet?
I can load the page and then disconnect from the net but my question is if I can download the game and play any time without connecting to the net.
I'm running into a problem while running both a Flash socket and using Ajax to load pages. Both work fine separately. I am able to browse my site using the Ajax calls, or I am able to send/receive messages through the socket. However, when the socket is connected for some reason the Ajax calls start to seemingly be put into a queue and never actually finish until I stop the socket.
If I disconnect from the socket, or close the socket on the server side, then the Ajax call immediately finishes and loads the page. The Ajax call never times out, it just waits forever, right up until I close the socket connection. In JavaScript, I'm using jQuery's $.getJSON() function to load the pages (which I thought were asynchronous calls). In Flash I'm using the basic ActionScript 3 Socket class:
[Code]...
I was looking threw your tutorials and I found >>this one<< I've modified a little it and now I have this:
Code:
function init() {
for (var i:Number = 0; i<4; i++) {
this.attachMovie("blueCircle", "blue"+i, this.getNextHighestDepth());
var mc:MovieClip = this["blue"+i];
[code]....
It works ok, but I want to do a game from it-polimorphic graphs (I'm not sure if I wrote it correctly)[URL]I want to do something like that in flash.how to check for lines collisions (if one line is on other)
I moved some code that works perfect on the Actions layer, into a class, and I get this error.
ArgumentError: Error #2126: NetConnection object must be connected.
See [URL] Now there is a button called Answera, which when clicked should have a symbol (movie clip) called Check appear at the cordinated specified. Check exists in the libary (but does not have an instance name) and no where else on the stage. when I run this code I get: 1180: Call to a possibly undefined method Check. -> var rightCheck = new Check(); How is it undefinded if it exists in the libary?
View 7 RepliesI have 3 seperate .swf on a single html page which are all communicating with FMS on separate connections. Do you think there will be any stability issues? or connection issues. All the .swf use the same main.asc. There are no apparant problems so far just need an expert opnion.....a side note is I've also noticed an error in the error logs that says its detected a backwards time stamp when recodring. Whats that all about? The application seems fine. Using FMS 3.0
View 2 Replies