Sound not loading

I have the following code:
myVars = new LoadVars();
myVars.load("http://charlesnewmanpubl.com/Sweethearts_On_Parade_BRGK.txt");
myVars.onData = function(src){
     myVars.decode(src)
     //trace(myVars.faFile);
     var faFile:String;
     var sound : Sound;
     if (myVars.faFile == undefined) {
        trace("not yet.");
    } else {
        faFile = myVars.faFile;
        trace(faFile + "!");//so far so good
        this.sound.loadSound("http://charlesnewmanpubl.com/media/"+faFile,true);
        clearInterval(param_interval);
     trace(faFile + "!!");//we're ok here
     this.sound.onLoad = function(success:Boolean) {//this is where it's failing
        trace(faFile + "!!!");//nada
        if (success) {
         this.playing = true
         this.sound.start (this.sound.soundIndex / 1000)
            trace("Sound loaded");//not here
     }else{
         trace("Sound failed");//or here
This is a loadVars of a .txt, one variable of which is the name of a .mp3 file. I test to see if we've gotten all the data from the .txt, and then what the variable "faFile" is. That's then checked twice, both successfully. But when it gets to the section of whether the sound has actually loaded, and then should play, there's no reposrt.
So I'm not loading the .mp3, but don't understand why.

try: 
myVars = new LoadVars();
var sound : Sound;
myVars.onData = function(src){
     myVars.decode(src)
     //trace(myVars.faFile);
     var faFile:String;
     if (myVars.faFile == undefined) {
        trace("not yet.");
    } else {
        faFile = myVars.faFile;
        trace(faFile + "!");//so far so good
        sound.loadSound("http://charlesnewmanpubl.com/media/"+faFile,true);
        //clearInterval(param_interval);
     trace(faFile + "!!");//we're ok here
sound.onLoad = function(success:Boolean) {//this is where it's failing
        trace(faFile + "!!!");//nada
        if (success) {
         this.playing = true
         this.sound.start (this.sound.soundIndex / 1000)
            trace("Sound loaded");//not here
     }else{
         trace("Sound failed");//or here
myVars.load("http://charlesnewmanpubl.com/Sweethearts_On_Parade_BRGK.txt");

Similar Messages

  • Saved midi sounds not loading logic9

    none of my midi sounds i save in a template gets saved. it defaults back to the first sound on my triton. when i click from one midi track to the next it defaults to the first sound. none of my sound are getting loaded.
    what am i doing wrong..

    So, here's an update to the problem, and to highlight, I decided to start fresh to demonstrate.
    Okay, so, I created a new "concert" and only assigned one keyboard (Keyboard 1). The default sound was, of course, Suitcase Bright. When I select different sounds from 01 Pre-Mapped or 02 Software Instruments, everything seems normal. But, when I select different sounds from the 03 Electric Guitar, 04 Vocal, Audio Channel Strips, and Instrument Channel Strips patch libraries, the yellow Keyboard Layer disappears, and no sound plays like I described before.
    So, for example, I went to Instrument Channel Strips > 10 Orchestral > 01 Woodwinds > Bassoon Legato. The Keyboard Layer disappears and there's no sound. Here is where the problem is: Upon further inspection(based on your steps), I went to MIDI Input within the Channel Strip and I discovered that it's automatically creating a new keyboard input (Keyboard 2) which I never created and it just doesn't exist in real life. That's why the Keyboard Layers are disappearing and no sound is coming out; it's trying to automatically move it over to a keyboard that's just not there.
    Again, this only happens when selecting sounds from within the 03 Electric Guitar, 04 Vocal, Audio Channel Strips, and Instrument Channel Strips patch libraries. When I select a sound from 01 Pre-Mapped or 02 Software Instruments, the Keyboard Layers reappear and everything goes back to normal.
    So, I'm not sure how to fix this ...

  • Sound not loading - https IE

    Hi all,
    I have made a sound player. It works on all browsers when using http. But when using https it works on all browsers except IE.
    My script for loading is pretty basic, much like the one in the reference.
    I havn't been able to find a solution. Any ideas?
    Thanks,
    Jakob

    try: 
    myVars = new LoadVars();
    var sound : Sound;
    myVars.onData = function(src){
         myVars.decode(src)
         //trace(myVars.faFile);
         var faFile:String;
         if (myVars.faFile == undefined) {
            trace("not yet.");
        } else {
            faFile = myVars.faFile;
            trace(faFile + "!");//so far so good
            sound.loadSound("http://charlesnewmanpubl.com/media/"+faFile,true);
            //clearInterval(param_interval);
         trace(faFile + "!!");//we're ok here
    sound.onLoad = function(success:Boolean) {//this is where it's failing
            trace(faFile + "!!!");//nada
            if (success) {
             this.playing = true
             this.sound.start (this.sound.soundIndex / 1000)
                trace("Sound loaded");//not here
         }else{
             trace("Sound failed");//or here
    myVars.load("http://charlesnewmanpubl.com/Sweethearts_On_Parade_BRGK.txt");

  • System Perferences crash - Sounds WILL NOT LOAD

    I had intermittent problems with SysPrefs crashing under 1.5.6 so I hope the 1.5.7 upgrade would help. I repaired all disk permissions. did a full scan with Tech Tool Pro, backed everything up and used the combo installer. All seemed to go OK. But now I can't get Sounds to load at all, and SysPrefs itself crashes about 50% of the time. I have tried it on a bare bones account that loads nothing but communication drivers but still the same problem.
    Anybody else experiencing this? And solutions?

    It works sometimes, depending on the app.
    For example, VLC will play video without sound for 20-30 seconds then suddenly the sound starts. The same video works perfectly in Quicktime. If I reboot, the video may (or may not) work fine in VLC. BUT, if it doesn't work I can't open the Sounds SysPref without rebooting.
    That never happened before 10.5.6 but it is happening all the time now. Even Logic seems to "lose" the current sound devices sometimes.
    I have also noticed a couple of times that the output device has reset itself from the Firebox to, say, Soundflower. I have no idea how that could happen but I'm quite sure I didn't do anything to cause it.

  • Adobe photoshop will not load on computer???

    i just got a new imac with tigar and the leopard update.
    i updated to leopard as soon as i started the computer.
    then i went to the adobe website and downloaded the trial version of photoshop cs3.
    i installed it fine, but when i try to open PS, and error mesage tells me that the licence has ended and to reinstall. so i did, 4 times.
    still nothing. what is the problem?
    Thanks

    i did not load anything on 10.4, when i goto the new imac, i just loaded 10.4 and then immediatly updated to 10.5. i have CS3 on my pc, so i just want to test CS3 on the new mac, to see which runs better. if i like it then i will buy the mac version. so far, my pc will surf the net about 3-4 times faster than the mac. i did not get the mac for net use, only for sound video and photo editing. but i do surf google for images.
    right now i am trying to erase and reinstall OX S back to 10.4, then i will try to install CS3 again, then if it works, ill update to 10.5 and see if that works.

  • Installed Microsoft updates yesterday & today I click on Firefox and it does not load. If I go to download a new Firefox, it tells me to close existing Firefox before the download. I can't see Firefox open anywhere.

    Firefox will not load and I cannot download a new Firefox because it says I have to close the existing one. I cannot find the existing one open anywhere. Also, when I went to download I got a warning that the new Firefox might damage my computer.

    The procedures in the [[Firefox will not start]] article may help, in particular it sounds like this error [[Firefox is already running but is not responding]]

  • Firefow will not open at all on one computer and on the other it opens but will not load. I just added a new wireless router, could this have anything to do with it, it had been working fine up until I installed it Tuesday night. Internet explorer won't

    I installed a new wireless router on Tues. (May4) up until that time I had no problems using Firefox. Now I cannot get it to open on one computer, and the other it will open but will not load. Wondering if it has anything to do with the router, my provider or our computers. Again, it had been working fine. I am also unable to open interent explorer now on either computer.
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; AOL 9.0; Windows NT 5.1; GTB6.4; AskTB5.6)

    Sounds like a problem with the router installation/configuration (likely) or a DOA router (very unlikely).
    Visit the forums for the router manufacturer (i.e., linksys, d-link, etc.) and ask for assistance there. There is probably a link to help listed in the router manual.

  • Image does not load in a new Form window

    Hi everyone,
    In Oracle Forms I have a Form with multiple windows. On startup only the main window is loaded. For some conditions during user input another window should be shown (I am using the SHOW_WINDOW functionality). In the new window is an Image which is set with the following code:
    READ_IMAGE_FILE('image.gif', 'URL', 'IMAGE_PICTURE');
    SHOW_WINDOW('DIALOG');
    The image is stored in the JAR file and works for other form modules. But when I open the new window (Style = Dialog, Modal = Yes), the image is not loaded/displayed. But, if I close the dialog window and reopen it directly again the image is displayed.
    Does someone know how to solve this issue? I would like to have the image displayed also the first time when the dialog window is opened.
    Thanks!
    Marco

    I tried it right now, but without success.
    In the new Window I only have the Image, a dynamically generated message for the user as an text item and a button (this sounds like I could use an alert box, but an alert box has some limitations which does not fit the user requirements). When I now try to set the "Synchronize with Item" property of the Image to one of the other items of the window, the Form cannot compile:
    FRM-32084: Data Type of item is not compatible with mirror item MSG.

  • Adobe flash will not load - gives only a black screen

    For all the (3) users on this computer.   For most browsers (Safari, Chrome, Firefox) The browser window goes 100% BLACK when a flash program link is opened and most of the time the cursor / Pointer freezes (occasionally disappears and all keyboard actions are blocked.  Have to force quit or kill the box with the power key (which always bothers me.)  No Adobe links work directly via the link in mail or in browser.  Symptom in Mail is either the original window goes BLACK or a separate window opens in Black.
    Current OS X 10.9.3 (13D65), Memory 4GB on 2.4 GHz Intel core i7 in MacBook Pro  15" Late 2011.
    Relevant?? Items:
    1.     The Adobe company checking device says Flash is not loaded.  I have had flash 9, 10, 11, 12, & 13 working before the latest of   OS X upgrades were made.
    2.     An aside, I recently (4 months ago) used a MacKeeper app.  Today (not used except for information gathering) the "System Scan says my ProtectMac anti-virus is active and no security problems noted.  Also noted was "Serious" issue relating to one of 128 issues (474.3 MB of 'junk' files-36.9 MB in 'Logs", 437.4 MB in Caches.)  "Performance" listed as 'Fast.'  No action is taken and System Scan app closed.
    3.     I seem to have lost my copy of Flash 13 in the Applications folder and the install file tries to load  "AdobeFlashPlayerInstaller_14_ltrosxd_aaa_aih.dmg"
    This makes sense as to item 1. above. 
    4.      Another user loaded adobe flash 11 from a download file called, "AdobeFlashPlayerInstaller_11au_ltrosxd_aaa_aih.dmg."  I do not understand the meaning of  the part of the file name that reads "_11au_" as it seem to differ from other downloads for "_11eu_".  Additionally the copy retained is filed in history and had only the user permissions of one user.  Also that copy _11au_ has no mention of Browser Type in the name description of the .dmg file; but the "_11eu_" does mention Safari browser.   Since it was from July 8, 2013 I assume it doesn't matter and it should have been superseded by Flash 12 OSX.  Mentioned here only for interest.  Also, It may have been saved on this computer in case of rebuild for another user on the home network running 13" MacBook Pro 10.6 Leopard.
    5.  Attempts to reload Flash 13 from 'AdobeFlashPlayerInstaller_13au_ltrosxd_aaa_aih.dmg' as the "Adobe Flash Player Installer" connects to the latest version not yet installed and keeps downloading the Flash 14, which fails and locks up the browser.
    6.     The download from get,Adobe.com starts out O.K.  After the installer file.dmg completes well, Step 2. is to open it, that, too, works well with an open window of a mounted device on the desktop.  The next step is to double-click the icon.  That only works so far.  A window opens and it has a progress thermometer but it never downloads any product and the link is declared "unavailable" immediately.  Refuses to load and will not always give the pointer back or let the browser continue.
    7.     While creating this 'Summary' something changed.  Using Spotlight I found a different version of Flash Installer on my Mac.  I clicked it to go to the Black screen after installer download competes and got a totally different response.  I was set to take snapshots of the windows as they progressed.  The ".dmg" Icon on the desktop changed from default plain white disk to the red "Flash Player" I had not seen for last 40 days. 
    Pic 1.     Pic 2.   
    Pic 1. is the desktop device icon.
    Pic 2. is the Installer.
    Pic 3. is the Acceptance popup.  ~~Note: This popup shows a backwards rev dated March 4, 2012!  today is 10 July, 2014.
    Flash Player 11.6 is installing after acceptance of License.
    Everything went normally and loaded but I cannot test it as all browsers were closed. 

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Please take this step regardless of the results of Step 1.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • Game center not loading my profile

    Game center app on the ipad just says loading and spins never loads my profile and now some of my other games do not load.

    Hello Lea1979,
    It sounds like your Game Center app is not loading correctly. I would start by logging out of Game Center in the settings:
    Go to Settings > Game Center, where you can:
    Sign out (tap your Apple ID)
    closing the running apps on your phone:
    From: iPhone User Guide
              http://help.apple.com/iphone/7/#/iph6c493cac
    Then close all the running apps on the phone:
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    When you have done that restart the phone and try loading the Game Center again. You will be prompted to sign back in:
    iOS: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    If the issue persists, I would next backup your device to iTunes, and restore it:
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • Plenty of free space, music not loading.  HELP...

    The iPod has successfully loaded about 12-31 songs when I first used it. It still has 7.21 GB of Free Space left. I need information about why the rest of my music is not loading to the iPod Nano 3g. My music, in total, is about 1 GB, give or take a few KB.
    "Attempting to copy to the disk " Ipod Name__" failed. The disk could not be read from or written to."

    Sounds like a damage library.  Make a temporary, backup copy (if you don't already have a backup copy) of the library and apply the two fixes below in order as needed:
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Select the options identified in the screenshot. 
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    Download iPhoto Library Manager and launch.
    Click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option
    In the next  window name the new library and select the location you want it to be placed.
    Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • Pages that load in all other browsers do not load in Safari

    Our Web application uses HTTPS and a Thawte-issued 256-bit AES SSL certificate. In IE, Firefox, and Chrome, the pages of our Web application load absolutely fine. In Safari 4.0.5, the pages do not load in the browser. When looking at the source for the page, there absolutely is content there, but appears to be cut off after a certain number of lines. I've tried a couple of pages, and there doesn't seem to be anything incorrect about the HTML at the line directly after the last one that Safari was able to pull back.
    I read in some forums that this may have to do with content chunking and/or variable content lengths. I read in others that it may have to do with serving images from non-HTTPS servers while using an HTTPS connection. I think the former sounds more likely.
    Has anyone encountered this issue before? This is not the known "page doesn't load in Safari, but then does when I access it in another browser" issue. It doesn't matter how many times I successfully access the pages in other browsers. They are never rendered in Safari.
    Does anyone know how to control the behavior of Safari (or even of Apache HTTP Server 2.0) when it comes to responses of variable content lengths and/or response chunking? Or am I completely off the mark?
    Thanks,
    Mike

    It turns out that Apache's mod_jk.log, which is used to store the output of communications between Apache and Tomcat, had become full. Once it reaches 2 GB, Apache can't write to it anymore. Once we stopped Apache, stopped Tomcat, rotated out that mod_jk.log, and restarted both Apache and Tomcat, our Web application started working again in both Safari and much more reliably in Chrome.

  • Instruments in Logic Pro 9 Library will not load: I try to add a new instrument on a project and get a "cannot be found" error.

    Ladies and Gentlemen,
    As a faculty member in the School of Music, I have just acquired a copy of Logic Pro 9.1.8 through my University. The programs and instrument packs were installed by our IT department and show as being fully installed on Logic Pro when I search for additional content through the Logic Pro tab at the top of the screen. The window shows that all 6 Jam Packs, Logic Pro & Main Stage Content (Essential and Additional) GarageBand content, and Surround content is installed. However when I try and add a new instrument on a project, most of these instruments cannot be found. I get the following error:
    Audio file “KB_pizz_f_C1.wav” not found!
    I then press the Continue Tab, and it looks for the instruments in an empty file that Logic creates in the Music section of the hard drive. I have investigated the sounds by going through the MAC Hard Drive>Library>Application Support>Logic>Sampler Instruments folder, and tried to copy the sounds into the Music>Logic folder created by the program. That does not work either. Even attempting to go into these Logic Pro instrument files one at a time has proved fruitless. I am told that the file cannot be opened.
    The files appear to be installed, but cannot be accessed or opened. They all have that translucent grey appearance when I attempt to click on the icon. This is true for about 80% of the files in the instrumental library. Whenever I create an instrument, the EVP88 Electric Piano is installed by default. There are a few instruments that I can successfully replace this default instrument with, but a majority of the instrumental library remains unavailable. Can anyone help?

    Kurt:
    You might try a different way of adding the video files to the web page. This demo page has one where the file does not load until the play button is selected: Opening Item in a New, Precisely Sized Window. This demo page has 9 short videos on it using that method: PhotoPresenter Animated Slideshow Themes. Just add a screenshot of one of the movie frames or any photo you want and add the Play button on or below it.
    You manually upload the movie file to your server so iWeb is not involved in the uploading the file at any time.
    Similarly this demo page, QT movies via iFrame, has a method that has you manually uploading the file to the server and linking to it via iFrame code. That page also has other similar methods.
    Another method is demonstrated in Roddy's iWeb for Musicians site on his Video page. Here you also upload manually.
    OT

  • Pages not loading completely or at all.

    This is a problem I've been having for weeks and weeks. Pages in Safari (or in IE or in Firefox) will not load completely or at all. For example, the apple.com homepage does not load at all and neither does ebay. However, the amazon homepage will load almost completely, but a few of the images don't appear.
    I've tried numerous ideas.
    I've run through the power cycle. (Turning my router and cable modem off, and then restarting them.)
    I've run network diagnotics.
    I've reset Safari.
    I've typed in IP addresses manually.
    We bought a new router.
    It even got down to me having to reinstall the operating system. (The computer is fairly new, so there wasn't any important information on it.)
    I tried calling my ISP, but they don't know what's wrong.
    Apple won't speak to me because my 90 days is up, and my parents won't pay $160 for the care plan.
    I'm becoming desperate at this point. I love my new iMac, but there isn't much I can do without the web.
    Oh, I also can't download updates, access the iTunes music store, or anything else that requires internet acces.
    We have three windows computers in the house that are all running fine on the WLAN.
    Any help would be GREATLY appreciated.

    Any other ideas?
    Hmm, can you try logging into another user account to see if the problem is present there as well? This will confirm where the root issue is - your user area or system wide. It sounds like it wil be system wide but best to double check.
    If you don't have another account you can use System Preferences -> Accounts -> [+] to create a test one (and [-] to remove it if needed).
    I've typed in IP addresses manually.
    Can you expand on what you mean by that? Are you referring to the DNS addresses or typing the IP address in the browsers address entry box?

  • Can not load the Sonivox 250 Meg GM Wave table into soundfonts manag

    I have an Creative Xi-FI platnium and no matter what I try I can NOT load this sound font.. I can load it into Vienna soundfont manager.. I have tried adjusting the cache level (I have 2 GB of RAM BTW in my system), I keep getting an error can not load. Please HELP!!! I even tried the registry edit.. It did not help one bit.. appears its an issue with the program! What should I do?

    hmmm for some reason when you call your EJB and it throws an exception, the JTA transaction is marked as rollbakc so the BPEL EM engine fails to save the instance.
    Could you please provide us some additional pieces of information:
    obversion.bat.
    The exact exception that your EJB throws.
    JTA configuration of your bean
    Have you looked at the BankTransfer demo?
    Edwin

Maybe you are looking for

  • 30 Day Free Trial Will Not Work on Vista

    Anyone have any suggestions? I would like to try out Dreamweaver (I am a GoLive CS2 lover) and have downloaded Dreamweaver twice and loaded it twice and cannot get the 30 day free trial to load. I get an error on start up that says Adobe cannot open

  • Java script for Artwork

    Hi, Can anybody have the script code for checking the stroke, overprint, color for the completed artwork.I am in need of a script which should check the stroke weight, color of the objects, overprint. I just want to run this script after completing m

  • How can I display a column heading vertically?

    Hi, I try to display verticaly a column heading. Is it possible on Siebel on Demand? ex : NAME = N A M E Thanks for your answer Regards

  • Embedding Images in TLF like MS Word

    Hi All i am creating an Editor using TLF and i want to insert images in that. by Using InlineGraphicsElement we can achieve this. But i have a problem i want to give the functionality like MS Word. That We insert images in Word and later we open the

  • Strange Checkbox Behavior

    I am using BI Publisher Desktop. I have an rtf template with several checkboxes on it. These are standard MS Word checkbox form fields. When I attempt to do a pdf preview from within Word(From the Add-Ins/Preview menu) these checkboxes show up as dia