I need code for my button to listen to the music without duplication...

Hello!!.. First of all, I'm sorry because my English is not good enough. I'm of the Spain.

I am doing a project in Flash CS5, but it's a mess...

I need to make an app to read in the Flash Player. My project has two buttons, one to replay the project and a second to reach a specific image. My problem is that when I press my button to start over, the music start of frame 0 and not from my specific image. Also, if I press my button once more and my video starts again, the music splits. As you can see, I put a code on my button for listening to music (it s in a layer) since its inception as the video, without duplication. Apart from that, I like to keep the option of playing music indefinitely when my video stops (it has a stop at the end).

Thank you very much!!

You can use:

on (release) {}

gotoAndPlay (1);

stopAllSounds();

_root.my_sound. Start (0,0);

_root.gotoAndStop ("stop")

}

Tags: Adobe Animate

Similar Questions

  • How to listen to the music of Android for U920T satellite using BT

    Anyone could listen to the music of android phone in the U920T using Bluetooth?

    What I want is to hear the music of android phone in the Tablet U920 speakers.

    I have the latest drivers for Bluetooth stack installed and I m able to share files via Bluetooth.

    I know that it is possible to use the WiFi but I want to use Bluetooth.

    Thanks for any advice.

    Activate the BT on your Android phone and make it visible.

    Then go to the peripheral area PC and printers and click Add devices
    Now the window search for the smartphone and it would add to the devices area.

    After that click on your smartphone that appear in the peripheral topic area and now you would get a new screen.
    Here you will see an area called audio Services (to use the listed audio stereo speakers PC playing on delete device) where you can click the button connect to allow an audio stream from the phone to the speakers for laptop.

    Then, you would get a notification that the connection was made successfully, and you might start and the audio stream on your smartphone

  • When listening to the music of Grooveshark, the sound turns off after a minute.

    When listening to the music of Grooveshark, the sound turns off after a minute.  Must press the key or the mouse to re-activate.  I turned off the screen saver.  Cut off.  Grooveshark said that they have no control over that, but the operating system.  Can someone help me with this?

    Hello

    Try the following steps.

    Method 1:

    Sometimes a Web site you visit doesn't look like you expect it. Images may not appear, menus may be out of place, and text boxes may be blurred together. This can be caused by a compatibility problem between Internet Explorer and the site that you are. When a site is not compatible with Internet Explorer, you'll see the compatibility view button in the address bar. You can activate only display Internet Explorer compatibility for the office.

    Use compatibility mode in Internet Explorer:

    http://Windows.Microsoft.com/en-in/Internet-Explorer/use-compatibility-view#IE=IE-10

    Method 2:

    I would say to change the mode of Internet Explorer 9 browser.

    Steps to follow:

    a. open Internet Explorer, press the F12 function key.

    (b) in the part of developers, click browser mode and click on Internet Explorer 9.

    If the Web site uses flash player, try to uninstall and reinstall and check if it helps.

    It will be useful.

  • I can't use my headset while I listen to the music with the home theater.

    original title: I can't use my headset while I am listening to the music with the cinema.bouth House is connected to my pc... What can I do?

    I have my homecinema and my headset connected to my pc.what can do so they can work at the same time?

    Hello

    1. What do you mean my home theater?
    2. How is it connected to the PC?
    3. What is the brand and model of the PC?

    Follow the steps described in the links to update the sound card drivers:

    Updated a hardware driver that is not working properly

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    Automatically get recommended drivers and updates for your hardware

    http://Windows.Microsoft.com/en-us/Windows7/automatically-get-recommended-drivers-and-updates-for-your-hardware

    It depends on your hardware. Your computer must have a card that is capable of several output stream.

  • I'm doing slideshows to music with an opening, I would switch to LR, but you cannot set the duration of each slide (in my case the score) based on listening to the music. (In the opening by clicking on the "stopwatch" and pressing enter at each change of

    I'm doing slideshows to music with an opening, I would switch to LR, but you cannot set the duration of each slide (in my case the score) based on listening to the music. (In the opening by clicking on the "stopwatch" and pressing enter at each change of image). Adobe staff question: can I expect to find this option in a future release?

    Hi Pcaubi,

    There is no such updates for the same from now.

    I suggest you to please put in a feature request to: Photoshop community customer family

    Kind regards

    Tanuj

  • What I really join the music Apple to listen to the music I want to listen to?

    What I really join the music Apple to listen to the music I want to hear?

    # You can buy your own music without subscription (Apple's music).

  • When I go to Windows Media player to listen to the music, I get an error message C00D11B1 how can I fix that I can play my music?

    When I go to Windows Media player to listen to the music, I get an error message C00D11B1 how can I fix that I can play my music?

    Hi SummerSolarez,

    1. did you of recent changes on the computer?

    2. This only happens when you try to play a specific type of file with all the files or music?

    I suggest you to update your audio driver by following the steps in the link below and check if it helps.

    Windows Media Player C00D11B1

    Note: The steps are also applicable to Windows Vista Media Player.

    Hope this information is useful.

  • HP 4183 cl - I want to turn my monitor off and same proximity laptop screen while listening to the music.

    I want to close my screen while listening to the music. I found the option to turn off the screen, but when I try to close the screen, it goes to standby mode.

    Please help me.

    Thank you.

    Check power in the Panel settings - there is a place where you can specify what happens when you close the lid.

  • need help to write correct code for nested button

    This is the code in the main timeline.

    Stop();

    garage.addEventListener (MouseEvent.MOUSE_DOWN, mouseDownHandler);

    function mouseDownHandler(event:MouseEvent):void {}

    gotoAndPlay ("open");

    }

    The movieClip gDoor is nested inside the garage and 'open' is a label on this chronology.  I know that the gotoAndPlay ("open"); is not correct.  How would be the label on nested timeline.

    the link below is to download the FLA

    clienttestsite.X10.MX/beta/garage.fla

    The problem is that you have an event listener assigned to the garage, which is block / casting interaction with what anyone inside.  When you click the button on the chest, you are always clicking on the garage, making the gotoAndPlay("open")... where he stops to the stop();

    One way around this problem is to assign an instance name to the door and to assign the code to open to...

    Stop();
    garage.door.addEventListener (MouseEvent.CLICK, openHandler);
    function openHandler(event:MouseEvent):void {}
    garage. Play();
    }

    garage.chest.closeBtn.addEventListener (MouseEvent.CLICK, closeHandler);
    function closeHandler(event:MouseEvent):void {}
    garage.gotoAndPlay ("close");
    }

    Note: as shown in the code above...

    -Use the CLICK instead of MOUSE_DOWN.

    -in the openHandler use play() instead of gotoAndPlay ("open"). You are already in the 'open' setting, and it is only because the stop() is exhausted only it actuallys works.

    Do what I explained above also makes so that you can click on the door to close it that way.

  • Need codes for Toshiba YL863G REGZA IR

    Hello

    Anyone have IR codes for the following TV entries? :

    (1) ATV
    (2) DTV Ant
    (3) digital TV cable
    (4) DTV Sat TV
    (5) digital television satellite radio

    I would like to program my remote to switch to these inputs directly logitech harmony.

    Thank you

    Found no details or more information on any page of Toshiba IR codes.
    He looks so much like on this news isn't available

    But I recommend you to check this page:
    http://www.remotecentral.com

    and this one:
    http://www.MythTV.org/wiki/Logitech_Harmony_Generic_Setup

  • Need code for BDP-BX620, or maybe OTP-S6500

    I use the remote control supplied with my Yamaha RX-A1010 receiver as my universal remote control. We had to replace our blu - ray player and got the BDP-BX620 of Costco. Anyone has the code for this, or perhaps the BDP-S6500, because I had read that they are the same player.

    Hello kirstenj,

    Greetings and thanks for your message. If you use a Sony universal remote instead of your universal remote for Yamaha, we propose that the control code for Sony products is 01 or 001. However, we are unable to provide support for remote controls designed by other manufacturers. Manufacturers may set different code numbers in their universal remote controls to identify the infrared (IR) signal of a Sony product. Thus, the code number used to operate a Sony product in one remote can be different from the one used by another.

    For more information on the programming of a remote third party, we recommend that you contact the manufacturer of the remote control to get help.

    If my post answered your question, please mark it as "accept as a Solution.

  • I need assistance with encoding button to go to the next scene

    Hello! I have been using flash cs5 for a few years now and I was never very good with coding since I usually just swf animations. However, I am writing a history book / and I wanted to make a little guide for all species of dragons in history.

    Example: I got it so there is a title screen and a start button, you click on the Start button and you are taken to the next scene; that is an image of a dragon of mist that I drew and then plays audio. describing the dragons mist. in the corner, there is a 'next' button and when you click it, need you to the following species and audio playback, just as with the mist dragon.

    my major problem is that my code is muffed up (I know it is not totally complete, but this code is what I'm comfortable with, he knows whaat the full code is?). I typed in what I'm remembering class... could someone help me?

    Here is the code that I remembered:

    Stop();

    Btn1.addEventListener (MouseEvent.CLICK...

    function btn1Listener(e:MouseEvent):void {}

    Stop (1, "mist dragon");

    use:

    Stop();

    Btn1.addEventListener (MouseEvent.CLICK, btn1Listener);

    function btn1Listener(e:MouseEvent):void {}

    Stop (1, "mist dragon"); //<- you="" may="" want="" gotoandplay(1,"mist="">

    }

  • Different codes for different - looking of table (but the same memory-wise)

    (I've posted something similar here as well, but it's kind of emergency):
    http://www.Java-forums.org/advanced-Java/40756-HashMap-treating-isomorphic-but-different-objects-same-key.html)

    Hi all

    I am trying to program the Reversi game on my computer and I represent the game like a lookup table tree using a hash table.
    Any available to the Commission is represented as an int. [8] [8]. The hash table takes a configuration of the Board of Directors as a key, and is meant to restore an object that contains information about the possible move.

    But I have a problem. Suppose I have a Council (4 x 4 for readability):

    Code:
    Board of Directors of int [] [] = {{0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}};

    And suppose that it gives a hash code of say "1607178090".

    Then, when I change the Council;
    Board = {{0,0,0,0}, {0,0,0,0}, {1,1,1,1}, {1,1,1,1}};
    I want the hash to be different code, then my hashMap will recognize it as a different Board.


    ---

    I tried to make a Matrix object and dominant equals and hashCode, but I'm not sure what to change. The Java API says that the hash code for the tables is based on the content, even if the following code renders the same code to hash twice. I don't really understand this:
    int [] a1 = {0,1,2};
    System.out.println (a1.getHash ());
    A1 [0] = 1;
    System.out.println (a1.getHash ());




    Moreover, my Matrix class is:
    to import java.util.Arrays;

    public class {Matrix
    public int [] [] Council;
    public matrix()) {}
    }

    {public matrix (int [] [] b)
    Board = b;
    }

    @Override
    public int hashCode() {}
    first final int = 31;
    int result = 1;
    System.out.println ("based hash code calculation on :"); ")
    first = result * result + Arrays.hashCode (board);
    for (int c = 0; c < board.length; c ++) {}
    for (int r = 0; r < board.length; r ++) {}
    System.out.Print(""+Board[c][r]+"");
    }
    System.out.println ();
    }
    System.out.println ("return" + result);
    return the result;
    }

    @Override
    public boolean equals (Object obj) {}
    If (this is obj)
    Returns true;
    If (obj is nothing)
    Returns false;
    If (getClass()! = obj.getClass ())
    Returns false;
    Matrix other obj = (matrix);
    If (!.) Arrays.Equals (Council, other.board))
    Returns false;
    Returns true;
    }
    }

    Published by: 845707 on 19 / mrt / 2011 02:20

    845707 wrote:
    I don't really understand this:
    int [] a1 = {0,1,2};
    System.out.println (a1.getHash ());
    A1 [0] = 1;
    System.out.println (a1.getHash ());

    Me neither does table have a method called "getHash();" these days?
    In case you meant hashCode(), what you call it is hashCode() of the object, which would remain the same for the object during its lifetime.

    In your example code you use correctly Arrays.hashCode (), then why did you write an example that does not represent your actual code?

  • Impossible to listen to the music - problem with sound card

    original title: sound card

    I went to listen to music and he says there is a problem with my sound card, need help please!

    Try going to the site of the manufacturer of your computer, look for the support page for your machine and then download and install the audio drivers for W7.

    Failure to comply with this re-post giving the exact message.

    See you soon,.
    Jerry

  • How can I listen to the music of Nirvana or Lil' Wayne?

    It indicates the MyFamily security settings do not allow me to listen to demo os the song when I click it. But my father said that he doesn't know how to change. It justs brings to something else that isn't about music when he clicks on "to remove a member of the family of my family, go to security settings on Microsoft family ."

    any help? Thank you

    Hi RodolfoPortillo1,

    I think that your father needs to change your account under parental controls, specifically the section entitled Restrictions on game. This section lets you Store Windows game and game restrictions, which I think handles music, since music is a subset of the Microsoft Store. I couldn't find another thing that seems to restrict the music in the safety of the family.
    I hope this helps!
    David

Maybe you are looking for

  • iMac running slow!

    I have an iMac running El Capitan 2013. Sometimes, it seems that someone poured glue into the gears. Apple Mail is slow to respond. Programs to take a minute or two to open it. I try to look at the activity monitor at what is happening, but I don't k

  • Error loading operating system in Windows XP

    My machine was working fine and then restarts, showed the message "error loading operating system" and does not start.  Any suggestions on the best way to recover? I have not tried anything that either still, wanted to determine the best approach to

  • Is it possible for other people to see my ID is. related to Windows Live?

    Hello Is it possible for other people to see my linked ID? So if I have a link * address email is removed from the privacy * and * address email is removed from the privacy *, anyone can see that the two pieces of identification are related? Thank yo

  • PowerShell cmdlet

    Hello I use Windows 7 SP1 64 bit and want to limit the Internet bandwidth with the NetQosPolicy PowerShell cmdlet but I noticed that it can be used in Windows 8 or higher. I tried again after the installation of Windows Management Framework 5.0, but

  • How remove zone alarm, said newspapers files I need special permissions

    cannot delete files of journal zone alarm free version. running win 7 64 bit. He tells me that I need to remove special permissions. I'm her as an administrator, can anyone help. thanx!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!