simple mp3 player not working not not:(erreur de script d'action)

Hello world!

I wonder if anyone can help with this problem:

I am currently designing a website and creating a simple mp3 player with a function on / off but doesn't seem to work. I get this error:

1095: syntax error: a string literal must end before the line break.
1083: syntax error: end of program is unexpected.
1084: syntax error: expected rightparen before the end of the program.
1084: syntax error: expected rightparen before the end of the program.
1084: syntax error: expected rightparen before the end of the program.
1084: syntax error: expected rightparen before the end of the program.

I downloaded a zip file containing the images and the FLA file. I wonder if someone wouldn't mind have a look for me and tell me how to solve this problem:

http://www.c-Recordz.co.UK/download/mp3_player.zip

Thank you

Davies

Hi Davies,

On line 19 let's not break the line, Flash will do it for you... Another aspect that I recommend is to not put the "$" variables. In AS2 variable need not be reported as such (although it is a good policy), instead of the ' $' put the word "var", as you have already in these variables.

Greetings

Men

Tags: Adobe Animate

Similar Questions

  • Coffee latte MP3 player not recognized in Windows 7

    Original title: laptop with Windows 7 does not recognize my Café latte mp3 player - help!

    Worked very well he has about 6 weeks but tried to download music last night and it is not recognized. It works very well in my old laptop with Windows XP Pro. Any advice would be much appreciated! Thank you.

    Kevin

    Hello

    1 did you do changes on the computer before the show?

    2. have you checked with an different port?

    3. do you receive any error messages?

    4. What is the status of the device in Device Manager?

    To check:

    a. Click Start, type devmgmt.msc and press enter

    b. Locate the device and check if there is a mark next to him.

    Method 1: Run the troubleshooter

    See the site:

    Open the hardware and devices Troubleshooter

    http://Windows.Microsoft.com/en-us/Windows7/open-the-hardware-and-devices-Troubleshooter

    Method 2: System Restore

    See the site:

    System restore

    http://Windows.Microsoft.com/en-us/Windows7/products/features/system-restore

    Note: When you restore the system to a previous state, programs and updates installed later will be deleted.

    Method 3: update the driver

    See the site:

    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.

  • MP3 player not recognized

    I can't connect to any mp3 player cause ask for the drivers.

    Hello

    I can t understand you!
    Why n t send you additional information unit, the mp3 player you software, connection, etc.
    How we should give you an appropriate response?
    Generally, all the extended features should be delivered with a clean drivers.

  • Impossible to get Trio A1000 MP3 player to work with Windows XP Pro

    I have an A1000 Trio MP3 player and have a problem trying to download MP3s to it. The computer recognizes the device and says it's working properly, but I see no activity when I try to download MP3s to the unit. I've updated Windows Media Player to Media Player 11, but still have playback in Media Player: "Device Connect" when I try to synchronize files with the mp3 player.
    Any suggestions?

    Your Trio is plug-and-play. So, go into Device Manager and uninstall all your USB hubs.

    Re-start.

    XP will be re-installed the necessary software automatically. Once everything has "calmed down", plug your Trio. XP will install the software (again).

    You should then be able to sync.

    No: If you have any USM devices that need to install specific drivers, just plug their and XP will do what is necessary. If not, install them manually.

    If this does not work, go back to WMP10, then re-install WMP11.

    See you soon,.

    Jerry

  • MP3 player that works on Android devices

    Integrate my current mp3 player won't work on google android devices. There is a player that I can use to overcome this problem?

    Please check the options available here:

    http://resources.Muse.Adobe.com/search?q=player

    Thank you

    Sanjit

  • MP3 player not detected on the Vista computer

    Original title: usb connection
    When I plug my mp3 into the USB it says device is not found, I tried to search for the device

    Hello

    Have you tried to connect the player to another USB port?

    Have you looked in the Device Manager? Do you see the device?

    To open Device Manager:
    a. click the Start button.
    b. type devmgmt.msc in the start search box and press on enter.

    Run Fixit tool from the link below and check if this solves the problem.

    Hardware devices do not work or are not detected in Windows:
    http://support.Microsoft.com/GP/hardware_device_problems/en-us

    Also check out this link:
    http://Windows.Microsoft.com/en-us/Windows-Vista/tips-for-solving-problems-with-USB-devices

    Kind regards
    Afzal Taher-Microsoft Support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • my new mp3 player cannot connect to the PC

    Hello
    I have problem with my creative ZEN mp3 player. When I opened that the mpt Device Manager device has a bubble that will not disappear.when I support on put the driver in the middle of the search for device MTP suddenly this message appears "finish installation".
    I installed SP3 on my PC but when I connect the mp3 player, PC can not detect.
    Thanks for your help.

    Hello Kanyemba,

    Thank you for your message.  Please provide comments so that we can better help you get your problem solved.
    1A this .mp3 player has worked in the past?  If so, has anything changed recently to include updates, hardware or software changes?
    2. There are many different variations of the Zen player, is that you have compatible with Windows XP?
    See the link below and download/install the latest driver XP for your device.
    Please let us know if it did or it does not solve your problem.
    See you soon

    Engineer Jason Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.

  • Need to randomize MP3 player

    Hello guys.

    I have a simple mp3 player in AS2, and I need a way to randomize the songs.

    Here's my AS2 code.

    __________________________________________________________________________________________ ____________________________________

    var s:Sound = new Sound();
    s.onSoundComplete = playTracks;
    s.setVolume (75);

    var a: Array = new Array();
    var cps:Number = - 1;
    var pos:Number;

    load the XML for mp3 tracks
    var xml = new XML();
    xml.ignoreWhite = true;
    xml.onLoad = function()
    {
    var: array of nodes = this.firstChild.childNodes;
    for (var i = 0; i < nodes.length; i ++)
    {
    SA.push (new list (nodes [i].attributes.url, nodes [i].attributes.artist, nodes [i].attributes.track));
    }
    playTracks();
    }

    your xml file is called here, if you change the name of your XML also change here
    XML. Load ("Tracks.xml");

    function to play your songs, note that the volume is currently set at 75, 100 = max, 0 = silent

    function playTracks (): Void
    {
    s = new Sound();
    s.onSoundComplete = playTracks;
    s.setVolume (75);
    mute.gotoAndStop("on");
    If (cps == sa.length - 1).
    {
    CPS = 0;
    s.loadSound (.earl his [PC], true);
    }
    on the other
    {
    s.loadSound (his [++ cps] .earl, true);
    }

    info.info2.TrackInfo.text = .track his [PC] + "";
    info.info2.trackInfo2.text = .artist his [PC] + "";
    onOff.gotoAndStop ("pause");
    textPos = 0;
    }

    function to play the previous track
    function playPrevious (): Void
    {
    s = new Sound();
    s.onSoundComplete = playTracks;
    s.setVolume (75);
    mute.gotoAndStop("on");
    if(CPS == 0)
    {
    CPS = his .length-1;
    s.loadSound (.earl his [PC], true);
    }
    on the other
    {
    s.loadSound (his [-cps] .earl, true);
    }
    info.info2.TrackInfo.text = .track his [PC] + "";
    info.info2.trackInfo2.text = .artist his [PC] + "";
    onOff.gotoAndStop ("pause");
    }

    function pause music
    function musicOff (): Void
    {
    POS = s.position;
    s.Stop ();
    }

    to continue playback function
    function musicOn (): Void
    {
    s.Start(pos/1000);
    }

    This determines the reversal says according to what position the switch is in,
    currently I do not roll-over States for my buttons, but you can add them if you wish.
    onOff.onRollOver = function()
    {
    If (this ._currentframe == 1) this.gotoAndStop ("pauseOver");
    of another this.gotoAndStop ("playOver");
    }

    This determines the position of the play/pause button
    onOff.onRollOut = onOff.onReleaseOutside = function()
    {
    If (this ._currentframe == 10) this.gotoAndStop ("pause");
    of another this.gotoAndStop ("play");
    }

    on the release of the pause/play button, what determines weather to pause or resume playback
    onOff.onRelease = function()
    {
    If (this ._currentframe is 10)
    {
    this.gotoAndStop ("playOver");
    This._parent.musicOff ();
    alphaTween = new mx.transitions.Tween (equ, "_alpha",
    mx.transitions.easing.Regular.easeOut, 100, 0, 0.75.
    (true);
    }
    on the other
    {
    this.gotoAndStop ("pauseOver");
    This._parent.musicOn ();
    alphaTween = new mx.transitions.Tween (equ, "_alpha",
    mx.transitions.easing.Regular.easeOut, 0, 100, 0.75.
    (true);
    }
    }

    States of flipping to the next button, again I am not using any
    next.onRollOver = function()
    {
    this.gotoAndStop ("nextOver");
    }

    next.onRollOut = next.onReleaseOutside = function()
    {
    this.gotoAndStop ("next");
    }

    This determines the weather the equalizer is an alpha of 0, if not the Equalizer will return to 100%
    When you press the next button
    next.onRelease = function()
    {
    This._parent.playTracks ();
    If (equ._alpha == 0)
    {
    alphaTween = new mx.transitions.Tween (equ, "_alpha",
    mx.transitions.easing.Regular.easeOut, 0, 100, 2.
    (true);
    }
    on the other
    {

    }
    }

    This determines the weather the equalizer is an alpha of 0, if not the Equalizer will return to 100%
    When you press the previous button
    prev.onRelease = function() {}
    playPrevious();
    If (equ._alpha == 0)
    {
    alphaTween = new mx.transitions.Tween (equ, "_alpha",
    mx.transitions.easing.Regular.easeOut, 0, 100, 2.
    (true);
    }
    on the other
    {

    }
    }

    __________________________________________________________________________________________ __________________________________

    Thanks for any help!

    You should be able to mix just the table her after the loop when it fills to help

    his (her) shuffle =;

    Where you have the shuffle function added to the collection of functions...

    function shuffle (a) {}
    var len is. Length-1;
    for (i = len; I > = 0; i--) {}
    var percent = Math.floor (Math.random () *(i+1));
    var t = [i];
    a [i] = a [p];
    a [p] = t;
    }
    return a;
    }

  • I try to install my mp3 player, but it comes out with an error code 10

    I used to be able to connect my mp3 player (Sandisk Sansa Clip +) and sync my songs to it.  Now, he does not and says it has an error code 10 when I try and troubleshoot it and update.  What continues?

    Hello

    Thank you to contact Microsoft Community and we will be happy to help you with your concern.

    According to the description, MP3 player is not being recognized.

    The problem may occur due to corrupted drivers.

    Perform the steps from the link below and see if it helps.

    http://KB.SanDisk.com/app/answers/detail/A_ID/42/~/Sansa-player-not-recognized-by-the-computer

    Hope this information helps.

    Answer to us if you are having problems with MP3 player not getting not recognized or any other issue of Windows and we'd be happy to help you.

    Good day!

  • Creative Zen Touch MP3 Player on Windows 7

    How do I repair my old Creative Zen Touch 20 GB MP3 player to work with my laptop brand new?

    If your Zen don't get drivers versions & installed by Windows 7 then I suggest you try the Vista drivers/software here:

    http://support.creative.com/downloads/welcome.aspx?nDriverType=1#TYPE_1

    Download the file, right-click on it, select troubleshooting Compitibility & follow the prompts.

    Creative has now review your product as a legacy.

    All the answers and suggestions are provided by an enthusiastic amateur and are therefore no explicit or implicit guarantee. Basically, you use my suggestions at your own risk.

  • Digital mp3 player is not detected on the computer.

    Original title: my phone dosnt recognize my drive digital mp3. When I plug it into the usb port do not get an icon. so I can't load music can help you

    MY LAPTOP DOES NOT RECOGNIZE MY MP3 DIGITAL PLAYER. WHEN I PLUG IT INTO THE USB PORT I DON'T GET THE USUAL ICON. SO I CAN'T DOWNLOAD MUSIC ON IT. CAN YOU HELP ME PLEASE

    Hello

    Thanks for posting your question in the Microsoft Community Forums!

    If I understand the question, digital mp3 player is not detected on the computer. Please let me know if this is not correct.

    Before I continue with the troubleshooting steps I may need a few more details to better understand the issue.
    1. what operating system do you use?
    2. do you receive any error messages?
    3. are you having the same problem with other USB devices?
    4. have you tried plugging the machine into the other USB Ports?
    5. did you of recent changes on the computer before this problem?
    6. What is the serial number and model of the MP3 player?
    Method 1:
    We will first try to plug in other USB Ports and on another computer to make sure that there is no problem with the digital mp3 player.
    Method 2:
    If the first method does not resolve the problem, run the hardware and devices Troubleshooter and check if it helps.
    Hardware devices do not work or are not detected in Windows
    For more information, please see the link.
    Respond with the required information so that we can help you solve the problem.
  • Poloroid MP3 does not work correctly.

    Original title: connect a MP3 player to the poloroid mp3 files

    Sorry for the caps, my problem is I just got a Poloroid MP3 and it does not work correctly as no movement between the icons etc. Y at - it anykelp like a download or something I can put it on its feet again. Thank you very much

    Gary lumbard... e-mail * address email is removed from the privacy *.

    Hi Gary lumbard,.

    Thanks for posting your question in the Microsoft Community Forum.

    According to the information of Polaroid MP3 player does not work on your Windows XP computer.

    Since you are faced with the question with player MP3 of Polaroid, you can get in touch with ato Polaroid supported if verification updates is available for the player and for further assistance.

    Polaroid support

    Hope the helps of information.

    Let us know if you need help with Windows related issues. We will be happy to help you.

  • does not recognize the memory stick or mp3 player

    Can anyone help? I am trying to use an mp3 player, but when I click on it in my computer, that a message appears saying that the disk in drive g is not formatted do format you it now. The same thing seems whem I plug in my memory stick. When I tried a different pc, they work ok and they gave me options to play in windows media, etc. and take no action. In"my computer"they come as a hard but in another of those articles name pc disk rises and I can open, explore, and play the two elements. The memory stick was working ok when I connected the first time a few months ago but not now. In Device Manager, the names of the two usb devices are named but not in 'my computer '. I tried to sync in windows media player, but it keeps asking me to connect the device even after that I have try to refresh. Any help in this matter would be greatly appreciated.

    Thank you very much

    A Webb

    Hey Webb,

    Follow the suggestions below for a possible solution:

    Method 1: I suggest to change the Bill of Exchange to the drive and then try to connect the device.

    How to change drive letter assignments in Windows XP

    http://support.Microsoft.com/kb/307844

    Method 2: I also suggest that you scan your computer with the Microsoft Security Scanner, which would help us to get rid of viruses, spyware and other malicious software.

    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

     

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Important: While running scan on the hard drive if bad sectors are found on the hard drive when scanning try to repair this area if all available on which data may be lost.

    I hope this helps.

  • Windows Media Player not able to synchronize audio files for MP3 player

    Windows Media Player 11 issues

    I updated win xp home edition from sp2 to sp3. Also updated for Windows Media Player 11. WM11, I cannot sync to my mp3 player that I could use this feature in sp2 and the latest version of WM. Sometimes it will play music on the mp3 player, but close WM11 after a period short piece. When WM11 opens, I choose a song and play music for a brief period before an error box appears stating windows media must be closed due to erroer or error DRM Setup utility. Sometimes, it closes when you click on a song without any error message that appears. Updates that I updated to Windows Media. Have not tried burning / ripping any CD or adding new music to the library. Just try to play files of current music and trying to put music on an mp3 player. MP3 player is a simple player RCA 'Pearl '. Nothing complicated. Never had any problems before WM11. Can roll back to WM 9.5 (I think)... but no sync button. WM 10 does not able to download Pack SP3. Don't know what to do. Questions about this on the Microsoft Web site do not meet my windows media problems.

    Hello

    Thanks for the reply. I uninstalled WMP11. Old version had the ability to sync... just had to learn to move into the old version... different screen. I'll go back and try your method.

  • Media player does not recognize the MP3 player

    original title; SAMSUNG YP-U2JZW white Media Player

    I can't get Windows XP to recognize my mp3 player.

    Hi JonathanCarroll,

    (1) if it works well before?

    (2) remember to make changes?

    (3) is this problem limited only to the MP3 player?

    Method 1: Search for any error message in Device Manager

    When a device is not functioning, Device Manager also typically displays an error message with an error code that comes with it. First, search for errors in the Manager of devices to do this, follow the steps below:

    (a) open Device Manager by clicking the Start button, click on the Control Panel, clicking system and Maintenance, and then clicking Device Manager.

    (b) If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    (c) in the Device Manager, find ligthscribe ROM readers, and then double-click the device name.

    (d) If an error code has been generated, the code appears in the status area of the device under the general tab

    Method 2: Let flow the fixit available in the link below and then check

     

    A computer that is running Windows XP cannot detect a USB, an Apple iPod flash drive or an external hard disk drive

    http://support.Microsoft.com/kb/925196

     

    Important : This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base.

    How to back up and restore the registry in Windows

    Kind regards

    Ajay K

Maybe you are looking for

  • Why does not update my wife to ios10 ipad mini?

    My wife has a mini iPad, the first iteration; Despite my trying various solutions of workaround that seems not believe iOS 10's of about; I tried a hard reboot among other things, but this is the message I get every time. According to the lists that

  • Where is the Feedback Forum to Microsoft answers (Question to Microsoft Support Engineers/moderators)

    On a number of messages I saw the following: Microsoft Answers Support EngineerVisit our Microsoft answers feedback Forum and let us know what you think If I click on the link that need me only to the homepage of answers; certainly not a feedback for

  • messed up desktop computer!

    Hi Please help? Present but desktop icons background image of a friend and myself look wide and short picture is messed up tried to return to microsoft background who came on computer but not change, also how can I find out about my computer all of t

  • sound not working speakers

    I have Windows 7 on a HP 500 b MT produced desktop computer. According to my computer, my sound works fine. I installed the Microsoft Fixit and he said nothing wrong. I can plug in headphones and I can hear system sounds but not other sounds. Other s

  • help with possible hack

    Hello Ive had problems connecting to my email account. its asking me to varify my account. I spoke to microsoft technical support and they say that my computer has been hacked and someone was logging into my account they say also that my computer is