using the Sound object

Hi all!

I have a main menu, from there I buttons that link to videos and other. I have a sound object, created right now in the "main menu":-by the way "main menu" has only one image on the timeline, everything is on frame 1.

myMusic = new Sound();
myMusic.attachSound ("loop");
myMusic.start (0, 1000);
myMusic.setVolume (100);

When I click on the menu button, it loads in a SWF on top and the sObj is done shopping.
{We (Release)}
myMusic.stop (["loop"])
this.loadSwfs.loadMovie ("about.swf", swfLoaded);
}

the problem is, on the "about.swf" there is a button that brings someone back to "main menu". Here's the code that button:
{We (Release)}
unloadMovie (this);
}

However, when the swf is unloaded, the main menu appears, but the background music will not play.

Can someone help me and point me in the right direction to get my audio to play?

Thank you very much!

Thank you very much for your answer!

You are right, I just needed to start upward. Goodness gracious!

Thanks again!

Sarah

Tags: Adobe Animate

Similar Questions

  • Dynamic variable naming for the Sound object

    Is it possible to dynamically name a variable? I would like to create a new Sound object on the fly, so that I can use the sound.load() method several times. I would simply create and name the variable and add a number at the end of the name (i.e.; var "audio_1": Sound). I'm sure it's possible. However, I can't seem to get it figured out.

    :

  • How to use the Credential object?

    I had an obligation to create a password confirmation form in vCO. I detailed what I came here:

    http://www.jonathanmedd.NET/2015/01/presenting-a-password-confirmation-form-in-VCO-VRO.html

    It has been suggested in the comments that:

    "A better solution would be to use an entry of type 'credential' (which includes natively password confirmation checking)."

    Although the credential object solves the problem of the confirmation of the password very well, she introduced a new show that I fight to manipulate its contents when you work in the workflow using as input.

    I tried to use the credentials object once before, but he had problems with the password property. Once the workflow, the password property is not currently available. The API Explorer for the password property indicates "[obsolete] passwords are not available in the script". For example, I want to use the credentials with the "Execution of the Guest program" workflow, I need to provide a username (String) and the password (SecureString), but just picking on the properties username and password of the credentials object does not. I can confirm in the workflow using the method checkPassword that the password matches a known value. However, when you try to use the password property and assign a different workflow requiring password authentication always fails.

    Does anyone have examples of use of the object of identification information on the work plan with the password in the workflow in script tasks or other work streams?

    Thank you :-)

    I didn't know that this was the case.

    It was definitely a fix to avoid someone making a server.getCredential () in a workflow to steal user passwords.

    If the credential object can only serve to set methods taking as parameter.

  • Any ideas how can I insert a pdf into word, by using the option object to insert. However, the pdf file that I want to insert text and annotated lines, but once inserted comments do not appear?  any help would be greatly appreciated.

    Any ideas how can I insert a pdf into word, by using the option object to insert. However, the pdf file that I want to insert text and annotated lines, but once inserted comments do not appear?  any help would be greatly appreciated.

    You will need to find a forum for MS Word, since it is the software you are trying to manipulate in the present.  If you think that the treatment/creation of the PDF file plays a role, then you should ask in the forum for the software that you use to create the PDF file.

    This forum is for a question about downloading and installing Adobe products test, so in all circumstances, your question does not fit in this forum.

  • Get a static noise when using the sound track

    I just Adobe Premiere Clip, thanks to Kevin, because he was talking on his vlog every day lol.

    I managed to make a little video, photos of stil, and I work very well, but when I announced a soundtrack, all I hear is static noise, seeing the video, in the first video, but when I save the video and read it, then it sounds very good.

    I use Adobe Premiere Clip version 1.1.2.1161 on Android version 6.0 on a Sony Experia E5

    I understand now.

    I will ask to confirm the media audio information.

    You can use the MediaInfo application which will help you to get all the information about this Audio clip. (https://mediaarea.net/en/MediaInfo/Download this application specifically runs on desktop computers)

    Also, let me know the source of this Audio file.

  • HTML5 'Explainer Video': can I use the sound?

    Hi all

    I am a novice with 'Animate '. So as a learning exercise, I am trying to create a 'video explainer. "

    I have configured the document as HTML5 Canvas: but I can use the its?

    I imported a piece of MP3 music, but I do not seem to edit/trim the sound power. The "Edit envelope" button is not clickable.

    Q: does more complex work to create HTML animations with sound?

    Q: and if yes, can I use another format, that will play in webpges on Apple devices?

    Thank you

    John White

    You must change the sound before you import it into an HTML5 Canvas in Florida or play sounds using code, then you can stop them when you want. You can control the volume on the fly too, but it's really easier to modify the sound in an audio editor.

  • How to use the data object 'DatastoreHostMount '.

    I train to iterate on the grouping value in vCenter and for each data store found, determine whether a host has mounted data store or if it is visible to the host. I am using data object 'DatastoreHostMount' , but I don't know exactly how to use the object to retrieve the name of host configuration.

    Here's the perl code snippet and I get an error for:

    #get all hosts within cluster and check the connectionState and compare with all datastores found
    #is there a more efficient way to combine this section with the next section?
    
            my $hosts = Vim::get_views (mo_ref_array => $cluster->host);
    
            foreach my $host (@$hosts) {
                    if ($host->runtime->connectionState->val eq 'connected') {
                            my $datastores = Vim::get_views (mo_ref_array => $cluster->datastore);
                            foreach my $datastore (@$datastores) {
                                      print "  Datastore ", $datastore->host->summary->config->name,"\n"
                            }
                    }
                    elsif ($host->runtime->connectionState->val eq 'disconnected') {
                            print "\t|", $host->summary->config->name, "|Disconnected|\n"
                    }
                    elsif ($host->runtime->connectionState->val eq 'notResponding') {
                            print "\t|", $host->summary->config->name, "|Not Responding|\n"
                    }
            }
    

    Cannot call method 'Summary' on some wrapping 71 de./listCluster.pl.

    Disconnection of the end

    =========================================================================

    -William

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    OK, I remembered how it works. Sorry for the noise:

    |

    My $datacenter = Opts::get_option ('Center');

    My $datacenter_view = Vim::find_entity_view (view_type = > 'Data center',)

    filter = > {name = > $datacenter});

    If (! $datacenter_view) {}

    Die "data center" "» $datacenter. "" not found\n ";

    }

    My $cluster_views = Vim::find_entity_views (view_type = > 'ClusterComputeResource',)

    begin_entity = > $datacenter_view);

    My $counter = 1;

    Print "Clusters found: \n";

    {foreach (@$cluster_views)}

    Print "$counter:". "." $_-> name. "\n";

    My $datastores = Vim::get_views (mo_ref_array = > $_-> data store);

    foreach my {$datastore (@$datastores)}

    my $instances = @{$datastore-> host};

    my $instance = 0;

    while($instance < $instances) {}

    My $x = Vim::get_view (mo_ref = > $datastore-> Home-> \[$instance\]-> key);

    print $datastore--> summary-> name, "Datastore", $x-> name, "\n";

    $instance ++;

    }

    }

    $counter ++;

    }

  • Taskflow have model (using the view object instances) of two data sources

    JDeveloper Version: 11.1.2

    We have a flow of single task that has built pages on two modules of the Application that are based on two different data sources.
    If the default activity in the workflow uses a display Instance of AM belonging to a particular data source object.
    Browsing later, we reach a page that uses instances of object of another display AM belonging to a different data source, the framework does NOT deliver from the SQL statement against this source of data rather than the data source used in the default activity.

    How can it resolve to the appropriate data sources?

    Thanks in advance,
    Nini

    Nini,

    Yes, it's the way things are meant to run:

    http://one-size-doesn
    {: identifier of the thread = 1012099}

    Definition data control range for the workflow to the 'remote' change the behavior?

    John

  • using the Sound class? (OOP)

    Hey,.

    I had all of my public variables to the sound class, but im having trouble on how I would perform them because I normal use event listener but its OOP lol so how do you get this feature :/

    -code into a file star.as:

    package
    {

    import flash.display.MovieClip;


    public class star extends MovieClip
    {

    public var my_sound:MySong = new MySong();
    public var my_channel:SoundChannel = new SoundChannel();

    public void star()
    {

    }
    }

    }

    Thank you all

    Search in the online help for the sound. You will find an example of class for the import and playback of an audio file. Just follow this class.

  • using the JavaScript object and flow

    Two problems:

    Problem 1

    I'm trying to understand the best way to manage a service on the attached form (the form is under construction and messy!).

    There is a requirement to attach files to the form. I have it understood, but would like to cope better. There are about 8 places to attach files, and each time I move things around I need to change the code for each button, so I think that function in a script object implementation is the way to go (let me know if there is a better way!).

    I think I've learned how to work the script objects, but have not tried this although there are has a few pieces I could not understand yet.

    The way it works now, it's you click on the button to fixation, attach a file and the file name is entered in the field surrounding the button - there is a separate field around each button (see subform "subProjectInfo.subAttach" on page 2). What I can't understand, it is if I put this in a function/script object, how do I get the name of the file in the appropriate box? I have to return the data back to the button, I guess, which can then fill in the field?


    Problem 2

    At the bottom of the same page (2) is a subform (subProjectInfo.subMilestones) with a table in full expansion. I followed the example in the purchase order example, but I can't get the headers to repeat correctly. When it breaks to a new page, the header above is repeated whenever a row is added.

    Extra bonus question!

    I hope one of you more knowledgeable guys can take a look at the structure of the form and let me know what it feels like to a 'best practices' point of view - use of subforms, that sort of thing. I use a lot of subforms to wrap things and have been wondering about the performance, that kind of thing. This is the most complex form, I've done so far and want to make sure that I'm going down the correct road!

    Hi Jono,

    Hopefully, I've solved your problem 2, I deleted simoly repeat for each item in the MilestoneHeader.GeaderRow [0]. And now it is only repeated for new pages.

    When I have time, I'll try to check your problem 1.

    ARO

    Paul Butenko

  • Display the form guide in a flex application using the remote object

    I am using livecycle workbench 8.2 and flex 3.0.  Now I'm making the form of livecycle workbech guide.  I use the provided process: samples-forms-> render form Guide 1.0.  and use the SimpleMortgageLoan-formGuide(this has all 3 files: swc, xdp and xsd) for trial.

    I am able to get the PDF and html using process and sample pdf are the option to provide. But I have error when using rendered form guide to get the livecycle form guide (I use that as a starting point:http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/wwhelp/wwhimpl /common/html/wwhelp.htm?context=sdkHelp & file = 000261.html):

    Here is the error I get

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727)

    Timestamp: Monday, April 27, 2009 21:24:28 UTC

    Message: Object EXPECTED

    Online: 103

    Char: 1

    Code: 0

    URI: http://serverHost/DocumentManager/docm1240857760906/eab56933d7dfefb501ad6549129d 40 d 2? type = dGV4dC9odG1sOyBjaGFyc2V0PWlzby04ODU5LTE =

    Any idea?

    Thank you.

    The target url must be the address of the server that you want to retrieve information. For example http://localhost: 8080.

    Jasmine

  • Solved: How use the display objects in several projects?

    I have an object of common view that I need to use in several projects. How to import a view object pre-created in a project to re - use?

    Thank you
    Kurz

    Published by: Kurzweil4 on July 14, 2010 12:15

    In the package where the VO is defined, there should be a file server.xml file that contains all the BC4J objects. You can then add this file to your project in JDeveloper and it will add all the your defined in the file.

    Kind regards
    LC

  • Problem using the View object for validation

    Hello
    I defined a form of simple to practice swing. It has an entity object and two objects in view. One of these objects in view is an editable VO based on area of occurrence, and the other has a simple 'select count (*)' table. I defined a validation of the method on one of the EO attributes to see how to use the VO for validation. However, I set the Module of the Application to use both from my point of view. As much as I undrestood, when I define a VO for AM, AM will instantiate it the first time it starts to run. Here is the code inside the method for the FirstName attribute validation:

    / * Validation for first name method
    */
    public boolean validateFirstName (String data) {}
    ViewObject vo is getDBTransaction () .getRootApplicationModule () .findViewObject ("CountEmployeeInstance");.
    If (vo == null) {}
    System.out.println ("vo is null");
    }
    else {}
    vo.executeQuery ();
    If (vo.hasNext ()) {}
    System.out.println ("count =" + ((CountEmployeeRowImpl) vo.next ()) .getCount ());
    }
    else {}
    System.out.println ("vo has no other");
    }
    }
    Returns true;
    }

    The problem is that vo.executeQuery () does not return a any folder. In fact the vo.hasNext () returns false and I get the message "vo has had no news" on the console. Please be careful that the sql statement in the VO is always SELECT COUNT (*) and it returns a record. I found that if I use vo.closeRowSet () vo.executeQuery () before everything is working properly.
    Please tell me what is my problem and why it works that way?
    Best regards
    Alireza Vali

    Sorry Alizera, on transit to the officer of the WATCH.

    This can be the 'compulsory' classic of the substitution of issue position iterator. Take a look at the post following Sascha Herrman who addresses the issue and as solution suggests the creation of a new RowSetIterator to avoid the problem:
    Re: viewObject.executeQuery does not work the second time

    There are a number of positions where Sascha has solved this problem so a search can be useful to the effort on your part.

    Next post gives an interpretation of long-term by myself if accidentally you use getRowSetIterator that you might find useful, but essentially Sascha answer is correct, "to create a new RSI", I was talking a slightly different point:
    Re: [SOLVED] Re: how to browse all lines

    Let us know how you go.

    See you soon,.

    CM.

  • 33 Firefox does not display a pdf file when using the response object

    33.0.2 Firefox does not display pdf files by using the code below in an asp.net program, that works for the previous versions of Firefox and also works with IE. I'm using the built-in pdf viewer. All my plugins are disabled.

               Dim strPDF As String
               strPDF = Session("filname")   'pdf filename
    
               Response.Clear()
               Response.ClearHeaders()
               Response.Buffer = True
               Response.ContentType = "application/pdf"
               Response.CacheControl = "Private"
               Response.AddHeader("Pragma", "no-cache")
               Response.AddHeader("Expires", "0")
               Response.AddHeader("Cache-Control", "no-store, no-cache, must-revalidate")
               Response.AddHeader("Content-Disposition", "inline; filename=" + strPDF)
               Response.WriteFile(strPDF)
    
               Response.Flush()
               Response.Close()
               Response.Clear()
               Response.End()
               Session("filname") = ""
    

    What is the result of this code that Firefox receives through the headers of HTTP response if you check that the Live Http Headers extension?

  • by using the sound recorder

    How to save files to the sound recorder in the folder of my choice?  I have a folder on my server with a shortcut on my desktop; I would that all records to go to that folder and I guess I can do that via a shortcut.

    Sound recorder Windows 7 will ask you to save destination when you click on 'Stop' registration, then you can select the location of the server.

Maybe you are looking for

  • Is satellite L500-14N - possible to see the battery life?

    Hello is it possible to show the life of the battery in percent and in hours and minutes in the taskbar? (Windows 7 64-bit) Energy saving does not support Windows 7, I think. Are there any other utility that can show battery info?

  • My laptop has a remove-able CPU?

    Hello. I would like to know if my CPU can be replaced or is integrated. I plan on upgrading my CPU, I found one that is better and my motherboard supports. However, I can't order it until I know if my laptop CPU can be removed. Model of laptop: HP G6

  • Question about sampling DAQ

    I was wondering, if I put the DAQ for continuous sampling and fixing the rate of say 1 kHz, then I read a single sample DBL value in a loop, what I'm reading in this sample? What is an average of the sample data acquisition carried out at the rate fi

  • Check if a GPIB device is turned on

    Hi all.  Fairly new to LabVIEW, to be understanding.  I searched and searched for a solution for what must be a very common problem, so I must be mssing something very simple. I am writing a vi to control up to three units GPIB.  The problem is that

  • Error: "C:\Program Files/reviversoft\Registry Reviver\unins000.msg"is missing." "Fix the problem or get a new copy of the program.

    Original title: cannot start computer Cannot start computer This response comes and does not let me start the computer (Message missing file 'C:\Program Files/reviversoft\Registry Reviver\unins000.msg "is. Fix the problem or get a new copy of the pro