Handle the Network Connection Error ...

The main purpose is to handle the Network Connection Error,
when there is a Network Connection Error or pc loss the
connection (remove the ETH cable),
and it work in IE but not with firefox.
When there isn't connection during play of sound1, Flash call
"sound1.onSoundComplete" that point to an other frame, where i load
an other es:Sound2.mp3, BUt there isn't connection and Flash call
"sound1.onLoad" with "success=false" and that's OK because i handle
the error for example retry to load every 10 Seconds.
With Firefox when it happens the player call load sound2.mp3
but there isn't connection and it can't find the file (OK) BUT is
NOT CALL the "sound2.onLoad" and STOPS it in this frame mute and
nothing more happens.
This is the sample Code:
//on frame (1)
sound1 = new Sound();
sound2 = new Sound();
//on frame (2)
sound1.onLoad = function(success) {
if (success) {
//on load OK...
trace("Sound1 loading ok...");
} else {
//on load FAIL...
trace("Sound1 error ...");
//call error function. (es: goto frame 1 and reload all.)
_root.sounderror();
sound1.loadSound("sound1.mp3", true);
sound1.setVolume(100);
sound1.onSoundComplete = function() {
//goto next frame and load the Second sound
gotoAndStop(3);
//on the Frame-3
//there is the same code but with sound2 and
"onSoundComplete" -> gotoAndStop(2); for a loop of the two
sounds.
Thanks in advance for HELP ME.
PLAEASE READ and Comment!!!
This is my work! Sorry for the Bad English.

Thanks for your support, i have modify like your suggest but
the problem continue.
I've notice that in local work very fine also with Firefox. i
try during play to remove in one shot all mp3 file, and it call the
error handler function correctly, But if i put it on the web, when
i unplug the eth cable, it stop after sound2 or 3.loadsond and
write me back it in a text box, stop! it NOT Call the onload
triger, and do not call the error function.
WHY ?!? in local work whit all browser, and on web only with
IE?
HELP ME PLEASE!
Post the new code:
//Frame#1
soundintro = new Sound();
sounda = new Sound();
soundb = new Sound();
soundintro.onLoad = function(success) {
if (success) {
//find soundi - wait for onsoundcomplete...
} else {
//Sound error
//Lunch error hander function.
_root.sounderror();
soundintro.onSoundComplete = function() {
debug1 = debug1+("Trace-> soundintro Complete
goto2..."+chr(13));
gotoAndStop(2);
d = new Date();
soundintro.loadSound("soundintro.mp3?r="+d.getTime(), true);
soundintro.setVolume(100);
stop;
//Frame#2
sound2.onLoad = function(success) {
if (success) {
//find sound2 - wait for onsoundcomplete...
} else {
//Sound error
//Lunch error hander function.
_root.sounderror();
sound2.onSoundComplete = function() {
debug1 = debug1+("Trace-> sound2 Complete
goto3..."+chr(13));
gotoAndStop(3);
d = new Date();
sounda.loadSound("sound2.mp3?r="+d.getTime(), true);
sounda.setVolume(100);
stop;
//Frame#3
sound3.onLoad = function(success) {
if (success) {
//find sound3 - wait for onsoundcomplete...
} else {
//Sound error
//Lunch error hander function.
_root.sounderror();
sound3.onSoundComplete = function() {
debug1 = debug1+("Trace-> sound3 Complete goto back
to2..."+chr(13));
//Back to 2 for loop
gotoAndStop(2);
d = new Date();
sound3.loadSound("sound3.mp3?r="+d.getTime(), true);
sound3.setVolume(100);
stop;

Similar Messages

  • IPhone shuts off when I use the internet on the 3G network & I can't upgrade/restore because of network connection error. Any Help?

    A few months ago, while on the 3G network, my iPhone 3GS starting turning off randomly when I was using safari or an online app and the battery was somewhere around 5-20%. When this happened the only way to get the phone back on was by fully charging it which sometimes took a few hours even. It wasn't a big deal at the time because it was infrequent and while the phone was at a low battery %. However, in the past few months, around the time I upgraded to iOS 5.1 it started happened more and more often and at higher and higher battery percentages. It is now at a point where my phone shuts off every time I connect to the 3G network regardless of what my battery life is. I have called Rogers several times to complain about this and I have been told it is because of the battery for the most part but I don’t buy it; the problem has got to be more significant than the battery alone because I can listen to music and send texts at anytime and fully use the internet when I am connected to Wi-Fi. I more recently talked to someone in tech support from Rogers who said my phone cannot support the iOS 5.1 software and that is why it is crashing. They also asked if my phone was heating up more now than in the past and it is. They said this was further evidence that my phone was couldn't handle the new software and was basically on overload.  I was told to the best solution was to "Back Up" my iPhone then do a full "Restore". Here is where my next problem comes along. I cannot "Restore" my iPhone without doing an upgrade and every time I attempt to "Upgrade & Restore" an error message pops up that says "There was a problem downloading the software for the iPhone "...". The network connection timed out/was reset. -Make sure your network settings are correct and your network connection is active, or try again later". I have followed all of the protocol that is readily available online to address this problem but still no success. I disabled my firewall and anti-virus programs, I have ensured my connection is active and stable, I have upgraded to the newest iTunes, I have uninstalled iTunes and all apple programs in the correct order then reinstalled iTunes, I have disabled my DNS cache. Nothing works.
    If you have any advise whatsoever please share as it would be greatly appreciated.
    Thanks

    I was actually able to upgrade to the newest software, iOS 5.1.1 without connecting to my computer/iTunes but rather directly through my phone when I was home on Wi-Fi. After the upgrade I plugged my phone into a different USB port at the back of my computer and was able to do a full restore. I really don't think the USB port had anything to do with it because I use the same front USB port all the time with my external hard drive and other devices wuth no problems at all; regardless of what the actual solution was, I am now able to connect to iTunes and upgrade/restore without any problems so that half of my problem is resolved.
    I have yet to leave my house since doing the upgrade/restore so I am not sure if the problem with my phone crashing when I use the interent on the 3G is still an issue. I will test it today and tomorrow and give you an update.
    Thanks

  • Hi, I am trying to update an iPhone 4 from iOS 4.3.3 to iOS 7.0.4, and every time I try to update it comes up with an error message saying that there was a problem because the network connection was reset. Is there any way I can get past this and update?

    The full message said:
    There was a problem downloading the software for the iPhone "Judy's iPhone 4". The network connection was reset.
    Make sure your network settings are correct and your network connection is active, or try again later.
    I am trying to update the iPhone for my grandmother, Judy, as I am leaving for Paris on Wednesday night and we want to have Facetime installed on her iPhone before then, so we can stay in contact with each other. It is the simplest way for this to happen but the program simply will not allow me to update her iPhone.
    Is there any way to get past this error and update her iPhone? Any help will be greatly appreciated.

    Dear Jody..jone5
    Good for you that can't update your iphone because I did it and my iphone dosen't work for example I can't download any app like Wecaht or Twitter..
    Goodluck
    Atousa

  • There has been a network or file permission error. The network connection..

    hello,
    there has been a network or file permission error. The network connection may be lost.
    this is the error my client gets sometimes when he wants to save a word document.
    when i go in the finder i have no problem accessing that network share, and when i look up the file and check the permissions there is no reason why this error should occure.
    situation :
    1 os 10.3.9 server
    7 os 10.5.5 clients
    1 os 10.3.9 client
    office 2004 for mac (version 11.50)
    there are 2 10.5.5 clients (emacs) with this problem on a regular base (3-5 times a week). One imac 17" 10.5.5 has this once a month.
    it is a wired cat5 network.
    any idea what could cause this problem?
    thanks
    Marco

    I found a logical explanation on the following site : http://www.makemacwork.com/office-2004-wont-save-to-server.htm , I am gonna try the steps they describe and post back the result.
    Marco

  • HT1222 I am trying to update my phone so I can save my info on my old phone & get a new phone, but I get a error that says "There was a problem with downloading teh software, the network connection timed out.."  HELP!  Not sure what my settings shoud be..

    I am trying to update my phone so I can save my info on my old phone & get a new phone, but I get a error that says "There was a problem with downloading teh software, the network connection timed out.."  HELP!  Not sure what my settings shoud be...
    I never updated anything until now...I want o update my iPhone to the newest version, but i do not want ot loose all that I have on this phone. I was told I needed to update the operating systems so i can put things into the cloud for transport to new phone, but I am just not sure how to do this..Can you help out here??

    Dear Jody..jone5
    Good for you that can't update your iphone because I did it and my iphone dosen't work for example I can't download any app like Wecaht or Twitter..
    Goodluck
    Atousa

  • Podcast Error Message "The network connection could not be made."

    For the past few days, the same 4 of my twenty or so podcasts have had an exclamation point next to them. When clicked, the subject message appears "The network connection could not be made.". I figured these may have been canceled since other podcasts I subscribe to downloaded without a problem. But now, when I go into the iTunes store and try to subscribe to new podcasts, they won't download. I do not get an error message. The download begins and abruptly ends before any data is received. I can subscribe but well, a lot of good that does when nothing comes. Any ideas would be a HUGE help. Oh & yes, my network connection is fine. At least I think it's fine. Everything else internet related is just dandy. Thanks!

    I think there may be a networking problem with the specific podcast(s). I have a couple of these myself. It normally indicates I am not playing them on my iPod but sometimes (as now) there is an abnormal situation.
    I know that some Internet links have not been working perfectly in the last week or so (and the Apple forums have also been slow perhaps due in part to this), but it might be an idea to track the source down, starting with the iTunes shop and resubscribe.
    One I just checked has changed the feed and both are on the iTunes shop, so the first is showing the ! while the second works fine. The same is true for the second feed: although I am subscribed, a check of the originating website shows that the "File is not available."
    te

  • I keep getting the follow error messages when I try to sign into iTunes store or redeem a song code: We could not complete your iTunes store request. The network connection could not be established. There was an error in the iTunes store, please try again

    I keep getting the following error messages on my Mac when I try to redeem a song code: "We could not complete your iTunes store request. The network connection could not be established. There was an error in the iTunes store, please try again later."  and then, "We could not complete your iTunes Store request. An unknown error occurred (-50)."

    Hello, constance132. 
    Thank you for visiting Apple Support Communities. 
    Here are some troubleshooting steps that I could recommend when receiving error -50. 
    "Error -50," "-5000," "8003," "8008," or "-42023"
    These alerts occur due to timeouts or conflicts trying to write a file during download.
    If you encounter this issue while accessing iTunes Store:
    See iTunes 9: "One Moment Please" or "Error (-50)" message when accessing iTunes Store
    If you encounter this issue while while downloading something from the iTunes Store:
    Delete your iTunes Downloads folder, located in:
    Mac OS X:
  ~/Music/iTunes/iTunes Media/Downloads   Note: "iTunes Media" may appear as "iTunes Music. Also, the tilde (~) refers to your Home directory.
    Windows Vista:
  \Users\username\Music\iTunes\iTunes Media\Downloads\
    Windows 7:
  \Users\username\My Music\iTunes\iTunes Media\Downloads\
    Windows XP:
  \Documents and Settings\username\My Documents\My Music\iTunes\iTunes Media\Downloads\
    After locating your iTunes Downloads folder:
    Quit iTunes.
    Delete the Downloads folder on your computer.
    Open iTunes.
    Choose Store > Check for Available Downloads.
    Enter your account name and password.
    If you encounter this issue while while downloading Digital Copies using Windows:
    Use MSCONFIG (directions for Windows XP and Windows Vista/Windows 7) to disable conflicting software.
    If using MSCONFIG steps resolves the issue, you may want to use the System Configuration Utility to turn on the third-party System Services and Startup Items one at a time (restarting your computer after turning on the item or items) to identify which System Service or Startup Item is causing the conflict.
    You can turn all of them back on by selecting the Normal Startup option under the General tab of the System Configuration Utility window, but please note that this may cause the issue to reoccur.
    If you are able to isolate the issue to a particular third-party software, you may wish to contact them to let them know of the conflict.
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Cheers,
    Jason H. 

  • "We could not complete your itunes store request. The network connection could not be established. There was an error in the itunes store. Please try again later."

    When I try to open the home page in my Itunes I get the message "we could not complete your itunes store request. The network connection is not be established. There was an error in the itunes store. Please try again later." It had been working just fine, in fact I had just purchased a song & edited my itunes account. Could changing the name on my account have cause the error message or is something else going on? This is a brand new computer.

    I've got an Apple ID problem, too. All of the sudden in the midnight between August 31st and September 1st, the new apps I picked up on the App Store hung forever 'Waiting..' in my iPhone and never turned 'Loading'. When a substantial amont of time had passed, they reported, they 'could not connect to the App Store' and .. disappeared! Well what they told was not perfectly true because I could however connect to the store as I could browse and pick the apps, but the apps just didn't load. I tried to log into my account in iTunes on my Windows 7 laptop, too, and there got exactly the message in the topic title.
    It appeared later my Apple ID did not completely fail because when I switched from my home WiFi to the phone 3G, everything worked just as nothing happened. Logically, this intimated my WiFi had flaws. Or, some place between my WiFi router and Apple servers did, to be precise. My router was not to blame because I did no changes to it whatsoever.
    All right, it is Saturday today and my ISP is running in unmanned mode meaning no hotline, but I call them on Monday unless the problem disappears by itself. I just wonder what I say, because from non-i-world point of view everything works well, and I know for sure guys in the ISP support don't own any i-stuff, (because they are all android fanatics) . I'm not telling them my Apple ID to let them reproduce the problem on their home equipment, which means I come almost totally proofless.

  • Cannot upgrade my ipod touch to iOS5.1 - error:"the network connection could not  be established" Although I can access the itunes store.

    Cannot upgrade my ipod touch to iOS5.1 - error:"the network connection could not  be established" Although I can access the itunes store.
    Running Mac OS 10.7.3 using itunes 10.6
    unplugged other USB devices, disabled security, restarted computer.  Next?

    Try changing the DNS as described here:
    iOS 5 update issues  "Network...: Apple Support Communities

  • "The network connection could not be made" error

    Hi,
    Last night I uploaded my first podcast to iTunes and now, when I try to download it, it says "The network connection could not be made" - is this because iTunes haven't approved it yet? Or could this be an error on my part, e.g. RSS error?
    Thanks!

    Anyone? It's still not approved/working =/.

  • TS1424 everytime i try to download an app from itunes, or to 'view all' the apps listed, the error says; 'We could not complete your iTunes Store reuest. The network connection was reset' I used both my desktop and laptop both on Windows 7 Pro, & net is f

    everytime i try to download an app from itunes, or to 'view all' the apps listed, the error says; 'We could not complete your iTunes Store reuest. The network connection was reset' I used both my desktop and laptop both on Windows 7 Pro, & net is fine. please help. is there soemthing wrong with apple store temporarily?

    The latest message is: 'We could not complete your iTunes Store request. The network connection was reset.'
    In between, I got a messge about verifying my payment method. When I tried to submit the details, I kept getting a mmessage stating that my payment method was declined (my card is not near it's expiration date, and works fine).
    Argh!

  • Error message we could not complete your itunes store request. The network connection was reset. Make sure your network connection is active

    Can Anyone help with this message which occurs when I am trying to update my iMatch, it says "gathering information about your library" & then after a few mins when the progress band gets almost to the end, I get the message "we could not complete your itunes store request. The network connection was reset. Make sure your network connection is active & try again"
    Support has told me that its a problem with my connection, but I disagree, how come I can download countless songs from iTunes without ever getting this message, I think they are bullsh***g me to get rid of me.
    I have even followed their advice & totally disabled all my antivirus, adwatch & firewall software & it still does it.
    Can anyone help with this

    Hi mate, well I really dont know why but last night it started to work out of the blue, you might want to check yours again as they may have fixed a bug??
    I did absoultely nothing different yesterday to make it start working, I had previously disabled all my antivirus, firewall, anti tracker etc etc & it didnt sort it.
    The only thing that happened yesterday was my laptop went dead flat & I had to a reboot (dont choose System Resume, which I normally do) I chose the other option in error & had to wait nearly an hour whilst my PC "repaired files etc" & it also downloaded a load of updates (had that message "dont power off, as updates are in progress")
    I really dont know if that sorted the issue or Apple fixed the bug yesterday but its working.
    Good luck

  • HT201210 Trying to restore ipod and keep on getting error message: the ipod software update server could not be contacted. the network connection was reset

    Hello can someone please help? Trying to restore ipod and I keep on getting error message: The IPod software update server could not be contacted. The network connection was reset. Make sure your network is active and try again.

    Try:
    - Powering off and then back on your router.
    - iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    - Change the DNS to either Google's or Open DNS servers
    Public DNS — Google Developers
    OpenDNS IP Addresses
    - Try on another computer/network
    - Wait if it is an Apple problem

  • Installed latest version of iTunes, now I cannot play music through my Airport express. I'm seeing the message "An error occurred while connecting to the AirPlay device "living room". The network connection failed.

    Installed latest version of iTunes, now I cannot play music through my Airport Express. I'm seeing the message "An error occurred while connecting to the AirPlay device "living room". The network connection failed..."Living room" is what I named the is what I named The AirPlay function of the Aport Express. Thanks!

    I have the same problem - did you solve it?

  • I am trying to download an update for my iphone, but in the middle of the download I get an error message that says, 'There was a problem downloading the software for iphone. The network connection timed out.' Any ideas on how to resolve this issue?

    I am trying to download an update to my iphone, but in the middle of the download, I get an error message that reads, 'There was problem downloading the software for the iphone. The network connection timed out'. Any idea how to reslove this issue?

    Hi Robertfrom Denver.
    Did you try the solution given, and if yes, did it work?
    I have done several "attempted downloads, and see the full file download, typically taking 30 minutes to complete, and then something goes wrong.
    I am happy to suspend AV and FW software, but would like to know if it is a good fix or not first?
    HelenfromBroughton Astley

Maybe you are looking for

  • Problem on Solaris 10 Native ldap client.

    Hi, I have configured the DS 5.2 on Solaris 10 and it seems to be working. I'm getting the answers from the ldapsearch command with the SSL. ./ldapsearch -h ismesl90 -p 636 -Z -P /var/ldap -D "cn=Directory Manager" -w password -b "cn=Password Policy,

  • Indesign CS3: How to get the number of the current layer?

    Hallo! How to get the number of the current layer in a page? Thanks, Alois Blaimer

  • ITunes won't launch when iPod/iPad connected

    going nuts! My iTunes will not launch when i connect my ipod or ipad. the setting to allow this is greyed out as is the option 'sync only ticked itmes'. I have uninstalled and installed iTunes several times. Changed as many settings as I can and back

  • Integrating Digital Signatures into J2EE Web App

    I have a requirement to add digital signature functionality to a J2EE web application. Our customers would like to press a �sign� button on a web page, be prompted to connect their hardware security token (e.g. USB device or smart card), and the sign

  • I got a virus on my PC and had to reinstall I-tunes.Now I can't add anymore

    I got a virus on my PC and had to reinstall I-tunes. Now I can't add any new songs onto my I-Pod Nano. After wiping the PC clean and downloading the I-Tunes again, it recognises my i-pod but the library is empty in the i-tunes player, but the songs a