Tuesday, March 22, 2005, 9:30:26 AM, Jayp wrote: J> I realise its an age old topic here but i was trawling the web trying J> to find the best/quickest way to detect an internet connection.
For quickest, I would say: result = (the environment).internetconnected If there's an internet connection, the result will be #online. No xtras required. As for your net operation, it's difficult to give any advice without seeing the script. However I don't think there's a need to use both a timeout object *and* the 'actorlist/stepframe' method to call regular updates in your parent script. Each of these are different techniques to achieve a similar thing - to automatically call a handler repeatedly. One or the other should be enough. And if you're not actually using the actorlist, it's best not to use the name 'stepframe' for a handler because it might cause confusion. If you are using the actorlist (i.e. adding your parent script to the actorlist), then it will automatically receive 'stepframe' events in time with the movie tempo - so no timeout object would be required. If you're creating a timeout object which repeatedly calls some handler in your parent script, then you don't need to use the stepframe/actorlist. To help you find out what's going on in your script, why not use a 'put' statement in your stepframe handler. It would help make sure that your stepframe handler is being called as often as you think it is, and maybe you could 'put' the stream status of the download's netID too. - Ben _________________ [EMAIL PROTECTED] www.robotduck.com [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
