Valid sound path

Hi, I'm currently building an app in flash CS5 to go on the iPhone (on WinXP). So far so good although I am having problems with sound. On testing the movie I get the following error:
"Sound has no valid device sound path although exporting device sounds was requested in the export settings. This sound will be ignored."
On compiling to the device the sound does not play at all.
I've tried messing around with the sound settings within the publishing setting (export device sounds) and device sound properties, but don't seem to be having much luck. Can anyone tell me the correct settings/path names to get the sound to work properly on the iPhone. Thank you.

I'm currently not using any actionscript to cast the sound I'm using a button.
However, I just put together this to play it. (it only plays once at the moment as I'm still fixing stuff)
import flash.events.MouseEvent;
var isPlaying = false;
var soundLocation:String = "Spanish.mp3";
var sndFX:Sound = new Sound();
sndFX.load(new URLRequest(soundLocation), sndLoaderContext);
var sndChannel:SoundChannel = new SoundChannel();
var sndLoaderContext:SoundLoaderContext = new SoundLoaderContext(5500);
sound_btn.addEventListener(MouseEvent.CLICK, playSound, false, 0, true);
function playSound(e:MouseEvent):void {
if (!isPlaying) {
  sndChannel = sndFX.play();
  isPlaying = true;
sndChannel.addEventListener(Event.SOUND_COMPLETE, sndComplete, false, 0, true);
function sndComplete(e:Event):void {
sndChannel.removeEventListener(Event.SOUND_COMPLETE, sndComplete);

Similar Messages

  • Sound has no valid device sound path although exporting device sounds was requested in the export settings. This sound will be ignored.

    I have bopped around the forums here for a while now, and while other people seem to have had the same problem as I am having in the past, I come to find that all of the solutions that have worked for others, do not in fact, work for me.
    I am running Flash Professional CS6 On an Acer Aspire. 4 Gigs of RAM, 500 Gigs of HD.
    The exact problem that I am having is as follows:
    I record a sound bit in Audacity, Export the sound as and MP3 File on my main computer Hard Drive.
    go to File>Import>Import to Library, I locate the file that I had created, then select it to be imported to my Library.
    I then create a new layer in my timeline, Label it as sound, place a new key frame into the timeline layer at the place in the animation that i hope the sound would start, set the audio sync to stream instead of event, then press CTRL+ENTER, which initiates the Test Movie function.
    At this time, the "Output" box Pops up and it states,
    "Sound has no valid device sound path although exporting device sounds was requested in the export settings. This sound will be ignored."
    No sound is played and i cannot, for the life of me, figure out why. I have tried all the troubleshoots that i can find online. I checked the publishing settings and nothing is being Overridden, I've attempted to untick the "export device sounds" option, but it is grayed out and cannot be toggled. I have attempted switching the MP3 format sound clip to a WAV format sound clip. I have attempted to re-recording the sound clip and re-importing the clip to the library. I have checked my computers speakers and everything is in working order and i have even checked to see if other projects sound works.
    I pulled up a previous project that i had finished a while back that had loads of sound imported the exact same way and it all works exactly as i expect it too. The sound plays, there is not "Output" box claiming an issue. It seems that the issue, whatever it might be, is stuck to this project itself.
    I have even started a new project, imported and placed both the MP3 and the WAV files into the sound layer created, CTRL+ENTER, and it works just fine without problem.
    If there is anything that i might have accidentally messed up in this projected that you know about, like settings that may have been changed that would cause such an annoying and seemingly unfixable issue, please let me know. I really do not want to loose this project over such an utterly stupid error.

    I've moved your question to the Flash Pro CC forum.

  • Device Sound Path

    Hi,
    I use a flash movie in one of my websites that gets changed
    each month (I just swap out an image in it). This month I am
    getting an error message that says: Sound has no valid device sound
    path although exporting device sounds was requested in the export
    settings. This sound will be ignored.
    I have never had this come up before and have been doing this
    for over a year. The only thing that is different is that I am
    using a new computer that has VISTA. Can anyone help me?
    Sandy

    Seems like somehow you have ticked the box that says
    "Export Device Sounds" in the Filed ->
    Publish -> Flash tabs. That is for exporting sounds to
    mobile devices and I don't really understand how it works, but my
    guess is, "You don't want that."

  • Problem with Java keystore and certificates (unable to find valid cert path

    Our program is made so that when a certificate is not signed by a trusted Certification Authority, it will ask the user if he/her wishes to trust the certificate or not. If they decide to trust the certificate, it will accept the self signed certificate and import it into the keystore and then use that certificate to log the user in. This works fine. It will import the certificate into the keystore and use the specified ip address to establish a connection with the LDAP server (Active Directory in our case) and authenticate properly. However, the problem arises when we then try and connect to a different ip address (without restarting tomcat, if we restart tomcat, it works fine...). It imports the certificate into the keystore fine, but always gives the exception
    "Root exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"
    and does not authenticate with our LDAP server (which is Active Directory). The problem seems to be that it is no longer looking at the System.setProperty("javax.net.ssl.trustStore", myTrustStore);
    I have tried multiple times to just reset this property and try and "force" it to read from my specified trust file when this error happens. I have also imported the certificates directly into the <java_home>/jre/lib/security/cacerts and <java_home>/jre/lib/security/jssecacerts directories as the java documentation says that it will look at those directories first to see if it can find a trusted certificate. However, this does not work either. The only way that I can get this to work is by restarting tomcat all together.
    If both of the certificates are already in the keystore before tomcat is started up, everything will work perfect. Again, the only problem is after first connecting to an IP address using TLS and importing the certificate, and then trying to connect to another IP address with a different certificate and import it into the keystore.
    One of the interesting features of this is that after the second IP address has failed, I can change the IP address back to the first one that authenticated successfully and authenticate successfully again (ie
    I use ip 1.1.1.1, import self signed certificate, authenticates successfully
    login with ip 2.2.2.2 import self signed certificate, FAILS
    login again with 1.1.1.1 (doesn't import certificate because it is already in keystore) successfully authenticates
    Also, I am using java 1.5.0_03.
    Any help is greatly appreciated as I've been trying to figure this out for over a week now.
    Thanks

    Please don't post in threads that are long dead and don't hijack other threads. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem.
    I'm locking this thread now.

  • [SOLVED] moc: "FATAL_ERROR: No valid sound driver! Server exited!"

    mocp
    Running the server...
    Trying JACK...
    Trying ALSA...
    ALSA lib pcm_hw.c:1741:(_snd_pcm_hw_open) Unknown field mmap_emulation
    ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
    Trying OSS...
    FATAL_ERROR: No valid sound driver!
    FATAL_ERROR: Server exited!
    so some time ago i messed up the sound badly and now i'm clueless on what to do. i have alsa, oss and pulseaudio (re-re-re-re-re)installed (i know i shouldn't). i'm a total noob when it comes to the audio department so i can't really add way too much to it.
    audacious drops the following when i try to play something:
    ALSA error: snd_pcm_open failed: Invalid argument.
    there is audio, however (some games/web) if i pulseaudio --start.
    pls ask for outputs to give you the necessary info
    Last edited by wootsgoinon (2014-02-11 23:37:15)

    did you have working audio before you did something that messed it up?
    alsa is pretty much all you need for working audio. You could run pulseaudio on top of it if you want, but usually it doesn't benefit you in any way unless you have some specific issues with alsa, like audio only playing from one application at the time.
    You can safely remove everything OSS related, unless you actually want to configure your system to use OSS for some reason.
    If you want to revert to default your alsa configuration you could just remove your ~/.asoundrc and /etc/asound.conf if you have modified those files. If you want to use pulseaudio, reinstall pulseaudio-alsa to revert /etc/asound.conf configuration so that your alsa-only applications work with pulse.

  • I am getting the ssl error when trying to use launchpad on ssl, i can access adminui through ssl with no errors but launchpad says "unable to find valid certification path to requested target"

    Hi I desperately need help  to fix this error. I installed Adobe LCES4 with ssl enabled and i can access the adminui and workspace on the browser but he problem is when i try connecting to launchpad using https on the server even doing the simple thing like converting document to pdf throws the following error.
    any help will be appreciated
    DSC Invocation Resulted in Error: class com.adobe.idp.DocumentError : javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target : javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    thanks

    We tried adding certificate in trustore.jks file, but it was not successful.
    What error you are getting while importing the certificate?
    Just perform below steps once:
    Download required certificate first
    Run CMD as administrator> move to SUP_HOME\Servers\UnwiredServer\Repository\Security
    Paste this syntex.
    keytool -importcert -alias customerCA -file <certificatefilename>.crt -storepass changeit -keystore truststore.jks -trustcacerts

  • ODC: ERROR PKIX path building failed: to find valid certification path

    Hi to all,
    some one has experienced the error: PKIX path building failed: to find valid certification path to request target.... on the ODC while trying to connect
    we solved temporally adding the ssl to the java virtual machine, is there a path in the odc to set the ssl ?
    ODC 10.350
    Thanks!

    If you are trying to connect to UCM via SSL , Please check below note
    ODC - Errors Attempting to Connect to UCM Configured Through SSL (Doc ID 793137.1)

  • Warning: the given resetlogs_id is not on the valid incarnation path

    I have a primary database (while standby is removed for now, since I got some issues), the drc log file shows below information, how to fix those issue?
    Warning: the given resetlogs_id 780690997 is not on the valid incarnation path.
    04/16/2012 12:35:26
    "drcrwxcty1.log" 289909L, 19778849C 289828,1 99%

    on Primary , alert log last entries are:
    FAL[server, ARC3]: FAL archive failed, see trace file.
    ARCH: FAL archive failed. Archiver continuing
    ORACLE Instance remeqa1 - Archival Error. Archiver continuing.
    Tue Apr 17 07:45:35 2012
    FAL[server, ARC5]: FAL archive failed, see trace file.
    ARCH: FAL archive failed. Archiver continuing
    ORACLE Instance wxcty1 - Archival Error. Archiver continuing
    DGMGRL shows following error on primary:
    Error: ORA-16737: the redo transport service for standby database "wxctys" has an error
    DGMGRL> show database wxcty LogXptStatus
    LOG TRANSPORT STATUS
    PRIMARY_INSTANCE_NAME STANDBY_DATABASE_NAME STATUS
    wxcty1 wxctys ORA-03135: connection lost contact
    wxcty2 wxctys ORA-03140: I/O operation in progress
    on Standby alert logs shows:
    RFS[106]: Possible network disconnect with primary database
    Tue Apr 17 07:47:15 2012
    FAL[client]: Failed to request gap sequence
    GAP - thread 1 sequence 4-4
    DBID 1245181813 branch 780690997
    FAL[client]: All defined FAL servers have been attempted.
    Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
    parameter is defined to a value that's sufficiently large
    enough to maintain adequate log switch information to resolve
    archivelog gaps.
    ------------------------------------------------------------

  • Unable to find valid certification path after an upgrade from 11.1.1.6 to 11.1.1.7

    Hi,
    I had a small composite deployed in 11.1.1.6 and after an upgrade to 11.1.1.7 I am getting
    javax.xml.soap.SOAPException: Message send failed: sun.security.validator.ValidatorException:
    PKIX path building failed:
    sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    Does it mean that my soa composite now cannot validate the certificate of the server it is trying to connect to?
    Can somebody share thoughts on how to fix it?
    Thank you,
    Anatoliy

    Hi Robert,
    Thank you much for the quick response. Not having big knowledge under my belt in this area I tried
    1. Changed the keystore passphrase under my managed weblogic domain for the Demo Identity Keystore
    2. ./keytool -importcert -alias avsclient -keystore /dnat8o/fmw/jrockit-jdk1.6.0_29-R28.2.2-4.1.0/jre/lib/security/cacerts -file client_cer.cer
    Was prompted with the password but entering what I did enter in step 1 didn't help. Do I have to bounce the managed server once I change the passphrase, if what I a mdoing makes sense at all, not sure
    Thank you,
    Anatoliy

  • Validating UNC Paths

    Consider the following PowerShell script:
    while ($Path -eq $null -or $Path -eq '') {
    $Path = Read-Host "Enter a local or UNC path"
    if ((Test-Path $Path -PathType Container) -and ((Get-Item $Path).PSDrive.Provider.Name -eq "FileSystem")) {
    Write-Host The path you entered is valid.
    else {
    Write-Host The path you entered is NOT valid.
    Currently, it works as expected with local paths. However, valid UNC paths are considered invalid by this script. Also, I want it so that if a user accidentally puts "\\server" instead of "\\server\share", the script doesn't return the
    following error message and then exit:
    Test-Path : The UNC path should be of the form \\server\share.
    How should I modify the code above to achieve this? Thanks!

    It looks like that the following two methods have the same results
    PS C:\> [bool]([System.Uri]$unc="\\server01\folder\file.txt").IsUnc
    True
    PS C:\> Test-Path -Path "\\server01\folder\file.txt" -IsValid
    True
    both Methods tests only if the syntax for an UNC Path is correct, but do not test if the path exist (or can be accessed)
    I came to the following validation method:
    Validate UNC Path
     Tested using PS 4.0 with Win 7
    Using Test-Path cmdlet
    Param (
        [Parameter(Position=0,Mandatory=$False,
    HelpMessage="Enter a UNC path like \\server\share")]
        [ValidateScript({ Test-Path –Path $_ -IsValid })]
        [string]$unc = "\server01\My Share\folder"
    NOTE:
    Servername as full DNS Names is also valid, but  \\server01.com\\My dir\test.txt with ‘\\’ after the servername or after the sharename
     is also valid.
    Spaces in the Path is allowed.
    The –isValid Switch tests only if the path syntax is valid, not if the path really exist.
    Using System.Uri class
    Param (
        [Parameter(Position=0,Mandatory=$False,
    HelpMessage="Enter a UNC path like \\server\share")]
        [ValidateScript({ [bool]([System.Uri]$_).IsUnc })]
        [string]$unc = "\server01\My Share\folder"
    NOTE:
    Servername as full DNS Names is also valid, but  "\\server01.com\\My dir\test.txt" with ‘\\’ after the servername or after the sharename
     is also valid.
    Spaces in the Path is allowed. Test only if syntax is valid valid, not if the path really exist.
    The same result as the Test-Path cmdlet with –isValid switch.
    Using RegEx
    Param (
     [Parameter(Position=0,Mandatory=$True,
       HelpMessage="Enter a UNC path like \\server\share")]
     [validatepattern({^\\\\\w+\\\w+})]
     [ValidateScript({Test-Path -Path $_ })]
     [string]$UNC_Path="\\server01\My share\folder"
    # [string]$UNC_Path="\\server01\My share\folder\file.txt"
     is also valid
    NOTE:
    The regex pattern ‘^\\\\\w+\\\w+’ does not validate DNS servername like server.contoso.com
    "\\server01.com\\My dir\test.txt"
     ‘\\’ after the servename or after the sharename is not allowed.
    Test-Path used to test if the path really exist (or is accessible).
    It depends what you want to validate and maybe return a specific Warning Message, I would do the test outside the Param() section.
    Pasquale Lantella

  • [solved ... :P] yaourt - 'm' is not a valid root path

    [root@pwn etc]# yaourt -noconfirm -Sybu
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    local database is up to date
    error: 'm' is not a valid root path
    Aaahhh!!!
    Noooo!!!
    Don't!!!!
    How can I fix it?
    Last edited by synthead (2007-09-24 02:23:18)

    it's --noconfirm, with '2' hyphens

  • [svn:fx-trunk] 11945: Rebuilt to include latest scanner patch as well as a valid class path per previous update .

    Revision: 11945
    Revision: 11945
    Author:   [email protected]
    Date:     2009-11-18 11:06:22 -0800 (Wed, 18 Nov 2009)
    Log Message:
    Rebuilt to include latest scanner patch as well as a valid class path per previous update.
    QE notes: None
    Doc notes: None
    Bugs: SDK-24190
    Reviewer: Gaurav
    Tests run: Checkin
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24190
    Modified Paths:
        flex/sdk/trunk/lib/batik-all-flex.jar

    MatejLach wrote:
    clamd is running, user and group clamav all have the relevant permissions as far as I can tell, however upon scanning my mail, I always end up with the following error:
    Scanning error:
    /home/username/.claws-mail/mimetmp/0000000e.mimetmp: lstat() failed: Permission denied. ERROR
    Seems like a permissions error to me... maybe check the actual file it is attempting to scan... I know it is in your home folder, but just to be sure, you might want to check that everything is sane.

  • SMB File Share Storage Failover Cluster "path is not valid folder path"

    I am having an issue that I am scratching my head over. So I have setup a 3 node Hyper-V host cluster that I am attempting to use SMB File Share storage for the shared storage medium. I have been trying to migrate a virtual machine from one of the nodes
    local storage into the file share using System Center VMM 2012 R2 with UR5 however I keep getting the message "The specified path is not a valid folder path on node2.domain.com" for the storage that VMM automatically selects for placement of files
    from the migration. However what is odd is to the same file share for storage I can do a new deployment of a virtual machine to the same cluster with the same shares; I can also delete a virtual machine from the share fine; the file share for the virtual machine
    I library I am deploying machines from is the same server as the file shares for the cluster that I am deploying to so maybe that is why that succeeds; if I try to move the recently deployed VM from one file share to another for storage same error comes up.
    The three nodes all reference the same file server, which is just one file server for the storage, and the shares were created in VMM and as such the file share permissions were setup by VMM so they should be sufficient. I have also attempted this with both
    delegation of CIFS and without through AD (trust to specified computers with CIFS, Hyper-V Replica and Microsoft Virtual Console Service via Kerberos only).
    I am stumped as to what to check next or how to get this working and would appreciate any guidance anyone can give towards a resolution for this problem.

    Jeff,
    Thanks for reporting this.
    There's an known issue with UR5 that VMM gives wrong error when deploying a HAVM onto a SMB share. In that situation, VMM complains "Invalid folder path".
    To confirm you are hitting the same issue, would you kindly let me know:
    1. Are you trying to migrate a HighlyAvailable VM onto the SMB share?
    2. On UI of "Migrate Storage Wizard", if you click "Browse", do you see the target file share showing up in "Select Destination Folder" dialog?
    3. By "the three nodes all reference the same file server", I assume you added the target file share onto the list of File Share Storage thru the cluster's properties UI. If so, please go to the UI and check whether the access status shows
    green there.
    4. By "local storage", do you mean "local disk"? Or a shared LUN from any array? I assume it's not "available storage" or "CSV" of the cluster. Please double confirm.
    Note: If we are sure hitting the known issue, I will later re-direct you to a hotfix. But let's make sure it is the issue first.
    Look forward to your reply.

  • How can I valid the path in different devices

    I wrote a program using the PDA module months ago, I was now told to modify to make it robust in the sense that, the program with ‘run’ in any PDA.
    There are several directories that are common with PDA’s, such as Storage, Storage Card, SD Card, MMC-SD Card e.t.c.
    I previous used a Build Path to create the path I wanted that looked like this:
    "Storage Card/S345220107.txt" where S345 is the user id and 220107 is the date from a time stamp VI.
    What I want to do is to find a way of knowing what directory a PDA has somehow.
    An algorithm of it will look some thing like this:
    String aPath;
    String pathToUse;
    String[ ] path = new Path[4]; // An array
    path[0] = "Storage" // First index
    path[0] = "Storage Card"
    path[0] = "SD Card"
    path[0] = "MMC-SD Card"
    public void setPath( String Path) {
    aPath = path;
    public String getPath( ) {
           return aPath;
    I will use a For Loop to set the path, but what I don’t know is how to test each one.
    In Java I can say:
    if( aPath.equals(Storage)) {
            pathToUse = "Storage" + userId + date + ".txt";
    System.out.println("valid Path");
    else if ( aPath.equals(Storage Card)) {
                pathToUse = "Storage" + userId + date + ".txt";
                System.out.println("Valid Path");
    else if ( aPath.equals(SD Card)) {
                pathToUse = "Storage" + userId + date + ".txt";
                System.out.println("Valid Path");
    else if ( aPath.equals(MMC-SD Card)) {
               pathToUse = "Storage" + userId + date + ".txt";
               System.out.println("");
    else {
              System.out.println("path not valid");
    The pathToUse string is then used as the input to the Open/Create/Replace File VI.
    Any ideas guys

    Hi
    I created the VI you sent, and for the first version, when there is a Match, it does not place the found folder name in the Start Path or the Current Path Indicators. So the path created is not correct
    I then tried a second version called PathSearch1Vi and added a few things for it to do what I wanted. Please run both and see if the second version is OK or what should be added to the first version.
    Thanks you very much for your help.
    Attachments:
    PathSearch.vi ‏25 KB
    PathSearch1.vi ‏28 KB

  • Sound Path in LE8?

    Hi I am MAC newb, and until today thought I was smart enough to figure out anything
    I just installed LE8 after working/playing a bit w/ garageBand.
    I can not for the life of me figure out how to make the sound come from my attached speakers (line-out) I checked preferences in both system and LE and have all the outputs set to line-out.
    Any thoughts?
    I have a radioshack(casio) KB attached via a turtlebeach midi to USB converter. The Sound DOES come out the keyboard speakers, if it helps.
    Thanks.

    Hi,
    I'd suggest that you first create an audio track by clicking on the small rectangular button with the "+" on it (in the top of the arrange window).
    Now, go to a Finder window and find a nice audio file. Drag this onto the arrange window of LE*, in thetrack you just created. This makes sure that you have something that makes noise
    Press the play button, and check if you hear something.
    If not, start up the program Applications > Utilities > Audio/Midi Configuration, and check if your default Audio output is right.
    Also, check the following: press the "Mixer" tab at the bottom of the arrange window. The mixer pops op, and the most right channel should be the master output. A bit above the fader, there is a button that tells where the output of the master output goes. It should say "Output 1-2".
    So much about checking if the audio is routed correctly.
    About the midi: first, look at the Transport Bar. You'll see "No In" and No Out" somewhere. Now, play your keyboard, and check if note names appear. If so, the midi reaches LE8.
    You probably have chosen an instrument (like EXS24) on your instrument track (see Help > Logic Express 8 User Manual, page 216 and further).
    Another very important note: click the small square "R" button on your instrument track, so that it turns red. Otherwise LE8 doesn't know that you want to record on this track, and you won't hear anything if you play your keyboard.
    Kind regards,
    Jaap

Maybe you are looking for

  • Cannot copy and paste in owa

    Multiple users mostly using windows 7 and IE 8 and 9 cannot from a keyboard print screen or alt print screen and then do a right click paste or cntrl v into a new email or reply in OWA for Microsoft online.

  • Toshiba Regza 47" LCD via VGA adapter

    I'm plug the Mac into the TV via the PC VGA connection. I can see the video picture while the computer turns on but after it's on I get unsupported video signal on the screen. Any suggestins?

  • Cannot get online

    Hi. Got a new MBP today. (I suppose it is "Late 2009" model?) I could get online and do stuff. Then I started installing some of the basic apps such as Unrarx and Little Snitch. When I installed Little Snitch, the problems started -- I am unable to c

  • Right GROUP BY clause

    I wrote the view in the Original View section below. I query it with the following SELECT statement: SELECT * FROM ZZBUD_DEBT_SERVICE_V WHERE action_month IN ('01','02') AND action_year IN ('2011') AND short_name IN( 'WHIT-18','2REDFERN') ORDER BY ac

  • Can't read Work Orders through DI Server

    Hi, I'm trying to read a work order through the DI server, but I keep getting error 2052 (No Records found). The Work Order #1 definitely exists in the database. Below an excerpt from the DI Server log. Any ideas? Thank you. 11/11/2010  16:02:15  Req