Want a challenge? Some meaty ActionScript

Hi Everyone,
Spent all day, trying to get the attached script to work, no
joy and certainly, no LUCK.
Can someone see if they can see where I am going wrong here;
its a mp3 player that should use XML list and .as file, music
should fade in and out etc...
I will attach the code. GOOD LUCK! ;)
Kind Regards,
Boxing Boom

Sorry BB, I've been busy. Let me ask you, in addition to the
song playing when you press the 'play', do you think the sound
should actally 'stop' when you press the 'pause' button? because
the way we have it working now, it plays automatically, and when
paused it only turn the volume down but they continue to play
without volume, then when hitting play again it bring the volume
back up, and the songs continue to cycle through the list.
Secondly, I'm not sure how your change to cps=-1 would have
made a difference with the problem you were having where the song
wouldn't play on the second press of the button, that's not how
array indexs work, the only thing I can think of is that you may
only have one song in the list, or somethings not right with the
XML. If there was only one song, that would be it because it woudl
be the only thing in the array at index 0, and I see that I should
have used:
if(cps < sa.length-1) {
in the 'playSong' function's conditional statement, this
should solve the problem, but also change the cps defaults back to
zero.
to stop the song from playing until pressing 'play' remove
the 'playSong()' call fromt he end of the XML loading loop, then
you'll need a couple of other things depending on your answer to
the first questions here. because you'll need a method to start the
song playing, and if we just put the playSong() call in the play
button's code that would restart and advance the music each time
the button is pressed, so you'll need another function to handle
starting and stopping the songs.

Similar Messages

  • I've downloaded audio books successfully to my iPod, but they don't show up on my iTunes.. and I want to delete some.

    I've successfully downloaded audio books to my iPod for years but now they don't show up on iTunes, not under Music, not under books or Audiobooks - nowhere!
    And I want to delete some...

    Hello, mimi2216. 
    Thank you for visiting Apple Support Communities. 
    This could be a result of Automatic Downloads not being enabled, the apps were too large to download via the cellular data network or a cellular data connection was not available at the time of download.  The best option would be to download the missing apps via the steps in the second article below. 
    iTunes Store: How to enable Automatic Downloads
    http://support.apple.com/kb/ht4539
    Downloading past purchases from the iTunes Store, App Store, and iBooks Store
    http://support.apple.com/kb/ht2519
    Cheers,
    Jason H. 

  • I'm having trouble loading photos on my I phone 4s and I pod.  I don't see the photos tab in Itunes?? Prob user error but wanted to get some help.

    I'm having trouble loading photos on my I phone 4s and I pod.  I don't see the photos tab in I-tunes? I'm sure its user error but wanted to get some help.

    What's the origin of this external drive? It sounds very much like it's a Windows-formatted (NTFS) drive which Macs can't write to. If you can, copy the files off the drive, reformat it as Mac format (using Disk Utility) and copy the files back. If you need to continue writing to it from a Windows PC, you should format it ExFAT in Disk Utility.
    Matt

  • I got a first generation IPOD TOUCH for my husband and want to take some songs From my Computer that is hooked up to MY newer IPOD (not Touch, just IPOD)  Is it possible to take the music from my ITUNES account and add the his IPOD Touch without changing

    I am trying to take songs from my PC AND My Itunes account and send them to my husband's IPOD TOUCH First Generation BUT I don't want to change my whole ITUNES account that is already on my computer.  When I plug HIS Ipod Touch into the PC, my ITUNES account wants me to CHANGE the DEVICE Name on the account and I don't want to do that.  I only want to share SOME of my songs on my Itunes account and send them to h is IPOD TOUCH?  Is this possible and HOW!  Thanks a ton!!!  I "checked" off the songs that I want to send but that's as far as I get before it asks me to change the Device Name?

    Is his iPod usually synced to a different iTunes library/computer?  If so, that would explain the message iTunes is giving you.  An iPod is designed to sync with only one computer/iTunes library at a time.  If you try to sync it with a new library, the iPod's contents will be erased and replaced with what is in the newer/different iTunes library.
    So if there is content you would like to add to his iPod, simply transfer it from your iTunes library to his.
    B-rock

  • My computer space is full and i want to remove some of my itunes movies from my computer but i dont want to loose them completely how do i make it so i can find them under my purchased on icloud?

    My computer space is full and i want to remove some of my itunes movies/ t.v shows from my computer but i dont want to loose them completely how do i make it so i can find them under my purchased on icloud?

    You can't do that. iCloud does function that way.
    Allan

  • 1.)  How do I organized my photo album on my ipad?  2.)  How do I remove an album on my ipad?  3.)  i have taken over 1,000 photos on ipad, now it won't sync stuff to the ipad because it said there is not enough space.  I want to delete some past synced p

    1.)  How do I organized my photo album on my ipad?
    2.)  How do I remove an album on my ipad?
    3.)  i have taken over 1,000 photos on ipad, now it won't sync stuff to the ipad because it said there is not enough space.  I want to delete some past synced photos from the computer to create space, but I don't know how to find it on computer.  It sycned a portion of a file onto the ipad which is useless to me so I want to delete it all &amp; start fresh.
    4.)  I was thinking about copying some of those photos over so it would show up as new data maybe then it would sync to my ipad as a new &amp; competed album.  Or will this create more problem because it would only be creating more photos?
    5.)  By the way, I don't know how to use dropbox or anything like it, so I take photos of some files &amp; web screen that I use regularly to always have access regardless of internet access.  That is why I have so many photos.  But I want to be able to separate &amp; organized them by files, web screens, or topics.  I also want to be able to delete &amp; update as needed.
    6.)  If needed I am willing to delete 4 G of downloaded app to create space.  Will this help the space issue?  Also could I just leave the downloaded app to my computer only &amp; only sync to to ipad as needed, since I don't need app as regularly.  I NEED "photo" ALL of the TIME!  I am out in the field, instead of carrying stack &amp; stack of papers, I carry ipad with photo of these daily needed papers!

    1, you can't at the moment, though with iOS 5 in the Autumn, from http://www.apple.com/ios/ios5/features.html#photos :
    Even organize your photos in albums — right on your device
    2, by removing it from you synced from and re-syncing. Only photos taken with the iPad, copied to it via the camera connection kit, or saved from emails/websites etc can be deleted directly on the iPad (either via the trashcan icon in the top right corner if viewing the photo in full screen, or via the icon of the box with the arrow coming out of it in thumbnail view)
    3, the location of the photos that you synced to the iPad should be listed on the iPad's Photos tab when connected to your computer's iTunes.
    4, you can copy the photos from your iPad to your computer : http://support.apple.com/kb/HT4083 . You should also be able to delete them from the iPad as part of the transfer process to your computer, and it's then your choice whether to add them to your sync photo list so as to copy them back to the iPad. Copying them to your computer would allow you to organise them into folders and therefore be able to sync them back into separate albums.
    5, I don't use Dropbox either. There are some third-party browser apps in the iTunes App Store that allow you to download pages so that you can view them when offline e.g. Atomic Web (the whole page is saved within Atomic Web, it doesn't place a photo into the Photos app)
    6, deleting content should help. If you remove an app from your iPad then you also remove the content that it's got on the iPad - so if you then decide to reinstall it back onto the iPad then you will need to manually add back any content that you want in it. None of the Apple built-in apps (including Photos) can be removed from the iPad

  • I am clearing through my phone for more memory. I want to delete some personal photos and videos of family forever, how can i do this ?. I do not want the photos or videos to be found anywhere.

    I am using a Iphone 5c device on software update IOS 7.1.2. I want to delete some personal videos and photos of my family and friends and myself. I am worried that if i delete them they may still be on my itunes account or icloud account. I do not want them on any of my accounts or files anywhere, I would like them gone off of everything. How can i do this?
    Thanks in advance.

    The answer is not simple. First, are these images in the Camera Roll or the Photos app? Next, do you have Photo Stream enabled? Also, do you back up your phone to your computer or to iCloud, or to both?
    If you have Photo Stream enabled then the images have already been distributed to anyone who is subscribed. Nothing that I can think of that you can do about that. The rest of this post assumes that Photo Stream was never turned on.
    If the images are in your Camera Roll you can delete them from the Camera app. The won't go anywhere, however, they will still be in your backups.
    If you back up to your computer using iTunes you can go to iTunes Preferences, Devices tab, and delete your backups. After deleting all of them, and also after you have deleted the images from the Camera Roll, do a new backup.
    After deleting the backups do a Secure Delete of deleted files on your computer. On a Mac you can do this with Disk Utility; have it erase deleted files. On Windows you need to get a 3rd party "shredder" app.
    If you back up to iCloud on the phone go to Settings/iCloud - Storage & backup - Manage Storage. Tap on each backup and delete it.
    If you have photos in the Photos app that are NOT in the Camera Roll album you need to connect your phone to iTunes, click on the Photos tab, uncheck all of them that you don't want (or uncheck Sync Photos if you want all of them gone), then sync.
    Then repeat all of the steps above.

  • My iTunes says I owe $5.25 for songs that I have already paid for and am not going to pay for again but I want to get some apps from the store and now there's a hold on my account. Who do I talk to get the hold taken off

    I explained it most in my question but I am getting charged double for songs that I have already paid for and am not going to pay for twice because that is messed up. But I want to get some apps from the store and it wont let me because of $5.25. Who can I talk to about resolving this issue?

    You're right, it would have been covered under warranty. But because of the user damage, chances are there's a 200-something dollar fee . If you explain to them that it had a defect previously, they might replace it for you at no charge. **MIGHT**. But they would have to believe that it had a defect previously.

  • HT4191 iPhone Local Storage "My iPhone" - How do you create this folder for use by the Notes app on a iPhone or iPad?  If I want to keep some notes only on my device and not in a cloud environment associated with an e-mail account.

    iPhone Local Storage "My iPhone" - How do you create this folder for use by the Notes app on a iPhone or iPad?  If I want to keep some notes only on my device and not in a cloud environment associated with an e-mail account.  I've seen reference to the  "My iPhone" local storage put no mention on how you create this folder or access this folder within the Notes app.  I realize storing information in a local storage like this provides no syncing between other iDevices but that is exactly what I'm looking for.  I'm running iOS7.0.4 on a iPhone 5S, and a iPad Air.  Any help would be greatly appreciated.

    If you go to Settings > Notes > Default Account you will see "On My iPhone" as the default account and the only choice if you have not enabled syncing Notes in Settings >iCloud or Settings > Mail, Contacts, Calendars. If you have enabled syncing you can still select "On My iPhone" as the default account. When you are in the Notes app you won't see any accounts listed if you have not enabled syncing because they are all in the On My iPhone account and that is the only place possible. It is not a folder that you create.

  • HT1351 My fifth generation nano will no longer sync my address book from my Mac. It gives me an error message that "You have no contacts" and asks me if I want to create some.  My address book is full of contacts. Sync works for everything else.

    My 5th generation nano will no longer Sync my address book from my Mac.  It gives me a message that I have no "Contacts", and asks if I want to create some.  My address book is full of contacts, but for some reason it thinks it is empty.  All the other sync operations work fine including iCal.  My Mac is running OS X 10.7.4.

    It sounds like all of your contacts on your Mac running Lion are actually stored up in iCloud. 
    Several users running Mac OS X Lion and now ML (and iCloud) have no longer been able to "sync" contacts over to their older iPods models.
    A work around is to export all of your contacts out of Address Book as vCards and them copy these vCards into your iPod's Contacts folder.  You'll need to have the Enable Disk Use option ticked from under the iPod's Summary tab in order to browse out to the iPod's Contacts folder via the Finder.
    Using your iPod as a storage drive
    That's the only "solution" I have been able to use to get contacts to sync/appear on my 5G iPod Video.
    B-rock

  • IPod classic displays 'No music' after sync, HDD problem? Geschiedenis • Verwijder  So recently I synced my iPod Classic 160 GB like I did so many times and when I wanted to play some music afterwards it couldn't find any files on the iPod anymore. H

    So recently I synced my iPod Classic 160 GB like I did so many times and when I wanted to play some music afterwards it couldn’t find any files on the iPod anymore. However when you look in the settings it displays that ~roughly 90 GB free space is available. Seen the fact that I had about 60 gigs of music this doesn’t seem like a coincidence and I think my music is still somewhere on the ipod but the HDD isn’t recognizing it anymore.
    I’ve tried resetting it, and resetting it to factory settings, which didn’t work. When connected to a desktop it won’t be recognized by iTunes, it displays an error message that the iPod cannot be read and that I have to reset it to factory settings.
    I’ve spent some time researching this problem yesterday and I ran into a myriad of vaguely similar problems didn’t really offer any help. Currently I’m thinking that formatting the iPod might work, and restoring the software afterwards. However this is a rather bold strategy so I’d like to consult you here first.
    Thanks in advance!

    Hi turingtest2,
    Thank you for the info, with formatting my iPod I managed to connect it to iTunes again.
    However..in the page you linked to there is a section about how transferring large amounts of data can dump your library. That seems to be the problem in this case. It won't even allow me to transfer more than 2 gigabytes of music per sync, if I go higher it will dump everything again. Having over >60 GB of music in my library, this is disastrous to say the least.
    Do you think that there is any other solution besides the method you mentioned involving Smart Playlists?

  • Hello. I have an ipod classic generation 4 and I want to add some more music to it however my computer and itunes do not recognice it when I try to connect it. Is it incompatible with windows 7 or itunes?

    Hello. I have an ipod classic generation 4 and I want to add some more music to it however my computer and itunes do not recognise the device when I try to connect it. Is it incompatible with windows 7 or current version of itunes?

    It should still be compatible.  Have you tried plugging it into a different USB port using a different cable to see if that helps?  Perhaps, try it another computer as well to see if it's recognized there.
    Otherwise, start by checking to see if it's even recognized in Device Manager.  See this article for details.
    http://support.apple.com/kb/ts1496
    B-rock

  • I just bought a new Mac and I want to transfer some data (not all) from my old Mac.  Basically, I want to move my itunes library, iphoto library, and a few documents.  I have not even turned on my new Mac yet.  Is the best way by an external hard drive?

    I just bought a new Mac and I want to transfer some data (not all) from my old Mac.  Basically, I want to move my itunes library, iphoto library, and a few documents.  I have not even turned on my new Mac yet.  Is the best way by an external hard drive?

    If both have Firewire ports then you can accomplish your goal by using Target Disk Mode. If this is not possible then you can do using an external drive or if you have a local network connect both to your network and use filesharing between the two computers.
    File Sharing on Macs
    Mac 101- File Sharing

  • Just bought a nano and want to download some of my iTunes library. The "Music" button shows almost all my selections but some albums are missing, yet thos albums appear on the nano icon on my desktop but none of the others. What's happening?

    Just bought a nano and want to download some of my iTunes library. The "Music" button shows almost all my selections but some albums are missing, yet ONLY those albums appear on the nano icon on my desktop after being dragged there but none of the others. What's happening?
    I've read some of the post here that I thought might help but they refer to titles (Music) and triangles in the "Devices" window which are nowhere to be seen when I open the "Devices" window.
    I have iTunes 11.0.3 and Mac OS 10.6.8. Does this make a difference?

    I should mention that, for the first problem, I do make sure that my new tracks are stored in the folder where I told iTunes that my music is in. Also, when I say the cataloging of my library stops short of cataloging all my songs, I have tried leaving the computer unattended for days (my computer's sleep mode is disabled). It always stops before cataloging all of my music regardless of whether I am doing something else while iTunes is cataloging, or if I just let iTunes be the only program that's open during the cataloging process.

  • I have downloaded infinity blade 3 and then deleted it because i wanted to install some other apps. but now i am trying to install the game again but its saying error 0xE8000004. I have about 6.5 GB space on my iPad. what should i do..

    I have downloaded infinity blade 3 and then deleted it because i wanted to install some other apps. but now i am trying to install the game again but its saying error 0xE8000004. I have about 6.5 GB space on my iPad. what should i do..

    These might help
    http://support.apple.com/kb/TS3221
    http://support.apple.com/kb/TS3694

Maybe you are looking for

  • Call transaction in new session with the value at hotspot

    Hi all, As a hotspot functionality I would like to open a new transaction in a new session with the value at hotspot. For that reason, I am using the FM ABAP4_CALL_TRANSACTION with the option STARTING NEW TASK. This FM is not working because Paramete

  • Multibyte Character Issue

    Hi, We just migrated our technology platform on one of the six servers yesterday on production d/b as follows : OAS Server - Linux Patch Applied (2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux) D/B Server - From Orac

  • Facetime video doesn't work

    Hello, When I make FaceTime in my Mac the call starts and 30 seconds later the video stops and only sound works, and the video will never come back? Any help?

  • BOM Explosion with WBS Element

    Hii I have a requirement where in I have to display explosion of BOM through my report. The problem is that it could be a Project BOM also, so WBS Element is also required. Anyone knows any FM or BADI with WBS Element also as its import parameter? Pl

  • Skill set requirements for SAP E-Sourcing and CLM

    Dear All, We are about to implement SAP-E-Sourcing 5.1 and CLM 2.0  (on Netweaver Platform). What are the skill sets required to support and do enhancement and customization to this solution?. Thanks in advance. regds velu